/* style.css */

/* Screen reader only - pour le H1 SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.glass-panel {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modern-input {
    width: 100%;
    background: #1f2937;
    border: 1px solid #374151;
    padding: 12px;
    border-radius: 8px;
    color: white;
    outline: none;
    transition: all 0.2s;
}

.modern-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Custom Checkbox Design */
.control-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #374151;
    background: #111827;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.control-box:hover {
    border-color: #4b5563;
}

/* État actif géré via JS qui ajoute une classe, ou via :has() en CSS moderne */
.control-box:has(input:checked) {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #10b981;
}
.control-box:has(input:checked) .text-gray-400 {
    color: #a7f3d0;
}

/* Animation Blob */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.animate-blob {
    animation: blob 7s infinite;
}
.animation-delay-2000 {
    animation-delay: 2s;
}


/* Fade In */
.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}