/* static/css/custom.css — FINAL PRODUCTION (December 21, 2025) */

/* Vertical checkboxes in SiteSettings admin */
#sitesettings_form .form-check {
    display: block;
    margin-bottom: 1.25rem;
    padding-left: 0;
}

#sitesettings_form .form-check-input {
    margin-right: 0.75rem;
    margin-top: 0.35em;
}

#sitesettings_form .form-check-label {
    font-weight: 500;
    color: #2c3e50;
}

/* Hover effects for cards */
.hover-shadow {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.08);
}

.hover-shadow:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.18) !important;
    border-color: #0d6efd;
}

/* Reveal button pulse */
.reveal-btn {
    position: relative;
    overflow: hidden;
}

.reveal-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.reveal-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Dark mode improvements */
[data-bs-theme="dark"] {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
}

[data-bs-theme="dark"] .card {
    background-color: #1e1e1e;
    border-color: #333;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #2d2d2d !important;
}

[data-bs-theme="dark"] .text-muted {
    color: #aaa !important;
}

/* Mobile optimizations */
@media (max-width: 576px) {
    .display-5 { font-size: 2.5rem; }
    .fs-1 { font-size: 2.2rem !important; }
    .btn-lg { padding: 0.75rem 1rem; font-size: 1.1rem; }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}