/**
 * Vendor Login - Ultra Modern Design with Animations
 */

/* CSS Variables */
:root {
    --vl-primary: #6366f1;
    --vl-primary-dark: #4f46e5;
    --vl-primary-light: #818cf8;
    --vl-accent: #22d3ee;
    --vl-success: #10b981;
    --vl-error: #ef4444;
    --vl-dark: #0f172a;
    --vl-darker: #020617;
    --vl-gray: #64748b;
    --vl-light: #f1f5f9;
    --vl-white: #ffffff;
    --vl-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --vl-gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    --vl-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --vl-shadow-lg: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
    --vl-transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
.hbe-vendor-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--vl-darker);
    padding: 20px;
}

.hbe-vendor-login-wrapper * {
    box-sizing: border-box;
}

/* Animated Background */
.hbe-vl-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hbe-vl-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 90%, rgba(217, 70, 239, 0.2) 0%, transparent 50%);
    animation: gradientShift 15s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.1) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Particles */
.hbe-vl-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hbe-vl-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 20s infinite linear;
}

.hbe-vl-particle:nth-child(odd) {
    background: rgba(99, 102, 241, 0.5);
    width: 6px;
    height: 6px;
}

.hbe-vl-particle:nth-child(3n) {
    background: rgba(34, 211, 238, 0.4);
    animation-duration: 25s;
}

.hbe-vl-particle:nth-child(5n) {
    background: rgba(217, 70, 239, 0.4);
    animation-duration: 30s;
}

/* Position particles randomly */
.hbe-vl-particle:nth-child(1) { left: 5%; animation-delay: 0s; }
.hbe-vl-particle:nth-child(2) { left: 10%; animation-delay: -2s; }
.hbe-vl-particle:nth-child(3) { left: 15%; animation-delay: -4s; }
.hbe-vl-particle:nth-child(4) { left: 20%; animation-delay: -6s; }
.hbe-vl-particle:nth-child(5) { left: 25%; animation-delay: -8s; }
.hbe-vl-particle:nth-child(6) { left: 30%; animation-delay: -10s; }
.hbe-vl-particle:nth-child(7) { left: 35%; animation-delay: -12s; }
.hbe-vl-particle:nth-child(8) { left: 40%; animation-delay: -14s; }
.hbe-vl-particle:nth-child(9) { left: 45%; animation-delay: -16s; }
.hbe-vl-particle:nth-child(10) { left: 50%; animation-delay: -18s; }
.hbe-vl-particle:nth-child(11) { left: 55%; animation-delay: -1s; }
.hbe-vl-particle:nth-child(12) { left: 60%; animation-delay: -3s; }
.hbe-vl-particle:nth-child(13) { left: 65%; animation-delay: -5s; }
.hbe-vl-particle:nth-child(14) { left: 70%; animation-delay: -7s; }
.hbe-vl-particle:nth-child(15) { left: 75%; animation-delay: -9s; }
.hbe-vl-particle:nth-child(16) { left: 80%; animation-delay: -11s; }
.hbe-vl-particle:nth-child(17) { left: 85%; animation-delay: -13s; }
.hbe-vl-particle:nth-child(18) { left: 90%; animation-delay: -15s; }
.hbe-vl-particle:nth-child(19) { left: 95%; animation-delay: -17s; }
.hbe-vl-particle:nth-child(20) { left: 3%; animation-delay: -19s; }
.hbe-vl-particle:nth-child(21) { left: 8%; animation-delay: -0.5s; }
.hbe-vl-particle:nth-child(22) { left: 13%; animation-delay: -2.5s; }
.hbe-vl-particle:nth-child(23) { left: 18%; animation-delay: -4.5s; }
.hbe-vl-particle:nth-child(24) { left: 23%; animation-delay: -6.5s; }
.hbe-vl-particle:nth-child(25) { left: 28%; animation-delay: -8.5s; }
.hbe-vl-particle:nth-child(26) { left: 33%; animation-delay: -10.5s; }
.hbe-vl-particle:nth-child(27) { left: 38%; animation-delay: -12.5s; }
.hbe-vl-particle:nth-child(28) { left: 43%; animation-delay: -14.5s; }
.hbe-vl-particle:nth-child(29) { left: 48%; animation-delay: -16.5s; }
.hbe-vl-particle:nth-child(30) { left: 53%; animation-delay: -18.5s; }
.hbe-vl-particle:nth-child(31) { left: 58%; animation-delay: -1.5s; }
.hbe-vl-particle:nth-child(32) { left: 63%; animation-delay: -3.5s; }
.hbe-vl-particle:nth-child(33) { left: 68%; animation-delay: -5.5s; }
.hbe-vl-particle:nth-child(34) { left: 73%; animation-delay: -7.5s; }
.hbe-vl-particle:nth-child(35) { left: 78%; animation-delay: -9.5s; }
.hbe-vl-particle:nth-child(36) { left: 83%; animation-delay: -11.5s; }
.hbe-vl-particle:nth-child(37) { left: 88%; animation-delay: -13.5s; }
.hbe-vl-particle:nth-child(38) { left: 93%; animation-delay: -15.5s; }
.hbe-vl-particle:nth-child(39) { left: 98%; animation-delay: -17.5s; }
.hbe-vl-particle:nth-child(40) { left: 2%; animation-delay: -19.5s; }
.hbe-vl-particle:nth-child(41) { left: 7%; animation-delay: -0.3s; }
.hbe-vl-particle:nth-child(42) { left: 12%; animation-delay: -2.3s; }
.hbe-vl-particle:nth-child(43) { left: 17%; animation-delay: -4.3s; }
.hbe-vl-particle:nth-child(44) { left: 22%; animation-delay: -6.3s; }
.hbe-vl-particle:nth-child(45) { left: 27%; animation-delay: -8.3s; }
.hbe-vl-particle:nth-child(46) { left: 32%; animation-delay: -10.3s; }
.hbe-vl-particle:nth-child(47) { left: 37%; animation-delay: -12.3s; }
.hbe-vl-particle:nth-child(48) { left: 42%; animation-delay: -14.3s; }
.hbe-vl-particle:nth-child(49) { left: 47%; animation-delay: -16.3s; }
.hbe-vl-particle:nth-child(50) { left: 52%; animation-delay: -18.3s; }

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* Grid Background */
.hbe-vl-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* Main Container */
.hbe-vl-container {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 1100px;
    min-height: 650px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--vl-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: containerAppear 0.8s var(--vl-transition) forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
}

@keyframes containerAppear {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Brand Panel (Left) */
.hbe-vl-brand-panel {
    flex: 1;
    background: var(--vl-gradient-dark);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.hbe-vl-brand-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    animation: brandGlow 10s ease-in-out infinite alternate;
}

@keyframes brandGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10%, 10%) scale(1.2); }
}

.hbe-vl-brand-content {
    position: relative;
    z-index: 1;
}

/* Logo */
.hbe-vl-logo-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 32px;
}

.hbe-vl-logo-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vl-gradient);
    border-radius: 24px;
    animation: logoFloat 6s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.hbe-vl-logo-icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.hbe-vl-logo-rings span {
    position: absolute;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    animation: ringPulse 3s ease-out infinite;
}

.hbe-vl-logo-rings span:nth-child(1) {
    inset: -10px;
    animation-delay: 0s;
}

.hbe-vl-logo-rings span:nth-child(2) {
    inset: -20px;
    animation-delay: 0.5s;
}

.hbe-vl-logo-rings span:nth-child(3) {
    inset: -30px;
    animation-delay: 1s;
}

@keyframes ringPulse {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.3); }
}

/* Brand Text */
.hbe-vl-brand-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--vl-white);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    animation: slideUp 0.8s var(--vl-transition) 0.2s both;
}

.hbe-vl-brand-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px;
    line-height: 1.6;
    animation: slideUp 0.8s var(--vl-transition) 0.3s both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Features */
.hbe-vl-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hbe-vl-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: slideUp 0.8s var(--vl-transition) both;
    transition: all 0.3s var(--vl-transition);
}

.hbe-vl-feature:nth-child(1) { animation-delay: 0.4s; }
.hbe-vl-feature:nth-child(2) { animation-delay: 0.5s; }
.hbe-vl-feature:nth-child(3) { animation-delay: 0.6s; }

.hbe-vl-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: rgba(99, 102, 241, 0.3);
}

.hbe-vl-feature-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
}

.hbe-vl-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hbe-vl-feature-text strong {
    color: var(--vl-white);
    font-weight: 600;
    font-size: 0.95rem;
}

.hbe-vl-feature-text span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Stats */
.hbe-vl-brand-footer {
    position: relative;
    z-index: 1;
}

.hbe-vl-stats {
    display: flex;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hbe-vl-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: slideUp 0.8s var(--vl-transition) 0.7s both;
}

.hbe-vl-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--vl-white);
    font-variant-numeric: tabular-nums;
}

.hbe-vl-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Form Panel (Right) */
.hbe-vl-form-panel {
    flex: 1;
    background: var(--vl-white);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hbe-vl-form-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
}

/* Form Section */
.hbe-vl-form-section {
    animation: fadeIn 0.5s var(--vl-transition);
}

.hbe-vl-form-section.hidden {
    display: none;
}

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

/* Form Header */
.hbe-vl-form-header {
    text-align: center;
    margin-bottom: 36px;
}

.hbe-vl-form-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--vl-dark);
    margin: 0 0 8px;
}

.hbe-vl-form-header p {
    color: var(--vl-gray);
    margin: 0;
    font-size: 0.95rem;
}

/* Form */
.hbe-vl-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Input Group */
.hbe-vl-input-group {
    position: relative;
}

.hbe-vl-input-wrapper {
    position: relative;
}

.hbe-vl-input-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--vl-gray);
    transition: color 0.3s;
    z-index: 1;
}

.hbe-vl-input-icon svg {
    width: 100%;
    height: 100%;
}

.hbe-vl-input-wrapper input {
    width: 100%;
    padding: 16px 40px 16px 36px;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    background: transparent;
    color: var(--vl-dark);
    transition: all 0.3s var(--vl-transition);
    outline: none;
}

.hbe-vl-input-wrapper label {
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vl-gray);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s var(--vl-transition);
    background: transparent;
}

.hbe-vl-input-wrapper input:focus ~ label,
.hbe-vl-input-wrapper input:not(:placeholder-shown) ~ label {
    top: 0;
    left: 0;
    font-size: 0.75rem;
    color: var(--vl-primary);
    background: var(--vl-white);
    padding: 0 4px;
}

.hbe-vl-input-wrapper input:focus {
    border-color: var(--vl-primary);
}

.hbe-vl-input-wrapper input:focus ~ .hbe-vl-input-icon {
    color: var(--vl-primary);
}

/* Input Line Animation */
.hbe-vl-input-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--vl-gradient);
    transition: all 0.3s var(--vl-transition);
    transform: translateX(-50%);
}

.hbe-vl-input-wrapper input:focus ~ .hbe-vl-input-line {
    width: 100%;
}

/* Password Toggle */
.hbe-vl-toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--vl-gray);
    transition: color 0.3s;
}

.hbe-vl-toggle-password:hover {
    color: var(--vl-primary);
}

.hbe-vl-toggle-password svg {
    width: 20px;
    height: 20px;
}

/* Options Row */
.hbe-vl-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -8px;
}

/* Checkbox */
.hbe-vl-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--vl-gray);
}

.hbe-vl-checkbox input {
    display: none;
}

.hbe-vl-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s var(--vl-transition);
}

.hbe-vl-checkbox input:checked ~ .hbe-vl-checkmark {
    background: var(--vl-primary);
    border-color: var(--vl-primary);
}

.hbe-vl-checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s var(--vl-transition);
}

.hbe-vl-checkbox input:checked ~ .hbe-vl-checkmark::after {
    transform: rotate(45deg) scale(1);
}

/* Link Button */
.hbe-vl-link {
    background: none;
    border: none;
    color: var(--vl-primary);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.hbe-vl-link:hover {
    color: var(--vl-primary-dark);
    text-decoration: underline;
}

/* Error & Success Messages */
.hbe-vl-error,
.hbe-vl-success {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    display: none;
    animation: shakeError 0.5s var(--vl-transition);
}

.hbe-vl-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--vl-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.hbe-vl-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--vl-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hbe-vl-error.show,
.hbe-vl-success.show {
    display: block;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* Submit Button */
.hbe-vl-submit-btn {
    position: relative;
    width: 100%;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--vl-white);
    background: var(--vl-gradient);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s var(--vl-transition);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.hbe-vl-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.hbe-vl-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.hbe-vl-submit-btn:hover::before {
    opacity: 1;
}

.hbe-vl-submit-btn:active {
    transform: translateY(0);
}

.hbe-vl-btn-text,
.hbe-vl-btn-loader,
.hbe-vl-btn-success {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--vl-transition);
}

.hbe-vl-btn-loader,
.hbe-vl-btn-success {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.5);
}

.hbe-vl-btn-loader svg {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

.hbe-vl-btn-success svg {
    width: 28px;
    height: 28px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Button States */
.hbe-vl-submit-btn.loading .hbe-vl-btn-text {
    opacity: 0;
    transform: scale(0.5);
}

.hbe-vl-submit-btn.loading .hbe-vl-btn-loader {
    opacity: 1;
    transform: scale(1);
}

.hbe-vl-submit-btn.success {
    background: var(--vl-success);
}

.hbe-vl-submit-btn.success .hbe-vl-btn-text {
    opacity: 0;
    transform: scale(0.5);
}

.hbe-vl-submit-btn.success .hbe-vl-btn-success {
    opacity: 1;
    transform: scale(1);
}

/* Divider */
.hbe-vl-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
    color: var(--vl-gray);
    font-size: 0.85rem;
}

.hbe-vl-divider::before,
.hbe-vl-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* Register Text */
.hbe-vl-register-text {
    text-align: center;
    color: var(--vl-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Back Button */
.hbe-vl-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--vl-gray);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.hbe-vl-back-btn svg {
    width: 18px;
    height: 18px;
}

.hbe-vl-back-btn:hover {
    color: var(--vl-primary);
    transform: translateX(-5px);
}

/* Reset Icon */
.hbe-vl-reset-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    color: var(--vl-primary);
    animation: pulse 2s ease-in-out infinite;
}

.hbe-vl-reset-icon svg {
    width: 36px;
    height: 36px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(99, 102, 241, 0); }
}

/* Form Footer */
.hbe-vl-form-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    margin-top: 24px;
}

.hbe-vl-form-footer p {
    margin: 0;
    color: var(--vl-gray);
    font-size: 0.8rem;
}

/* Already Logged In */
.hbe-vl-already-logged {
    text-align: center;
    padding: 60px 40px;
    background: var(--vl-white);
    border-radius: 24px;
    box-shadow: var(--vl-shadow);
}

.hbe-vl-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--vl-success);
    font-size: 2.5rem;
    font-weight: 700;
    border-radius: 50%;
    animation: checkBounce 0.6s var(--vl-transition);
}

@keyframes checkBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.hbe-vl-already-logged h2 {
    font-size: 1.5rem;
    color: var(--vl-dark);
    margin: 0 0 8px;
}

.hbe-vl-already-logged p {
    color: var(--vl-gray);
    margin: 0 0 24px;
}

.hbe-vl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--vl-gradient);
    color: var(--vl-white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s var(--vl-transition);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.hbe-vl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
    color: var(--vl-white);
}

/* Responsive */
@media (max-width: 900px) {
    .hbe-vl-container {
        flex-direction: column;
        max-width: 500px;
    }
    
    .hbe-vl-brand-panel {
        padding: 32px;
    }
    
    .hbe-vl-brand-title {
        font-size: 1.75rem;
    }
    
    .hbe-vl-brand-subtitle {
        margin-bottom: 24px;
    }
    
    .hbe-vl-features {
        display: none;
    }
    
    .hbe-vl-stats {
        justify-content: center;
    }
    
    .hbe-vl-form-panel {
        padding: 32px;
    }
}

@media (max-width: 480px) {
    .hbe-vendor-login-wrapper {
        padding: 10px;
    }
    
    .hbe-vl-container {
        border-radius: 16px;
    }
    
    .hbe-vl-brand-panel {
        padding: 24px;
    }
    
    .hbe-vl-logo-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .hbe-vl-logo-icon {
        border-radius: 16px;
    }
    
    .hbe-vl-logo-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .hbe-vl-brand-title {
        font-size: 1.5rem;
    }
    
    .hbe-vl-brand-subtitle {
        font-size: 0.95rem;
    }
    
    .hbe-vl-stats {
        gap: 20px;
    }
    
    .hbe-vl-stat-number {
        font-size: 1.25rem;
    }
    
    .hbe-vl-form-panel {
        padding: 24px;
    }
    
    .hbe-vl-form-header h2 {
        font-size: 1.5rem;
    }
    
    .hbe-vl-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .hbe-vl-form-panel {
        background: var(--vl-dark);
    }
    
    .hbe-vl-form-header h2 {
        color: var(--vl-white);
    }
    
    .hbe-vl-input-wrapper input {
        color: var(--vl-white);
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .hbe-vl-input-wrapper input:focus ~ label,
    .hbe-vl-input-wrapper input:not(:placeholder-shown) ~ label {
        background: var(--vl-dark);
    }
    
    .hbe-vl-checkmark {
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .hbe-vl-divider::before,
    .hbe-vl-divider::after {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .hbe-vl-form-footer {
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Smooth page transitions */
.hbe-vendor-login-wrapper {
    animation: pageLoad 0.5s var(--vl-transition);
}

@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}
