/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-content {
    flex: 1;
    width: 100%;
    padding: 40px 0 80px;
}

.site-footer {
    background: rgba(15, 23, 42, 0.9);
    color: rgba(255, 255, 255, 0.85);
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.35);
    margin-top: auto;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-footer__group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.site-footer__notice {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: left;
    line-height: 1.4;
    color: rgba(226, 232, 240, 0.9);
}

.site-footer__notice-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.site-footer__notice-text {
    max-width: 420px;
}

.site-footer__notice-text p {
    margin: 0;
}

.site-footer__notice-text p + p {
    margin-top: 2px;
}

.site-footer__link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-footer__link:hover,
.site-footer__link:focus {
    color: #a5b4fc;
}

.site-footer__copy {
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.85);
}

.site-footer__powered {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.language-switcher {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.language-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    font-size: 0.9rem;
}

.language-option:hover,
.language-option:focus {
    transform: translateY(-1px);
    border-color: #a5b4fc;
    background-color: rgba(99, 102, 241, 0.15);
    color: #ffffff;
}

.language-option.is-active {
    border-color: #a5b4fc;
    background-color: rgba(99, 102, 241, 0.3);
    color: #ffffff;
}

.certificate-body {
    background: linear-gradient(135deg, #4c1d95 0%, #312e81 100%);
}

.certificate-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 80px;
}

.certificate-card {
    max-width: 720px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
    padding: 48px 40px;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.certificate-branding {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    align-items: center;
    gap: 12px;
}

.certificate-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.certificate-powered {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(17, 24, 39, 0.7);
    font-weight: 600;
}

.share-body {
    background: linear-gradient(135deg, #0f172a 0%, #312e81 100%);
}

.share-card {
    max-width: 760px;
    margin: 0 auto;
}

.linkedin-share-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.linkedin-share-form label {
    font-weight: 600;
    color: #1f2937;
}

.linkedin-share-form textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #c7d2fe;
    padding: 14px;
    font-size: 1rem;
    resize: vertical;
    min-height: 140px;
}

.share-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-preview h2 {
    font-size: 1.1rem;
    color: #111827;
}

/* Admin import page */
.nav-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
}

.admin-card {
    margin-top: 32px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(99, 102, 241, 0.12);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.admin-card__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.admin-card__header h1 {
    font-size: 1.9rem;
    color: #1f2937;
    margin-bottom: 8px;
}

.admin-card__header p {
    color: #4b5563;
    line-height: 1.5;
    max-width: 740px;
}

.admin-upload {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-input-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.file-input-label {
    background: rgba(99, 102, 241, 0.08);
    border: 1px dashed rgba(99, 102, 241, 0.5);
    border-radius: 12px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #4338ca;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.file-input-label:hover,
.file-input-label:focus-within {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.8);
}

.file-input-label input[type="file"] {
    display: none;
}

.file-hint {
    font-size: 0.9rem;
    color: #6b7280;
}

.selected-file-indicator {
    font-size: 0.95rem;
    color: #4338ca;
    font-weight: 500;
}

.admin-feedback {
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 500;
    display: none;
}

.admin-feedback.feedback-error {
    display: block;
    background: rgba(248, 113, 113, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(248, 113, 113, 0.4);
}

.admin-feedback.feedback-success {
    display: block;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.admin-feedback.feedback-info {
    display: block;
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.admin-preview {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preview-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.summary-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
}

.summary-value.ready {
    color: #15803d;
}

.summary-value.warning {
    color: #b45309;
}

.summary-value.error {
    color: #b91c1c;
}

.summary-label {
    font-size: 0.9rem;
    color: #6b7280;
}

.table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.admin-table thead {
    background: rgba(79, 70, 229, 0.08);
}

.admin-table th,
.admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    color: #1f2937;
    font-size: 0.95rem;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr.row-ready {
    background: rgba(34, 197, 94, 0.08);
}

.admin-table tbody tr.row-existing {
    background: rgba(234, 179, 8, 0.12);
}

.admin-table tbody tr.row-error {
    background: rgba(248, 113, 113, 0.12);
}

.status-cell.status-success {
    color: #15803d;
    font-weight: 600;
}

.status-cell.status-warning {
    color: #92400e;
    font-weight: 600;
}

.status-cell.status-error {
    color: #b91c1c;
    font-weight: 600;
}

.preview-actions {
    display: flex;
    justify-content: flex-end;
}

.preview-actions .btn-primary.loading {
    opacity: 0.7;
    pointer-events: none;
}

.admin-results {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    padding-top: 20px;
}

.results-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.results-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.result-item {
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(226, 232, 240, 0.5);
    color: #1f2937;
}

.result-item.result-created {
    border: 1px solid rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.12);
}

.result-item.result-warning {
    border: 1px solid rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.12);
}

.result-item.result-error {
    border: 1px solid rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.12);
}

.result-item.result-exists,
.result-item.result-skipped {
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(148, 163, 184, 0.12);
}

@media (max-width: 768px) {
    .admin-card {
        padding: 24px;
    }

    .file-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .preview-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.share-preview-card {
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.share-preview-text {
    margin-bottom: 12px;
    color: #1f2937;
    line-height: 1.5;
}

.share-preview-link {
    color: #4338ca;
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.share-preview-link:hover,
.share-preview-link:focus {
    text-decoration: underline;
}

.certificate-heading h1 {
    font-size: 2rem;
    margin: 16px 0 12px;
    color: #1f2937;
}

.certificate-heading p {
    color: #4b5563;
    line-height: 1.6;
}

.certificate-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.12);
    color: #4338ca;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.certificate-message {
    margin: 28px auto 32px;
    max-width: 540px;
    color: #1f2937;
    font-size: 1.05rem;
}

.certificate-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    text-align: left;
    margin: 0 auto;
    max-width: 560px;
}

.certificate-metrics .metric {
    background: rgba(99, 102, 241, 0.08);
    border-radius: 16px;
    padding: 18px;
}

.certificate-metrics dt {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4f46e5;
    margin-bottom: 6px;
}

.certificate-metrics dd {
    font-size: 1.3rem;
    font-weight: 600;
    color: #111827;
}

.legal-card {
    margin-top: 24px;
    padding: 18px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 10px;
}

.legal-card h4 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #0f172a;
}

.legal-card p {
    margin-bottom: 12px;
    color: #1e293b;
    line-height: 1.55;
}

.legal-card .legal-list {
    margin: 16px 0;
    padding-left: 20px;
}

.legal-card .legal-list li {
    margin-bottom: 14px;
}

.legal-card .legal-list li strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
}

.flag {
    display: inline-block;
    width: 20px;
    height: 14px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.5);
    position: relative;
    background-size: cover;
}

.flag-fr {
    background: linear-gradient(90deg, #0055a4 0%, #0055a4 33%, #ffffff 33%, #ffffff 66%, #ef4135 66%, #ef4135 100%);
}

.flag-en {
    background: repeating-linear-gradient(180deg, #b22234 0%, #b22234 12.5%, #ffffff 12.5%, #ffffff 25%);
}

.flag-en::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 55%;
    background-color: #3c3b6e;
}

.flag-en::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 38%;
    height: 53%;
    background-image: radial-gradient(#ffffff 18%, transparent 19%);
    background-size: 6px 6px;
    background-position: 0 0;
}

.flag-es {
    background: linear-gradient(180deg, #c60b1e 0%, #c60b1e 25%, #ffc400 25%, #ffc400 75%, #c60b1e 75%, #c60b1e 100%);
}

@media (max-width: 640px) {
    .site-footer__inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .site-footer__notice {
        flex-direction: column;
        text-align: center;
    }

    .site-footer__notice-text {
        max-width: none;
    }
}

/* Login page styles */
.login-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 100px auto;
    text-align: center;
}

.login-card h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: 600;
}

.login-card p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

.login-logo {
    width: 240px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
}

.login-card .powered-by {
    display: block;
    margin-bottom: 16px;
    text-align: center;
}

/* Google Sign-in button */
.google-btn {
    width: 100%;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #dadce0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #3c4043;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.google-btn:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.google-btn svg {
    width: 20px;
    height: 20px;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
    color: #666;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 15px;
    position: relative;
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.readonly-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: #f1f3ff;
    border: 1px solid #d7dcff;
    font-size: 14px;
    color: #333;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
    border: 0px;
}

.survey-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.survey-form .form-group,
.survey-form .form-group-full,
.survey-form .survey-section,
.survey-form .form-actions {
    width: 100%;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.form-actions .btn-primary {
    width: auto;
    min-width: 140px;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.form-actions .btn-secondary {
    width: auto;
    min-width: 140px;
    text-align: center;
}

.form-actions .btn-form-cancel {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.section-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 8px;
}

.section-list li {
    padding: 10px 14px;
    background: #f5f7ff;
    border-radius: 8px;
    border: 1px solid #e0e7ff;
    font-size: 14px;
}

/* Buttons */
.btn-disabled {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #e2e8f0;
    color: #475569;
    font-size: 16px;
    font-weight: 500;
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-disabled:hover {
    background: #e2e8f0;
}

.btn-primary {
    width: 100%;
    padding: 12px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-bottom: 15px;
}

.btn-primary[disabled],
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary:hover {
    background: #5a6fd8;
}

.btn-primary.btn-disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.btn-primary.btn-disabled:hover {
    background: #94a3b8;
}

.status-alert {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
    border: 1px solid transparent;
}

.status-alert--warning {
    background: rgba(250, 204, 21, 0.18);
    border-color: rgba(234, 179, 8, 0.4);
    color: #854d0e;
}

.status-alert--pulse {
    animation: statusAlertPulse 0.45s ease;
}

@keyframes statusAlertPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(234, 179, 8, 0.0);
    }
    50% {
        transform: scale(1.01);
        box-shadow: 0 8px 20px rgba(250, 204, 21, 0.35);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(234, 179, 8, 0.0);
    }
}

.survey-alert {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid #f5b3ad;
    background: #fff2f0;
    color: #a62116;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(166, 33, 22, 0.15);
    flex-wrap: wrap;
}

.survey-alert__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #d93025;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    flex: 0 0 auto;
}

.survey-alert__content {
    flex: 1 1 240px;
    min-width: 200px;
}

.survey-alert__content strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
}

.survey-alert__content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.survey-alert__action {
    flex: 0 0 auto;
    white-space: nowrap;
}

.btn-secondary {
    padding: 8px 16px;
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Links */
.signup-link {
    color: #666;
    font-size: 14px;
}

.signup-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Error message */
.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 14px;
    border: 1px solid #fcc;
}

.info-message {
    background: #eef2ff;
    color: #3730a3;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    margin-bottom: 12px;
    display: inline-block;
    font-size: 14px;
    border: 1px solid #c7d2fe;
}

.limit-message {
    margin-top: 10px;
    font-size: 14px;
    color: #b45309;
    display: none;
}

.limit-message.visible {
    display: block;
}

.success-message {
    background: #ecfdf5;
    color: #047857;
    padding: 12px;
    border-radius: 6px;
    margin: 20px 0;
    font-size: 14px;
    border: 1px solid #bcf0da;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    align-items: center;
}

.button-row .btn-primary,
.button-row .btn-secondary {
    width: auto;
    min-width: 180px;
    margin-bottom: 0;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #0a66c2;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-linkedin:hover,
.btn-linkedin:focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(10, 102, 194, 0.45);
    color: #ffffff;
}

.share-row {
    margin-bottom: 24px;
}

.report-viewer {
    margin-top: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.report-viewer .report-frame,
.report-frame {
    width: 100%;
    min-height: 640px;
    border: 0;
    display: block;
}

.likert-slider {
    padding: 10px 0;
}

.likert-slider .slider-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.likert-slider input[type="range"] {
    flex: 1 1 auto;
    min-width: 220px;
}

.likert-slider .slider-value {
    min-width: 48px;
    text-align: center;
    font-weight: 600;
    color: #1f2937;
}

.likert-slider .slider-captions {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #4b5563;
    margin-top: 8px;
}

.likert-slider .na-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    color: #374151;
}

.likert-slider.is-na input[type="range"] {
    opacity: 0.35;
}

/* Dashboard styles */
.navbar {
    background: white;
    border-radius: 12px;
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.nav-logo {
    width: 120px;
    height: 44px;
    object-fit: contain;
}

.nav-brand h2 {
    color: #333;
    font-weight: 600;
    margin: 0;
}

.powered-by {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    color: #666;
    font-size: 14px;
}

.dashboard {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.welcome-card,
.user-info-card,
.actions-card,
.status-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 10px;
}

.welcome-card h1 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 600;
}

.welcome-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.user-info-card h3,
.actions-card h3,
.status-card h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.info-grid {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item label {
    font-weight: 500;
    color: #666;
}

.info-item span {
    color: #333;
    font-family: monospace;
    font-size: 14px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
}

.status-dot.active {
    background: #4caf50;
}

.status-card p {
    color: #666;
    font-size: 14px;
}

.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.session-item {
    background: #f8f9ff;
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.session-item h4 {
    margin: 0;
    color: #3949ab;
    font-size: 1rem;
}

.status-badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-awaiting_consent {
    background: #fff8e1;
    color: #ff9800;
}

.status-active {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-completed {
    background: #e3f2fd;
    color: #1565c0;
}

.status-expired {
    background: #ffebee;
    color: #c62828;
}

.session-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 6px;
    font-size: 13px;
    color: #5f6368;
}

.session-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.empty-state {
    color: #5f6368;
    font-size: 14px;
    text-align: center;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #444;
}

.consent-checkbox input[type="checkbox"] {
    margin-top: 4px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    background: #f5f7ff;
    border-radius: 10px;
    padding: 16px 20px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #3949ab;
}

.stat-item strong {
    font-size: 1.4rem;
    color: #1a237e;
}

.stat-item span {
    font-size: 0.85rem;
    color: #5f6368;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.section-complete-alert {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #f1f8e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.section-complete-alert__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2e7d32;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(46, 125, 50, 0.2);
}

.section-card {
    background: #f7f9ff;
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-card--locked:not(.section-card--demo) {
    border-color: #c8e6c9;
    background: #f6fbf4;
}

.section-card h4 {
    margin: 0;
    color: #283593;
    font-size: 1rem;
}

.section-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #5f6368;
    text-align: justify;
}

.section-card .btn-secondary[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.section-card__lock-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2e7d32;
}

.section-card__lock-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2e7d32;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(46, 125, 50, 0.2);
}

.section-card--demo {
    background: #fff8e1;
    border-style: dashed;
    border-color: #f4b400;
}

.section-card__demo-message {
    color: #b05a00;
}

.section-completed {
    border-color: #c8e6c9;
    background: #f1f8e9;
}

.workflow-list {
    margin: 20px 0 0 18px;
    color: #444;
    line-height: 1.6;
}

.workflow-list li {
    margin-bottom: 6px;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.timeline-grid label {
    font-size: 12px;
    text-transform: uppercase;
    color: #5f6368;
    letter-spacing: 0.05em;
}

.timeline-grid span {
    font-size: 14px;
    color: #333;
}

.assessment-section {
    margin-bottom: 20px;
}

.assessment-section h4 {
    margin-bottom: 10px;
    color: #283593;
}

.assessment-section ul {
    list-style: disc;
    margin: 10px 0 0 20px;
    color: #444;
    line-height: 1.5;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
    -webkit-overflow-scrolling: touch;
}

.conversation-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    min-width: 560px;
}

.conversation-table th,
.conversation-table td {
    border: 1px solid #e0e7ff;
    padding: 10px 12px;
    font-size: 14px;
}

.conversation-table thead {
    background: #f5f7ff;
    color: #3949ab;
}

.mode-toggle {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.mode-btn {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #d7dcff;
    background: #f1f3ff;
    color: #283593;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-btn.active,
.mode-btn:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.chat-window {
    background: #f8f9ff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 16px;
    max-height: 420px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e0e7ff;
    box-shadow: 0 1px 2px rgba(102, 126, 234, 0.08);
}

.chat-message p {
    white-space: pre-wrap;
}

.chat-message-user {
    align-self: flex-end;
    background: #e8f0ff;
    border-color: #c5d6ff;
}

.chat-message-assistant {
    align-self: flex-start;
}

.chat-meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 6px;
    color: #5f6368;
}

.chat-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.chat-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d7dcff;
    padding: 12px 16px;
    font-size: 14px;
    resize: vertical;
}

.training-status {
    margin-bottom: 20px;
}

.training-status-header {
    position: sticky;
    top: 20px;
    z-index: 150;
    margin: 0 0 24px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(208, 214, 255, 0.7);
    box-shadow: 0 12px 28px rgba(40, 53, 147, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.training-status-header .stats-container {
    align-items: center;
}

.training-status-header .stat-actions {
    margin-left: auto;
}

@media (max-width: 768px) {
    .training-status-header {
        top: 10px;
        margin-bottom: 16px;
    }

    .training-status-header.is-compact {
        padding: 12px 14px;
        border-radius: 14px;
        box-shadow: 0 8px 18px rgba(40, 53, 147, 0.16);
    }

    .training-status-header.is-compact h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .training-status-header.is-compact .stats-container {
        gap: 10px;
    }

    .training-status-header.is-compact .stat-item {
        padding: 10px 12px;
        min-width: 140px;
        gap: 4px;
    }

    .training-status-header.is-compact .stat-item strong {
        font-size: 1.05rem;
    }

    .training-status-header.is-compact .stat-item span {
        font-size: 0.75rem;
    }

    .training-status-header.is-compact .stat-actions {
        width: 100%;
        margin-top: 8px;
    }

    .training-status-header.is-compact .stat-actions .btn-primary {
        width: 100%;
        min-width: 0;
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .chatbot-page .training-status-header .stat-item--status {
        display: none;
    }
}

.stat-actions {
    margin-top: 16px;
}

.stat-actions form {
    display: inline-block;
}

.stat-actions .btn-primary {
    min-width: 160px;
}

.secondary-text {
    color: #5f6368;
    margin-bottom: 1rem;
}

.report-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1rem;
}

.report-status-row label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #5f6368;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.report-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    text-transform: capitalize;
}

.report-status.completed {
    background: #e3f6ed;
    color: #1b5e20;
}

.report-status.failed {
    background: #fdecea;
    color: #b71c1c;
}

.report-status.processing,
.report-status.queued {
    background: #e8f0fe;
    color: #1a73e8;
}

.report-status.not_started {
    background: #f5f5f5;
    color: #5f6368;
}

.error-details {
    margin-bottom: 1rem;
}

.error-details summary {
    cursor: pointer;
    font-weight: 600;
    color: #b71c1c;
    margin-bottom: 0.5rem;
}

.error-details pre {
    background: #1f2933;
    color: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 12px;
    line-height: 1.4;
}

.stat-item.updated {
    animation: scoreboardPulse 0.8s ease;
}

@keyframes scoreboardPulse {
    0% {
        box-shadow: 0 0 0 rgba(102, 126, 234, 0.35);
    }
    50% {
        box-shadow: 0 0 16px rgba(102, 126, 234, 0.6);
    }
    100% {
        box-shadow: 0 0 0 rgba(102, 126, 234, 0);
    }
}

.chat-message.streaming p {
    opacity: 0.85;
}


.chat-reasoning {
    margin-top: 10px;
    display: none;
    gap: 8px;
    flex-wrap: wrap;
}

.chat-reasoning.is-visible {
    display: inline-flex;
}

.reasoning-tooltip {
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #3949ab;
    padding: 6px 10px;
    background: #eef2ff;
    border: 1px solid #c5d6ff;
    border-radius: 999px;
}

.chat-files {
    font-size: 12px;
    background: #f9fbff;
    border: 1px dashed #c5d6ff;
    border-radius: 8px;
    padding: 8px 10px;
    margin-top: 8px;
    display: none;
}

.chat-files.is-visible {
    display: inline-flex;
}

.chat-files-btn {
    border: none;
    background: #eef2ff;
    color: #3949ab;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.chat-files-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.chat-files ul {
    margin: 6px 0 0 16px;
    padding: 0;
}

.chat-files li {
    margin-bottom: 4px;
}

.reasoning-tooltip {
    position: relative;
}

.reasoning-tooltip:hover::after {
    content: attr(data-fulltext);
    position: absolute;
    top: 104%;
    left: 0;
    z-index: 30;
    width: 380px;
    max-width: min(90vw, 480px);
    background: #eef2ff;
    border: 1px solid #c5d6ff;
    border-radius: 10px;
    padding: 14px;
    color: #1f2a6d;
    box-shadow: 0 10px 24px rgba(102, 126, 234, 0.28);
    white-space: pre-wrap;
    line-height: 1.6;
}

.reasoning-tooltip:hover::before {
    content: '';
    position: absolute;
    top: 95%;
    left: 18px;
    border-width: 8px;
    border-style: solid;
    border-color: #c5d6ff transparent transparent transparent;
}

.inline-thinking {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.inline-thinking .spinner {
    width: 14px;
    height: 14px;
    border-width: 2px;
}

.thinking-fact {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f5f7ff;
    border-left: 3px solid #667eea;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #1f2a6d;
}

/* Onboarding flow */
.onboarding-body {
    margin: 0;
    min-height: 100vh;
}

.onboarding-main {
    display: flex;
    justify-content: center;
    padding: 2rem 1.5rem 3rem;
}

.onboarding-container {
    width: 100%;
    max-width: 1080px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(33, 55, 115, 0.12);
    padding: 2.5rem 3rem 3rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.onboarding-navbar {
    margin-bottom: 2rem;
}

.onboarding-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(79, 109, 223, 0.12), rgba(56, 203, 155, 0.12));
    border-radius: 22px;
    padding: 2.2rem;
    margin-bottom: 2.5rem;
}

.onboarding-hero h1 {
    font-size: 2rem;
    line-height: 2.6rem;
    margin-bottom: 0.75rem;
    color: #1f2a56;
}

.onboarding-hero p {
    font-size: 1.05rem;
    color: #4a5173;
    margin: 0;
}

.onboarding-hero-visual {
    display: flex;
    justify-content: center;
}

.onboarding-hero-visual img,
.onboarding-hero-visual svg {
    max-width: 320px;
    width: 100%;
    height: auto;
}

.onboarding-deck {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.onboarding-progress {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: space-between;
}

.onboarding-progress p {
    font-size: 0.95rem;
    margin: 0;
    color: #4a5173;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e8f4;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 12.5%;
    background: linear-gradient(135deg, #4f6ddf, #38cb9b);
    border-radius: inherit;
    transition: width 0.4s ease;
}

.onboarding-cards {
    position: relative;
    min-height: 320px;
    transition: height 0.35s ease;
}

.onboarding-card {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(100px, 220px) 1fr;
    gap: 2rem;
    align-items: center;
    background: #f8faff;
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 22px 60px rgba(37, 50, 94, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.onboarding-card.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.onboarding-card-copy h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: #1f2a56;
}

.onboarding-card-copy p {
    font-size: 1.05rem;
    line-height: 1.6rem;
    color: #4a5173;
    margin: 0;
}

.onboarding-illustration {
    width: 100%;
    max-width: 220px;
    border-radius: 22px;
    background: #ffffff;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(79, 109, 223, 0.08), 0 12px 30px rgba(20, 35, 90, 0.12);
}

.onboarding-illustration svg {
    width: 100%;
    height: auto;
}

.onboarding-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.onboarding-controls .btn-secondary,
.onboarding-controls .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    width: auto;
    min-width: 140px;
    margin-bottom: 0;
    border-radius: 10px;
}

.onboarding-controls .btn-secondary {
    border-width: 2px;
}

.onboarding-controls .btn-secondary[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .onboarding-container {
        padding: 2rem 2rem 2.5rem;
        border-radius: 24px;
    }

    .onboarding-hero {
        padding: 1.9rem;
    }
}

@media (max-width: 900px) {
    .onboarding-container {
        padding: 1.75rem 1.5rem 2.25rem;
        border-radius: 22px;
    }

    .onboarding-card {
        position: relative;
        grid-template-columns: 1fr;
        text-align: left;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .onboarding-illustration {
        max-width: 200px;
        margin: 0 auto 1.5rem;
    }

    .onboarding-cards {
        min-height: 0;
        height: auto !important;
    }

    .onboarding-card:not(.is-active) {
        display: none;
    }

    .onboarding-card.is-active {
        display: grid;
    }

    .onboarding-progress {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .onboarding-controls {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .onboarding-controls .btn-secondary,
    .onboarding-controls .btn-primary {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .onboarding-hero {
        padding: 1.6rem;
        grid-template-columns: 1fr;
        text-align: left;
    }

    .onboarding-hero h1 {
        font-size: 1.6rem;
        line-height: 2.1rem;
    }

    .onboarding-card {
        padding: 1.75rem;
    }

    .onboarding-card-copy h3 {
        font-size: 1.35rem;
    }

    .onboarding-card-copy p {
        font-size: 1rem;
    }

    .onboarding-controls {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .onboarding-hero-visual {
        order: -1;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .onboarding-main {
        padding: 1.5rem 1rem 2rem;
    }

    .onboarding-container {
        padding: 1.5rem 1.25rem 2rem;
        border-radius: 18px;
    }

    .onboarding-hero h1 {
        font-size: 1.35rem;
        line-height: 1.9rem;
    }

    .onboarding-card {
        padding: 1.5rem;
    }

    .onboarding-card-copy h3 {
        font-size: 1.2rem;
    }

    .onboarding-card-copy p {
        font-size: 0.98rem;
    }
}

.chat-thinking {
    margin-top: 12px;
    display: none;
    align-items: center;
    gap: 10px;
    color: #3949ab;
    font-size: 14px;
}

.chat-thinking.active {
    display: flex;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #d7dcff;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.chat-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.chat-modal.active {
    display: flex;
}

.chat-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 32, 84, 0.45);
}

.chat-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(28, 32, 84, 0.35);
    max-width: min(640px, 92vw);
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalPop 0.25s ease;
}

.chat-modal-content header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #eef2ff;
    border-bottom: 1px solid #d7dcff;
}

.chat-modal-content h3 {
    margin: 0;
    font-size: 1rem;
    color: #243188;
}

.chat-modal-close {
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: #243188;
}

.chat-modal-body {
    padding: 18px 22px;
    overflow-y: auto;
}

.chat-modal-body ul {
    margin: 0;
    padding-left: 18px;
    color: #283593;
}

.chat-modal-body li + li {
    margin-top: 10px;
}

@keyframes modalPop {
    from {
        transform: translateY(12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .login-card {
        margin: 50px auto;
        padding: 30px 20px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .dashboard {
        grid-template-columns: 1fr;
    }
}
.inline-thinking {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.inline-thinking .spinner {
    width: 14px;
    height: 14px;
    border-width: 2px;
}

.choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.choice-group .choice-option {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
}
