/* === Splash Screens Styles === */

.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.splash-overlay.active {
    opacity: 1;
    visibility: visible;
}

.splash-modal {
    background: var(--surface-container-highest);
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--elevation-5);
    transform: scale(0.8) translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.splash-overlay.active .splash-modal {
    transform: scale(1) translateY(0);
}

.splash-header {
    padding: 20px;
    border-bottom: 1px solid var(--outline-variant);
    display: flex;
    align-items: center;
    gap: 16px;
}

.splash-icon {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: var(--primary-container);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-primary-container);
}

.splash-icon .material-icons {
    font-size: 20px;
}

.splash-title {
    flex: 1;
}

.splash-title h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--on-surface);
    line-height: 1.2;
}

.splash-title p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--on-surface-variant);
}

.splash-content {
    padding: 20px;
    line-height: 1.5;
}

.splash-content h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--on-surface);
    display: flex;
    align-items: center;
    gap: 8px;
}

.splash-content h3 .material-icons {
    font-size: 18px;
    color: var(--primary);
}

.splash-content p {
    margin: 0 0 12px;
    color: var(--on-surface-variant);
    font-size: 14px;
}

.splash-content ul {
    margin: 0 0 12px;
    padding-left: 18px;
    color: var(--on-surface-variant);
    font-size: 14px;
}

.splash-content li {
    margin-bottom: 4px;
}

.splash-section {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--surface-container-low);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.splash-section:last-child {
    margin-bottom: 0;
}

.section-content {
    margin-bottom: 16px;
}

/* Style spécial pour la section de consentement global */
.splash-section.global-consent {
    background: var(--primary-container);
    border-left-color: var(--primary);
    border-width: 4px;
    margin-top: 24px;
}

.splash-actions {
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid var(--outline-variant);
}

.splash-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--surface-container);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.splash-checkbox:hover {
    background: var(--surface-container-high);
}

/* Style spécial pour la checkbox globale */
.global-consent .splash-checkbox {
    background: var(--surface-container-highest);
    border: 2px solid var(--primary);
}

.global-consent .splash-checkbox:hover {
    background: var(--surface-container-highest);
    box-shadow: var(--elevation-1);
}

.splash-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.splash-checkbox label {
    font-size: 14px;
    color: var(--on-surface);
    cursor: pointer;
    flex: 1;
    line-height: 1.4;
}

/* Label spécial pour le consentement global */
.global-consent .splash-checkbox label {
    font-weight: 500;
    color: var(--on-primary-container);
}

.btn-splash {
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 120px;
    justify-content: center;
}

.btn-splash .material-icons {
    font-size: 18px;
}

.btn-splash-primary {
    background: var(--primary);
    color: var(--on-primary-container);
}

.btn-splash-primary:hover:not(:disabled) {
    background: var(--primary-container);
    color: var(--on-primary-container);
    transform: translateY(-1px);
    box-shadow: var(--elevation-2);
}

.btn-splash-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: var(--elevation-1);
}

.btn-splash-primary:disabled {
    background: var(--outline-variant);
    color: var(--on-surface-variant);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsive design */
@media (max-width: 768px) {
    .splash-modal {
        width: 95%;
        max-height: 90vh;
        border-radius: 12px;
    }

    .splash-header {
        padding: 16px;
    }

    .splash-content {
        padding: 16px;
    }

    .splash-actions {
        flex-direction: column;
        gap: 8px;
    }

    .btn-splash {
        width: 100%;
    }
}

/* Animation for content reveal */
.splash-content > * {
    animation: revealContent 0.3s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

.splash-content > *:nth-child(1) { animation-delay: 0.1s; }
.splash-content > *:nth-child(2) { animation-delay: 0.2s; }

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

/* === Cool AI Disclaimer Styles (for rechercheIA page) === */

.ai-disclaimer-cool {
    background: linear-gradient(135deg, var(--primary-container) 0%, var(--surface-container-low) 100%);
    border-left: 4px solid var(--primary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--elevation-2);
}

.ai-header-cool {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--outline-variant);
}

.ai-icon-cool {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: var(--primary);
    color: var(--on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--elevation-2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--elevation-2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: var(--elevation-4);
    }
}

.ai-header-cool h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--on-surface);
    flex: 1;
}

.ai-intro {
    background: var(--surface-container);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary);
}

.ai-intro p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--on-surface);
}

.ai-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.ai-point {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--surface-container);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.ai-point:hover {
    background: var(--surface-container-high);
    transform: translateX(4px);
    box-shadow: var(--elevation-1);
}

.ai-point .material-icons {
    font-size: 28px;
    color: var(--primary);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-container);
    border-radius: 8px;
}

.ai-point.ai-warning .material-icons {
    color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
}

.ai-point.ai-privacy .material-icons {
    color: #2196f3;
    background: rgba(33, 150, 243, 0.1);
}

.ai-point > div {
    flex: 1;
}

.ai-point strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 6px;
}

.ai-point p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--on-surface-variant);
}

.ai-footer-note {
    background: var(--primary-container);
    padding: 16px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    margin-top: 20px;
}

.ai-footer-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--on-primary-container);
}

/* Responsive adjustments for cool AI disclaimer */
@media (max-width: 768px) {
    .ai-disclaimer-cool {
        padding: 20px;
    }

    .ai-header-cool {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ai-header-cool h3 {
        font-size: 18px;
    }

    .ai-point {
        flex-direction: column;
        gap: 12px;
    }

    .ai-point .material-icons {
        align-self: flex-start;
    }
} 