/* ═══ CIBYC Youth Camp 2026 - Custom Styles ═══ */

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232, 106, 51, 0.4); }
    50% { box-shadow: 0 0 20px 10px rgba(232, 106, 51, 0.1); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease-out forwards;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(10px);
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #E86A33;
    box-shadow: 0 0 0 3px rgba(232, 106, 51, 0.15);
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.375rem;
}

.form-label .required {
    color: #EF4444;
    margin-left: 2px;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ID Card */
.id-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 1rem;
    overflow: hidden;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.id-card-header {
    background: linear-gradient(90deg, #E86A33, #FF9800);
    padding: 1rem;
    text-align: center;
}

.id-card-body {
    padding: 1.5rem;
    color: white;
}

/* Wave Button */
.btn-wave {
    background: linear-gradient(135deg, #1B3A8C, #2C5CE6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-wave:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(27, 58, 140, 0.4);
}

/* Scanner */
.scanner-result {
    animation: scaleIn 0.4s ease-out;
}

/* Dashboard Stats */
.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.25rem;
    border-left: 4px solid #E86A33;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Print Styles */
@media print {
    nav, footer, .no-print, #backToTop, .whatsapp-float {
        display: none !important;
    }
    body {
        font-size: 12pt;
    }
    .id-card {
        box-shadow: none;
        border: 2px solid #333;
    }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #E86A33; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #C9522A; }

/* Admin Sidebar */
.admin-sidebar {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    width: 260px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 40;
    transition: transform 0.3s;
}

.admin-sidebar .nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all 0.2s;
    border-radius: 0.5rem;
    margin: 0.15rem 0.75rem;
}

.admin-sidebar .nav-item:hover,
.admin-sidebar .nav-item.active {
    background: rgba(232, 106, 51, 0.2);
    color: #E86A33;
}

.admin-content {
    margin-left: 260px;
    padding: 1.5rem;
    min-height: 100vh;
    background: #f3f4f6;
}

@media (max-width: 1023px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.open {
        transform: translateX(0);
    }
    .admin-content {
        margin-left: 0;
    }
}

/* Alert */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
