/* ZazziPay Login Screen - Identical to Print */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Left Side - Logo Area */
.left-side {
    flex: 1;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

.logo-text {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -1px;
}

/* Right Side - Form Area */
.right-side {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Top Icons */
.top-icons {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.icon-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-circle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.icon-label {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

/* Welcome Section */
.welcome-section {
    text-align: left;
    margin-bottom: 8px;
}

.welcome-section h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.2;
}

.welcome-section p {
    font-size: 16px;
    color: #6b7280;
    font-weight: 400;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 16px;
    padding-left: 45px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background: white;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}

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

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #f59e0b;
    cursor: pointer;
    font-weight: 500;
}

.remember-me input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remember-me input[type="checkbox"]:checked + .checkmark {
    background: #f59e0b;
    border-color: #f59e0b;
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: 600;
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.login-btn:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    font-size: 18px;
    font-weight: 400;
}

/* Login Footer */
.login-footer {
    text-align: center;
    margin-top: 8px;
}

.login-footer p {
    font-size: 14px;
    color: #6b7280;
}

.create-account-link {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.create-account-link:hover {
    color: #d97706;
    text-decoration: underline;
}

.forgot-password {
    color: #fbbf24;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .left-side {
        flex: none;
        height: 200px;
        padding: 20px;
    }
    
    .logo-main {
        gap: 12px;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .logo-text {
        font-size: 32px;
    }
    
    .right-side {
        flex: 1;
        padding: 20px;
    }
    
    .login-form-container {
        max-width: 100%;
        gap: 24px;
    }
    
    .welcome-section h1 {
        font-size: 24px;
    }
    
    .top-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .left-side {
        height: 150px;
        padding: 16px;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .right-side {
        padding: 16px;
    }
    
    .welcome-section h1 {
        font-size: 22px;
    }
    
    .welcome-section p {
        font-size: 14px;
    }
    
    .login-form {
        gap: 20px;
    }
    
    .form-group {
        gap: 6px;
    }
}

/* Loading Animation */
.login-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.login-btn.loading .btn-arrow {
    animation: spin 1s linear infinite;
}

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