/* ==========================================
   Floynex Pay - Terms & Conditions Stylesheet
   ========================================== */

:root {
    --primary-blue: #007BFF;
    --primary-blue-dark: #0047B3;
    --primary-blue-light: #00A2FF;
    --primary-green: #4CAF50;
    --primary-green-light: #7ED321;
    --success: #00C853;
    --bg: #F5F5F5;
    --card: #FFFFFF;
    --text-main: #212121;
    --text-secondary: #757575;
    --border: #E0E0E0;
    
    /* Layout Variables */
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* Global Reset & Body Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page Wrapper */
.page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 100vh;
}

/* Legal Card container */
.legal-card {
    background-color: var(--card);
    max-width: 850px;
    width: 100%;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

/* Header Section */
.legal-header {
    border-bottom: 2px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.legal-header h1 {
    font-size: 2.25rem;
    color: var(--primary-blue-dark);
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-header .last-updated {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Notice Box / Important Callout */
.notice-box {
    background-color: rgba(0, 123, 255, 0.06); /* Soft blue transparency */
    border-left: 4px solid var(--primary-blue);
    padding: 16px 20px;
    border-radius: 4px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 35px;
}

/* Headings (Sections) */
.legal-card h2 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Typography elements */
.legal-card p {
    font-size: 0.975rem;
    color: var(--text-main);
    margin-bottom: 16px;
    text-align: justify;
}

/* Lists */
.legal-card ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-card li {
    font-size: 0.975rem;
    color: var(--text-main);
    margin-bottom: 10px;
    list-style-type: square;
}

/* Styling bold elements within the lists/paragraphs */
.legal-card strong, 
.legal-card b {
    color: var(--primary-blue-dark);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 15px 10px;
    }
    
    .legal-card {
        padding: 24px 20px;
    }

    .legal-header h1 {
        font-size: 1.75rem;
    }
}