/* Definição das Cores e Fontes como Variáveis CSS (Matching Home) */
:root {
    --bg: #111827;
    --card-bg: #1F2937;
    --border: #374151;
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-tertiary: #94a3b8;
    --accent-primary: #7C3AED;
    --accent-secondary: #a78bfa;
    --accent-glow: rgba(139, 92, 246, 0.5);

    --font-poppins: 'Poppins', sans-serif;
    --font-outfit: 'Outfit', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-poppins);
    background-color: var(--bg);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-outfit);
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Utility Classes */
.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: 1400px;
    /* Standard Home width */
    margin: 0 auto;
    padding: 0 60px;
}

.section-padding {
    padding: 80px 0;
}

/* Header styles are mostly handled by /assets/css/header.css */
/* We just ensure no conflict */

/* HERO SECTION */
.hero {
    padding: 160px 0 80px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Background Glow for Hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient expands uniformly to edges */
    background: radial-gradient(ellipse at top, var(--accent-primary) 0%, rgba(17, 24, 39, 0) 70%);
    opacity: 0.25;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero>.container {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -1px;
    line-height: 1.2;
}

/* Search Box Styled as Home Input/Card */
.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgba(31, 41, 55, 0.6);
    /* Semi-transparent */
    border: 1px solid var(--border);
    border-radius: 9999px;
    /* Pill */
    padding: 8px 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.search-box:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.search-box svg {
    color: var(--text-secondary);
    margin-right: 12px;
}

.search-box input {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
    font-family: var(--font-poppins);
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

/* CATEGORIES GRID */
.categories h2,
.faq h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
}

/* Flexbox implementation for centered wrapping */
.topics-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    width: 220px;
    flex-grow: 0;
    flex-shrink: 0;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    background: rgba(30, 41, 59, 0.6);
    box-shadow: 0 20px 40px -15px rgba(124, 58, 237, 0.3);
}

.card .icon {
    font-size: 48px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ SECTION (Redesigned to match Home) */
.faq {
    background-color: var(--bg);
    /* Ensure seamless bg */
}

/* Constrain FAQ width specifically */
.faq .container {
    max-width: 900px;
    /* Narrower for readability */
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg);
    /* Base */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    /* Subtle border */
    transition: all 0.3s ease;
}

/* Glass effect for FAQ items on hover or standard if preferred */
.faq-item:hover,
.faq-item.active {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: var(--accent-primary);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 32px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-outfit);
}

.faq-question .chevron {
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    font-size: 20px;
    /* Icon size */
}

.faq-item.active .chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(0, 0, 0, 0.2);
    /* Keep bg here or on inner? Inner is safer for content match. Let's keep bg here for continuity. */
}



/* Inner wrapper for padding and border */
.faq-content {
    padding: 32px 40px 40px 40px;
    border-top: 1px solid var(--border);
}

.faq-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

/* Rich Text Formatting (Notion Support) */
.faq-content h1,
.faq-content h2,
.faq-content h3,
.faq-content h4 {
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.faq-content h1 {
    font-size: 24px;
}

.faq-content h2 {
    font-size: 20px;
}

.faq-content h3 {
    font-size: 18px;
}

.faq-content h4 {
    font-size: 16px;
}

.faq-content ul,
.faq-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
    color: var(--text-secondary);
}

.faq-content ul {
    list-style-type: disc;
}

.faq-content ol {
    list-style-type: decimal;
}

.faq-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.faq-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.faq-content em {
    font-style: italic;
    color: var(--text-tertiary);
}

.faq-content u {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.faq-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}

.faq-content blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 16px;
    margin-left: 0;
    margin-bottom: 16px;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Code blocks if any */
.faq-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    color: var(--accent-secondary);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .categories h2,
    .faq h2 {
        font-size: 28px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
    /* Blends with modal */
    margin: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
    border: 2px solid transparent;
    /* Creates padding effect */
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
    border: 2px solid transparent;
    background-clip: content-box;
}

/* Responsiveness */
@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }

    /* Show mobile elements, hide desktop elements */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    /* Fullscreen Modal on Mobile */
    .modal-content {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        border-radius: 0 !important;
        padding: 20px;
        border: none;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .btn-text-full {
        display: none !important;
    }

    .btn-text-short {
        display: inline !important;
    }

    /* Keep title visible but larger font */
    .header-title-center {
        font-size: 18px;
        /* Increased to 18px */
    }

    /* Compact button */
    .btn-outline {
        padding: 8px 16px;
        font-size: 14px;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .search-box {
        padding: 0 24px;
        /* More breathing room on sides */
    }

    .grid {
        grid-template-columns: 1fr;
        /* Stack cards */
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ================================================
   FEEDBACK FORM - Premium Design
   ================================================ */

/* Section Container */
.feedback-section {
    max-width: 800px;
    /* Slightly wider for better spacing */
    margin: 0 auto;
}

/* Header */
.feedback-header {
    text-align: center;
    margin-bottom: 56px;
}

.feedback-header h2 {
    font-size: 36px;
    /* Matched to page headers */
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-family: var(--font-outfit);
}

.feedback-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Form Container */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    background: rgba(30, 41, 59, 0.4);
    /* Glass feeling base */
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

/* Form Grid (Name/Email Row) */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .feedback-form {
        padding: 24px;
    }
}

/* Form Field */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    /* or --text-tertiary for subtle */
    margin-left: 4px;
    /* Align with visual input edge */
    letter-spacing: 0.5px;
}

/* Inputs, Textarea, Select */
.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea,
.select-trigger {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-family: var(--font-poppins);
    color: var(--text-primary);
    background-color: rgba(17, 24, 39, 0.6);
    /* Darker inner bg */
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

.form-field input:focus,
.form-field textarea:focus,
.custom-select.open .select-trigger {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
    background-color: rgba(17, 24, 39, 0.8);
    transform: translateY(-1px);
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

/* Inline Field (Checkbox Row) */
.form-field-inline {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: -8px;
    /* Pull closer to fields above */
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-primary);
}

.toggle-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-primary);
    cursor: pointer;
    border-radius: 4px;
}

.hint {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.8;
}

/* Custom Select */
.custom-select {
    position: relative;
    width: 100%;
}

.select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-secondary);
    /* Default placeholder color */
}

.select-trigger span.selected {
    color: var(--text-primary);
}

.select-trigger .material-icons {
    font-size: 24px;
    transition: transform 0.2s;
    color: var(--text-secondary);
}

.custom-select.open .select-trigger .material-icons {
    transform: rotate(180deg);
}

.select-options {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: #1a202c;
    /* Solid background for dropdown */
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
    overflow: hidden;
    max-height: 280px;
    overflow-y: auto;
}

.custom-select.open .select-options {
    display: block;
    animation: fadeIn 0.15s ease-out;
}

.option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 15px;
    transition: background-color 0.15s, color 0.15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.option:last-child {
    border-bottom: none;
}

.option:hover {
    background-color: rgba(124, 58, 237, 0.1);
    color: var(--text-primary);
}

.option .material-icons {
    font-size: 20px;
    color: var(--accent-secondary);
}

/* Selected Option Content Alignment */
.option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.option-content .material-icons {
    font-size: 20px;
    color: var(--accent-primary);
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.file-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-secondary);
    background-color: rgba(17, 24, 39, 0.6);
    border: 1px dashed var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload-btn:hover {
    border-color: var(--accent-primary);
    background-color: rgba(124, 58, 237, 0.05);
    color: var(--text-primary);
}

.file-upload-btn .material-icons {
    font-size: 20px;
    transform: rotate(-45deg);
}

/* File Preview */
.file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-top: 12px;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    color: #10B981;
    font-size: 14px;
}

.file-preview .material-icons.success {
    color: #10B981;
}

.file-preview #fileName {
    flex: 1;
    font-weight: 500;
}

.remove-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.remove-btn:hover {
    background-color: rgba(239, 68, 68, 0.2);
}

.remove-btn .material-icons {
    font-size: 18px;
    color: #EF4444;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}

/* Submit Button */
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    /* Larger pill */
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-poppins);
    color: white;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn.secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    box-shadow: none;
}

.submit-btn.secondary:hover {
    border-color: var(--primary);
    background-color: rgba(124, 58, 237, 0.1);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.3s ease-out;
}

.success-message .success-icon {
    font-size: 64px;
    color: #10B981;
    margin-bottom: 16px;
}

.success-message h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.success-message p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Disabled State */
.form-field.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit Button - Sized and Centered */
.modal-footer {
    display: flex;
    justify-content: flex-start;
    /* Align left as per typical form, or center? User said "not stretched". Let's center it for a cleaner look or match form alignment. Usually left aligned with form inputs or centered. Let's try centered for the "small button" request to look balanced. */
    justify-content: center;
    margin-top: 32px;
}

.btn-submit {
    width: auto;
    min-width: 200px;
    /* Reasonable minimum width */
    padding: 12px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    /* Rounded pill shape */
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(124, 58, 237, 0.2);
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(124, 58, 237, 0.3);
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Select Styles - Restored & Fixed */
.custom-select {
    position: relative;
    user-select: none;
    width: 100%;
}

.select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1F2937;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-main);
}

.select-trigger:hover {
    border-color: var(--primary);
}

.custom-select.open .select-trigger {
    border-color: var(--primary);
}

.select-options {
    position: absolute;
    display: none;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: #1F2937;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-height: 250px;
    overflow-y: auto;
    padding: 8px 0;
}

.custom-select.open .select-options {
    display: block;
    animation: fadeIn 0.1s ease-out;
}

.option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: background 0.2s;
}

.option:hover {
    background: #2D3748;
    color: var(--text-main);
}

.option .material-icons {
    font-size: 20px;
    color: var(--text-secondary);
}

.option:hover .material-icons {
    color: var(--primary);
}

/* Checkbox Alignment Fixes */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    margin-top: 8px;
    padding-left: 4px;
    /* Align slightly with labels */
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--text-main);
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.hint-text {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Form Layout */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    /* Reduced to bring checkbox closer */
}

.input-group {
    margin-bottom: 24px;
    /* Standard spacing for all fields */
}

.form-row .input-group {
    flex: 1;
}

/* Input Styling with Icons */
.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    /* Darker background like login */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s;
}

.input-wrapper:hover {
    border-color: var(--primary);
    /* Hover Effect */
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.input-icon {
    padding-left: 12px;
    color: var(--text-secondary);
    font-size: 20px;
}

.input-group input[type="text"],
.input-group input[type="email"] {
    width: 100%;
    padding: 14px 12px;
    /* Adjusted padding */
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 14px;
    margin-top: 0;
    /* Reset */
    outline: none;
}

.input-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* File Upload Button Style */
.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    font-weight: 500;
}

.file-upload-label:hover {
    background: rgba(124, 58, 237, 0.05);
    border-color: var(--primary);
}

.file-upload-label .material-icons {
    font-size: 20px;
}

/* Disabled state for anonymous */
.input-group.disabled input {
    opacity: 0.5;
    pointer-events: none;
    background: #1e293b;
}

.input-group.disabled label {
    opacity: 0.5;
}

/* File Preview */
.file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    margin-top: 8px;
    color: #4ade80;
}

.file-preview .material-icons {
    color: #4ade80;
}

.file-preview #fileName {
    flex: 1;
    font-weight: 500;
}

.remove-file-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.remove-file-btn:hover {
    background: rgba(239, 68, 68, 0.2);
}

.remove-file-btn .material-icons {
    color: #ef4444;
    font-size: 20px;
}

/* Success Modal */
.success-modal {
    text-align: center;
    max-width: 400px;
}

.success-icon {
    margin-bottom: 16px;
}

.success-icon .material-icons {
    font-size: 64px;
    color: #4ade80;
}

.success-modal h3 {
    color: var(--text-main);
    font-size: 22px;
    margin-bottom: 12px;
}

.success-modal p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}


.checkbox-label .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.hint-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.input-group.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Header Navigation - Added for consistency */
.header-nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
}

@media (max-width: 900px) {
    .header-nav-center {
        display: none;
    }
}

/* FONT STANDARDIZATION */
/* Overriding body font to match Home */
body {
    font-family: 'Poppins', sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

/* Headings should use Outfit */
h1,
h2,
h3,
h4,
h5,
h6,
.header-title-center span,
.logo-link {
    font-family: 'Outfit', sans-serif !important;
}

/* Nav links specific font */
.nav-link {
    font-family: 'Poppins', sans-serif !important;
}

/* HEADER RESET (To match Tailwind Preflight) */
.header,
.header * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.header {
    padding: 16px 0 !important;
    /* Restore specific padding */
}

.header-container {
    padding: 0 40px !important;
    /* Restore specific padding */
}

.btn-outline {
    padding: 8px 16px !important;
    /* Restore specific padding */
}

/* Force Hex Colors to match Home exactly */
:root {
    --bg-color: #111827 !important;
    --border-color: #374151 !important;
    --text-main: #FFFFFF !important;
    --text-secondary: #9CA3AF !important;
}

/* FORCE HEADER HEIGHT CONSISTENCY */
.header-container {
    height: 48px !important;
    padding: 0 40px !important;
    display: flex !important;
    align-items: center !important;
}

.header {
    padding: 16px 0 !important;
}

@media (max-width: 600px) {
    .header-container {
        padding: 0 20px !important;
    }
}

/* BRANDED SCROLLBAR - SincroApp Violet */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    /* Horizontal scroll support */
}

::-webkit-scrollbar-track {
    background: #111827;
    /* Dark background matching --bg */
}

::-webkit-scrollbar-thumb {
    background: #7C3AED;
    /* Violet Primary */
    border-radius: 4px;
    border: 2px solid #111827;
    /* Border to create padding effect */
}

::-webkit-scrollbar-thumb:hover {
    background: #6D28D9;
    /* Darker Violet Hover */
}

/* Mobile menu toggle styles now handled by main-header.js embedded CSS */