/* Login Screen - Split Layout Desktop */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

.login-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    width: 100%;
    height: 100%;
}

/* Logo Area - Left Side (Desktop) */
.left-side {
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

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

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

.logo-image {
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.logo-text {
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 24px;
    font-weight: 600;
    color: white;
    letter-spacing: -0.5px;
}

/* Form Area - Right Side (Desktop) */
.right-side {
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

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

/* 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, #180f72, #180f72);
    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: #ffffff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.welcome-section p {
    font-size: 14px;
    color: #94a3b8;
    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: #f1f5f9;
}

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

.input-wrapper input {
    width: 100%;
    padding: 12px 16px;
    padding-left: 45px;
    border: 1px solid #1a4d4d;
    border-radius: 8px;
    font-size: 14px;
    color: #ffffff;
    background: rgba(26, 77, 77, 0.3);
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #118d43;
    background: rgba(26, 77, 77, 0.5);
    box-shadow: 0 0 0 3px rgba(17, 141, 67, 0.1);
}

.input-wrapper input::placeholder {
    color: #64748b;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #64748b;
    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: #f1f5f9;
    cursor: pointer;
    font-weight: 500;
}

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

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

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

.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: #118d43;
    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;
    box-shadow: 0 4px 12px rgba(17, 141, 67, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background: #0d7535;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(17, 141, 67, 0.4);
}

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

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

.login-footer p {
    font-size: 14px;
    color: #94a3b8;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        padding: 20px;
        background: #0d2626;
    }
    
    .login-content {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        border-radius: 12px;
        background: #0d2626;
    }
    
    .left-side {
        display: none;
    }
    
    .logo-text {
        position: static;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .right-side {
        max-width: 100%;
        padding: 20px;
        background: #0d2626;
    }
    
    .login-form-container {
        max-width: 100%;
        gap: 24px;
    }
    
    .welcome-section h1 {
        font-size: 24px;
    }
    
    .top-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 16px;
        background: #0d2626;
    }
    
    .login-content {
        padding: 24px 16px;
        border-radius: 12px;
        background: #0d2626;
    }
    
    .left-side {
        display: none;
    }
    
    .logo-text {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .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); }
}
