/* ============================================================================
   LOGIN PAGE STYLES - TAS TRAVEL CLEAN DESIGN
   ============================================================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
}

html, body {
    height: 100%;
}

.login-page {
    display: flex;
    height: 100vh;
}

/* Left Panel - Dark Blue Background - 50% width */
.left-panel {
    flex: 1;
    background: linear-gradient(135deg, #05057d 0%, #05057d 50%, #00008B 100%);
    background-size: 200% 200%;
}

/* Right Panel - White Background - 50% width */
.right-panel {
    flex: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
}

/* Logo Container - positioned with login form directly below */
.logo-container {
    margin-bottom: 40px;
    text-align: center;
}

.logo-container img {
    max-width: 220px;
    height: auto;
    object-fit: contain;
}

/* Login Form Box */
.login-box {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
}

/* Username and Password Inputs */
.RadInput {
    width: 100% !important;
    margin-bottom: 25px;
}

    .RadInput input {
        width: 100% !important;
        padding: 16px 18px !important;
        border-radius: 8px !important;
        border: 1px solid #ff8c3c !important;
        font-size: 15px !important;
        background: #ffffff !important;
        color: #333333 !important;
        transition: all 0.2s ease !important;
    }

    .RadInput input::placeholder {
        color: #ff8c3c !important;
    }

.RadInput input:focus {
    outline: none !important;
    border-color: #ff8c3c !important;
    box-shadow: 0 0 0 2px rgba(255, 140, 60, 0.15) !important;
}

/* Login Button */
.login-btn,
.RadButton {
    width: 100% !important;
    margin-top: 35px !important;
}

.RadButton .rbButton,
.login-btn .rbButton,
.RadButton input[type="button"],
.RadButton input[type="submit"] {
    width: 100% !important;
    padding: 18px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    background: #ff8c3c !important;
    color: white !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
}

.RadButton .rbButton:hover,
.login-btn .rbButton:hover,
.RadButton input[type="button"]:hover,
.RadButton input[type="submit"]:hover {
    background: #ff7a28 !important;
    box-shadow: 0 4px 12px rgba(255, 140, 60, 0.35) !important;
    transform: translateY(-2px) !important;
}

.RadButton .rbButton:active,
.login-btn .rbButton:active,
.RadButton input[type="button"]:active,
.RadButton input[type="submit"]:active {
    background: #e6762a !important;
    transform: translateY(0) !important;
}

/* Forgot Password Link */
.forgot {
    text-align: center;
    font-size: 13px;
    color: #5a5a5a;
    text-decoration: none;
    margin-top: 20px;
    font-weight: 500;
    display: block;
}

.forgot:hover {
    color: #ff8c3c;
    text-decoration: underline;
}

/* Error Message */
.error-label {
    color: #d32f2f;
    font-size: 13px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
    display: block;
}

/* Responsive Design */
@media (max-width: 968px) {
    .login-page {
        flex-direction: column;
    }

    .left-panel {
        min-height: 200px;
    }

    .right-panel {
        padding: 40px 20px;
    }

    .login-box {
        width: 90%;
        max-width: 320px;
    }

    .logo-container {
        margin-bottom: 50px;
    }
}

@media (max-width: 576px) {
    .left-panel {
        min-height: 150px;
    }

    .logo-container img {
        max-width: 150px;
    }

    .logo-container {
        margin-bottom: 40px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}