/* Premium Auth CSS */
:root {
    --primary-color: #7b2d91;
    --primary-light: #9c4dbd;
    --secondary-color: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #fff;
}

.auth-wrapper {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
}

.login-wrapper {
    background: url("../images/login_page.png") no-repeat center center;
    background-size: cover;
    width: 100%;
    min-height: 300px;
}

.card-wrapper {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

@media (min-width: 768px) {
    .login-wrapper {
        width: 50%;
        min-height: 100vh;
    }
    .card-wrapper {
        width: 50%;
        justify-content: flex-start; /* Shift content up */
        padding-top: 10vh; /* Professional gap from top */
    }
}

.auth-inner.card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 2.5rem;
    max-width: 400px;
    width: 100%;
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 45, 145, 0.3);
}

.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(123, 45, 145, 0.2);
    border-color: var(--primary-color);
}

.brand-wrapper {
    margin-bottom: 2rem;
    text-align: center;
}

.brand-wrapper img {
    max-width: 150px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RTL Support for Arabic if needed */
[lang="ar"] body {
    text-align: right;
}
