/* ============================
   VIP Category Lock - Frontend CSS
   ============================ */

:root {
    --vcl-primary: #4f46e5;
    --vcl-primary-light: #818cf8;
    --vcl-primary-dark: #3730a3;
    --vcl-accent: #f59e0b;
    --vcl-success: #10b981;
    --vcl-danger: #ef4444;
    --vcl-text: #1e293b;
    --vcl-muted: #64748b;
    --vcl-border: #e2e8f0;
    --vcl-radius: 16px;
}

/* ===== VIP TOP BAR ===== */
.vcl-topbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: linear-gradient(135deg, var(--vcl-primary), var(--vcl-primary-dark));
    box-shadow: 0 -4px 20px rgba(79,70,229,0.25);
}
.vcl-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Prompt', sans-serif;
}
.vcl-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.9rem;
}
.vcl-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.vcl-topbar-btn {
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.2s;
    font-family: 'Prompt', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.vcl-topbar-btn:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* ===== BADGES ===== */
.vcl-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Prompt', sans-serif;
}
.vcl-badge i { font-size: 0.6rem; }
.vcl-badge-active {
    background: linear-gradient(135deg, var(--vcl-accent), #f97316);
    color: #fff;
}
.vcl-badge-expired {
    background: #fee2e2;
    color: var(--vcl-danger);
}
.vcl-badge-none {
    background: #f1f5f9;
    color: var(--vcl-muted);
}

/* ===== VIP LOCK OVERLAY ===== */
.vcl-lock-overlay {
    text-align: center;
    padding: 60px 30px;
    background: #fff;
    border-radius: var(--vcl-radius);
    box-shadow: 0 4px 24px rgba(79,70,229,0.08);
    border: 1px solid var(--vcl-border);
    margin: 20px 0;
    font-family: 'Prompt', sans-serif;
}
.vcl-lock-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vcl-accent), #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 32px rgba(245,158,11,0.3);
}
.vcl-lock-icon i {
    font-size: 2.5rem;
    color: #fff;
}
.vcl-lock-overlay h2 {
    font-weight: 700;
    color: var(--vcl-text);
    margin-bottom: 12px;
    font-family: 'Prompt', sans-serif;
}
.vcl-lock-subtitle {
    color: var(--vcl-text);
    font-size: 1.05rem;
}
.vcl-lock-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}
.vcl-line-id {
    background: linear-gradient(135deg, #06c755, #04a645);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    margin: 16px 0;
    font-size: 1.05rem;
    font-family: 'Prompt', sans-serif;
}

/* ===== BUTTONS ===== */
.vcl-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 12px;
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    line-height: 1.4;
}
.vcl-btn-primary {
    background: linear-gradient(135deg, var(--vcl-primary), var(--vcl-primary-light));
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(79,70,229,0.3);
}
.vcl-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(79,70,229,0.4);
    color: #fff !important;
}
.vcl-btn-accent {
    background: linear-gradient(135deg, var(--vcl-accent), #f97316);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}
.vcl-btn-accent:hover {
    transform: translateY(-1px);
    color: #fff !important;
}
.vcl-btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== ALERTS ===== */
.vcl-alert {
    padding: 16px 20px;
    border-radius: var(--vcl-radius);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-family: 'Prompt', sans-serif;
    font-size: 0.9rem;
}
.vcl-alert i { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.vcl-alert-warning {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    color: #92400e;
}
.vcl-alert-danger {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fca5a5;
    color: #991b1b;
}
.vcl-alert-success {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #6ee7b7;
    color: #065f46;
}
.vcl-alert-info {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #93c5fd;
    color: #1e40af;
}

/* ===== FORM STYLES ===== */
.vcl-form-wrap {
    max-width: 460px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: 'Prompt', sans-serif;
}
.vcl-form-card {
    background: #fff;
    border-radius: var(--vcl-radius);
    box-shadow: 0 4px 24px rgba(79,70,229,0.08);
    border: 1px solid var(--vcl-border);
    overflow: hidden;
}
.vcl-form-header {
    background: linear-gradient(135deg, var(--vcl-primary), var(--vcl-primary-light));
    color: #fff;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.vcl-form-header i { font-size: 1.3rem; }
.vcl-form-body { padding: 24px; }
.vcl-form-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--vcl-muted);
    font-size: 0.9rem;
}
.vcl-form-footer a {
    color: var(--vcl-primary);
    font-weight: 600;
    text-decoration: none;
}

/* ===== FORM FIELDS ===== */
.vcl-field {
    position: relative;
    margin-bottom: 20px;
}
.vcl-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vcl-muted);
    z-index: 2;
    font-size: 1.1rem;
}
.vcl-field input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border: 2px solid var(--vcl-border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Prompt', sans-serif;
    transition: all 0.2s;
    background: #fafbff;
    box-sizing: border-box;
}
.vcl-field input:focus {
    border-color: var(--vcl-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(79,70,229,0.1);
    background: #fff;
}
.vcl-field-check {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}
.vcl-field-msg {
    margin-top: -14px;
    margin-bottom: 14px;
    font-size: 0.82rem;
    min-height: 20px;
    font-family: 'Prompt', sans-serif;
}

/* ===== ANIMATIONS ===== */
@keyframes vclFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.vcl-lock-overlay,
.vcl-form-card {
    animation: vclFadeInUp 0.5s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .vcl-lock-overlay { padding: 40px 20px; }
    .vcl-topbar-inner { flex-wrap: wrap; gap: 8px; }
    .vcl-form-wrap { margin: 20px auto; }
}

/* Give page some bottom padding for topbar */
body.logged-in {
    padding-bottom: 60px;
}
