/* ===== LOGIN & ADMIN STYLES ===== */
.login-nav-btn {
    background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.15));
    color: #fff;
    border: 1px solid rgba(139,92,246,0.4);
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}
.login-nav-btn:hover {
    background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(6,182,212,0.3));
    border-color: rgba(139,92,246,0.7);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139,92,246,0.3);
}
.user-nav-btn {
    background: rgba(16,185,129,0.1);
    color: #10b981;
    border: 1px solid rgba(16,185,129,0.3);
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}
.user-nav-btn:hover {
    background: rgba(16,185,129,0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16,185,129,0.2);
}
.admin-badge {
    background: linear-gradient(90deg, #f59e0b, #ec4899);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.admin-stat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    transition: all 0.3s;
}
.admin-stat-card:hover {
    background: rgba(255,255,255,0.04);
    transform: translateY(-4px);
}
.admin-stat-icon { font-size: 1.6rem; margin-bottom: 8px; }
.admin-stat-value { font-size: 2rem; font-weight: 900; background: linear-gradient(90deg, #06b6d4, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.admin-stat-label { font-size: 12px; color: #64748b; margin-top: 4px; }
.admin-action-btn {
    background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.2); color: #c4b5fd;
    padding: 12px 16px; border-radius: 12px; cursor: pointer; font-size: 13px; font-weight: 600;
    display: flex; align-items: center; gap: 10px; transition: all 0.3s;
}
.admin-action-btn:hover { background: rgba(139,92,246,0.15); transform: scale(1.02); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; color: #94a3b8; font-size: 13px; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; color: #fff; padding: 12px 16px; font-size: 14px;
    transition: all 0.3s; outline: none; font-family: 'Inter', sans-serif;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #8b5cf6; background: rgba(139,92,246,0.08);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
.btn-submit {
    width: 100%; background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: #fff; border: none; padding: 14px; border-radius: 12px;
    font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.3s;
    letter-spacing: 0.5px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(139,92,246,0.4); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.tutorial-card, .faq-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 18px; margin-bottom: 12px; }
.tutorial-grid { display: flex; flex-direction: column; gap: 0; }
.tutorial-card h3 { font-size: 16px; margin-bottom: 8px; }
.tutorial-card p { color: #94a3b8; font-size: 13px; line-height: 1.5; }
.faq-question { background: none; border: none; color: #fff; font-weight: 600; font-size: 14px; width: 100%; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 0; }
.faq-answer { display: none; margin-top: 10px; }
.faq-item.active .faq-answer { display: block; }
.faq-answer p { color: #94a3b8; font-size: 13px; line-height: 1.6; }
.contact-form .form-group { margin-bottom: 16px; }

/* Premium Portal Specific Styles */
.premium-portal-wrap { text-align: center; margin: 30px 0; animation: fadeIn 0.8s ease forwards; }
.premium-portal-btn {
    background: linear-gradient(135deg, #f59e0b, #d946ef);
    color: #fff; border: 2px solid rgba(245,158,11,0.5); padding: 16px 36px;
    border-radius: 50px; font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
    transition: all 0.3s; animation: pulseGlowPortal 2s infinite ease-in-out;
    display: inline-flex; align-items: center; gap: 10px;
}
.premium-portal-btn:hover {
    transform: scale(1.05) translateY(-2px); box-shadow: 0 10px 35px rgba(245, 158, 11, 0.6);
}
.premium-portal-btn.active-sub {
    background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.5);
    color: #10b981; animation: none; box-shadow: none; pointer-events: none;
}
@keyframes pulseGlowPortal {
    0%, 100% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.3); transform: scale(1); }
    50% { box-shadow: 0 0 35px rgba(245, 158, 11, 0.6); transform: scale(1.03); }
}

/* Support Menu Styles */
.support-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 10px;
    align-items: flex-end;
}
.support-btn {
    background: rgba(13, 17, 23, 0.9);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}
.support-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: #8b5cf6;
    transform: translateX(-5px);
}
.support-btn.community-btn {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(139, 92, 246, 0.15));
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
}
.support-btn.community-btn:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(139, 92, 246, 0.2));
    border-color: #8b5cf6;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.35);
}
.new-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 2px;
    letter-spacing: 0.05em;
    animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(0.95); }
}

/* Modal Overlay - HIDDEN BY DEFAULT */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex !important;
}
.modal-content {
    background: linear-gradient(145deg, #0f172a, #020617);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    max-width: 600px;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
}
.modal-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Admin Tab Sidebar and Toggle switch styling */
.admin-tab-btn {
    background: none;
    border: none;
    outline: none;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.2s;
}
.admin-tab-btn:hover {
    background: rgba(255,255,255,0.03);
    color: #fff;
}
.admin-tab-btn.active {
    background: rgba(139, 92, 246, 0.15) !important;
    color: #c4b5fd !important;
    border-left: 3px solid #8b5cf6 !important;
    border-radius: 0 10px 10px 0 !important;
}
.admin-sidebar-btn:hover {
    background: rgba(255,255,255,0.08) !important;
}
/* Toggle Switch */
.switch-toggle input:checked + .slider-toggle-round {
    background-color: #10b981 !important;
}
.slider-toggle-round {
    background-color: #334155;
}
.slider-toggle-round:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}
.switch-toggle input:checked + .slider-toggle-round:before {
    transform: translateX(22px);
}
/* New Badge and Featured Card Styling */
.badge-new {
    animation: pulseGlowBadge 2s infinite ease-in-out;
}
@keyframes pulseGlowBadge {
    0%, 100% { transform: scale(1); opacity: 0.9; box-shadow: 0 0 10px rgba(6, 182, 212, 0.4); }
    50% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 20px rgba(139, 92, 246, 0.7); }
}

/* ===== PHOTO 5 AUTH MODAL STYLES ===== */
.auth-modal-content {
    background: #0d1527 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 26px !important;
    max-width: 420px !important;
    padding: 38px 32px 34px !important;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7) !important;
}

.auth-modal-title {
    color: #ffffff !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.5px !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.btn-google-auth {
    width: 100%;
    background: #ffffff;
    color: #111827;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    font-family: 'Inter', sans-serif;
}
.btn-google-auth:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.btn-google-auth:active {
    transform: scale(0.99);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0 20px 0;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-divider span {
    padding: 0 14px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.auth-input-wrap {
    position: relative;
    margin-bottom: 16px;
}
.auth-input-wrap .auth-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    pointer-events: none;
}
.auth-input-wrap input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #ffffff;
    padding: 13px 16px 13px 46px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    box-sizing: border-box;
}
.auth-input-wrap input::placeholder {
    color: #64748b;
}
.auth-input-wrap input:focus {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.btn-auth-submit {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
    margin-top: 6px;
}
.btn-auth-submit:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}
.btn-auth-submit:active {
    transform: scale(0.99);
}
.btn-auth-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-bottom-switch {
    text-align: center;
    margin-top: 22px;
}
.auth-bottom-switch a {
    color: #94a3b8;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.auth-bottom-switch a:hover {
    color: #ffffff;
    text-decoration: underline;
}

