/* Fichier : /assets/css/style.css */

/* Base */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Composants Sombres */
.card-dark {
    background-color: #1E1E1E;
    border: 1px solid #333;
}

.input-dark {
    background-color: #2C2C2C;
    border: 1px solid #444;
    color: white;
}
.input-dark:focus {
    border-color: #3B82F6;
    outline: none;
}

/* Bouton Principal */
.btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    transition: all 0.2s;
}
.btn-primary:active {
    transform: scale(0.98);
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.animate-fade-in { animation: fadeIn 0.5s ease-out; }

/* Toast Notification (Centré) */
.toast-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease-out;
    backdrop-filter: blur(4px);
}
.toast-box {
    background: #1E1E1E;
    border: 1px solid #3B82F6;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 90%;
    width: 350px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Images Zoomables */
.zoomable {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}
.zoomable:active {
    transform: scale(0.95);
}