/* B-BOS Login Page */
.vbl-wrap {
    max-width: 500px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.vbl-step {
    display: none;
}

.vbl-step-active {
    display: block;
    animation: vbl-fadeIn 0.3s ease;
}

.vbl-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.vbl-card-header {
    padding: 32px 30px 24px;
    text-align: center;
}

.vbl-icon {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.vbl-icon-email {
    background: #f0fdf4;
}

.vbl-icon-email svg {
    stroke: #059669;
}

.vbl-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 6px;
}

.vbl-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.vbl-card-body {
    padding: 0 30px 30px;
}

/* Fields */
.vbl-field {
    margin-bottom: 16px;
}

.vbl-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.vbl-input {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    color: #1f2937;
    background: #fff;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.vbl-input:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.vbl-input::placeholder {
    color: #9ca3af;
}

/* OTP input */
.vbl-input-otp {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 10px;
    text-align: center;
    font-family: monospace;
    padding: 16px;
}

.vbl-input-otp::placeholder {
    letter-spacing: 6px;
    color: #d1d5db;
}

/* Button */
.vbl-btn {
    width: 100%;
    padding: 14px;
    background: #1e3a5f;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
    margin-top: 4px;
}

.vbl-btn:hover {
    background: #15304f;
}

.vbl-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Links */
.vbl-links {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
}

.vbl-links a,
.vbl-link-btn {
    color: #6b7280;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    padding: 0;
}

.vbl-links a:hover,
.vbl-link-btn:hover {
    color: #1e3a5f;
    text-decoration: underline;
}

.vbl-divider {
    color: #d1d5db;
    margin: 0 8px;
}

/* Messages */
.vbl-error {
    background: #fef2f2;
    color: #dc2626;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #fecaca;
    text-align: center;
    line-height: 1.4;
}

.vbl-success {
    background: #f0fdf4;
    color: #059669;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #a7f3d0;
    text-align: center;
    line-height: 1.4;
}

/* CTA link below login */
.vbl-links-cta {
    margin-top: 10px;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
}

.vbl-links-cta a {
    color: #1e3a5f;
    font-weight: 600;
    font-size: 12px;
}

/* Locked / Access Denied Step */
.vbl-icon-locked {
    background: #fef2f2;
}

.vbl-locked-message {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    text-align: center;
    margin: 0 0 20px;
}

.vbl-locked-reasons {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.vbl-locked-why {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
}

.vbl-locked-reasons ul {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: disc;
}

.vbl-locked-reasons li {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 6px;
}

.vbl-locked-reasons li strong {
    color: #1f2937;
}

.vbl-locked-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vbl-btn-accent {
    display: block;
    width: 100%;
    padding: 14px;
    background: #d97706;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.2s;
    box-sizing: border-box;
}

.vbl-btn-accent:hover {
    background: #b45309;
    color: #fff;
}

.vbl-btn-outline {
    display: block;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.2s;
    box-sizing: border-box;
}

.vbl-btn-outline:hover {
    border-color: #1e3a5f;
    color: #1e3a5f;
}

.vbl-message {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

@keyframes vbl-fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 500px) {
    .vbl-wrap {
        margin: 20px auto;
    }

    .vbl-card-header {
        padding: 24px 20px 18px;
    }

    .vbl-card-body {
        padding: 0 20px 24px;
    }

    .vbl-input-otp {
        font-size: 22px;
        letter-spacing: 6px;
    }
}