/* Admin Login Page Styles - Split Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #FFFFFF;
    color: #31566D;
    min-height: 100vh;
    overflow: hidden;
    line-height: 1.5;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Section - Active Color Background */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #31a4a0 0%, #2a8f8c 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #E0E0E0;
}

.login-left-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.login-subtitle {
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0.95;
    line-height: 1.6;
}

.login-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path d="M0,100 Q300,50 600,100 T1200,100 L1200,200 L0,200 Z" fill="rgba(255,255,255,0.05)"/><path d="M0,150 Q300,120 600,150 T1200,150 L1200,200 L0,200 Z" fill="rgba(255,255,255,0.03)"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.6;
}

/* Right Section - Login Form */
.login-right {
    flex: 1;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 100vh;
}

.login-card-wrapper {
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
    padding: 40px;
    width: 100%;
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #31566D;
    margin-bottom: 24px;
    letter-spacing: -0.2px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 13px;
    font-weight: 500;
    color: #31566D;
    margin-bottom: 4px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #31566D;
    background-color: #FFFFFF;
    border: 1.5px solid #E0E0E0;
    border-radius: 8px;
    transition: all 0.2s ease;
    outline: none;
}

.form-input::placeholder {
    color: #4C7189;
    opacity: 0.6;
}

.form-input:hover {
    border-color: #D0D0D0;
}

.form-input:focus {
    border-color: #31a4a0;
    box-shadow: 0 0 0 3px rgba(49, 164, 160, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #FFFFFF;
    background-color: #31a4a0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-primary:hover {
    background-color: #2a8f8c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(49, 164, 160, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(49, 164, 160, 0.2);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 164, 160, 0.2);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.access-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #4C7189;
    margin-top: 8px;
    text-align: center;
}

.lock-icon {
    flex-shrink: 0;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 24px;
}

.alert-error {
    background-color: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

/* Form Validation Styles */
.form-input.input-error {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.field-error {
    color: #DC2626;
    font-size: 13px;
    margin-top: 4px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        min-height: 40vh;
        padding: 40px;
    }

    .login-title {
        font-size: 28px;
    }

    .login-right {
        min-height: 60vh;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }

    .login-left {
        min-height: auto;
        padding: 32px 24px;
    }

    .login-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .login-subtitle {
        font-size: 12px;
    }

    .login-right {
        min-height: auto;
        padding: 24px 16px;
    }

    .login-card {
        padding: 32px 24px;
        border-radius: 12px;
    }

    .card-title {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .form-input {
        padding: 10px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .btn-primary {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 28px 20px;
    }

    .card-title {
        font-size: 16px;
    }

    .login-title {
        font-size: 20px;
    }
}

