body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: sans-serif;
}

.login-wrapper {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.login-left {
    flex: 2;
    background-color: #000;
    overflow: hidden;
}

.login-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    padding: 2rem;
}

.login-right h1 {
    text-align: center;
}

.login-form-container {
    width: 100%;
    max-width: 320px;
}

.login-logo {
    display: block;
    max-height: 80px;
    margin: 0 auto 2rem auto;
}

.login-error {
    color: red;
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 0.5rem 0 0.25rem;
}

form input {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 1rem;
}

form button {
    padding: 0.75rem;
    background: #4b2057;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background: #9741af;
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: #4b2057;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.sso-subtitle {
    text-align: center;
    color: #666;
    margin: 0 0 1.5rem;
}

.sso-divider {
    text-align: center;
    margin: 1.25rem 0;
    color: #888;
    font-size: 0.9rem;
}

.sso-button {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background: #fff;
    color: #4b2057;
    border: 2px solid #4b2057;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.sso-button:hover {
    background: #4b2057;
    color: #fff;
}

/* 📱 RESPONSIVE VERSION */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        flex: none;
        height: 200px;
    }

    .login-left img {
        height: 100%;
        object-fit: cover;
    }

    .login-right {
        flex: none;
        height: auto;
        padding: 2rem 1rem;
    }

    .login-form-container {
        max-width: 100%;
    }

    .login-logo {
        max-height: 60px;
    }
}
