* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Left section with image */
.left-section {
    flex: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right section with form */
.right-section {
    flex: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0ff 0%, #f0f4ff 100%);
    position: relative;
    padding: 40px;
    overflow: visible;
}

.login-card {
    background: white;
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.mobile-logo {
    display: none;
    width: 150px;
    margin: 0 auto 25px;
    text-align: center;
}

.greeting {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.welcome-text {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    margin-bottom: 35px;
    line-height: 1.5;
}

.instruction-text {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 25px;
    text-align: left;
}

/* Form styles */
.login-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

/* Hide native password reveal button in Edge/IE */
.form-group input::-ms-reveal,
.form-group input::-ms-clear {
    display: none;
}

/* Hide native password reveal button in Chrome/Safari */
.form-group input[type="password"]::-webkit-textfield-decoration-container,
.form-group input[type="password"]::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

/* Password field with eye icon */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #333;
}

.eye-icon {
    width: 22px;
    height: 22px;
}

/* Forgot password link */
.forgot-password {
    color: #003d82;
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 25px;
    display: inline-block;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Submit button */
.submit-btn {
    background: linear-gradient(135deg, #b0b0b0 0%, #999 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.submit-btn.active {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.submit-btn.active:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #999 0%, #888 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Contact button (right side) */
.contact-btn {
    position: fixed;
    right: -35px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center center;
    background-color: #003d82;
    color: white;
    border: none;
    padding: 12px 35px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.contact-btn:hover {
    background-color: #0051a8;
    right: -30px;
}

/* Chat button (bottom right corner) */
.chat-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #1e3a5f;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.chat-btn:hover {
    background-color: #2d4d6f;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive design */
@media (max-width: 1024px) {
    .left-section {
        flex: 0.8;
    }

    .login-card {
        padding: 40px 50px;
    }
}

@media (max-width: 768px) {
    body {
        overflow: hidden;
    }

    .container {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    .left-section {
        display: none;
    }

    .right-section {
        height: 100vh;
        min-height: 100vh;
        overflow-y: auto;
        background: url('ee.png') no-repeat center center;
        background-size: cover;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .login-card {
        padding: 40px 30px;
        margin: auto 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        max-width: 500px;
        width: 100%;
    }

    .mobile-logo {
        display: block;
        width: 140px;
        margin: 0 auto 25px;
    }

    .greeting {
        font-size: 2rem;
    }

    .contact-btn {
        top: 55%;
        right: -45px;
        transform: translateY(-50%) rotate(-90deg);
    }
}

@media (max-width: 480px) {
    .right-section {
        height: 100vh;
        min-height: 100vh;
        padding: 15px;
        padding-top: 30px;
        padding-bottom: 15px;
        background: url('ee.png') no-repeat center center;
        background-size: cover;
    }

    .login-card {
        padding: 30px 20px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.98);
    }

    .mobile-logo {
        width: 120px;
        margin: 0 auto 20px;
    }

    .greeting {
        font-size: 1.8rem;
    }

    .welcome-text {
        font-size: 0.85rem;
    }

    .instruction-text {
        font-size: 0.85rem;
    }

    .form-group input {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 14px;
        font-size: 0.95rem;
    }

    .chat-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .contact-btn {
        padding: 10px 25px;
        font-size: 0.85rem;
        top: 55%;
    }
}
