:root {
    --primary-color: #e0c3fc;
    --accent-color: #ffd6dc;
    --dark-accent: #6b5ca5;
    --text-color: #4a4a4a;
    --light-text: #6e6e6e;
    --background-color: #f5f5f5;
    --border-color: #e2e8f0;
    --heading-font: "Merriweather", Georgia, serif;
    --body-font: "Merriweather", Georgia, serif;
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    min-height: 100vh;
}

a {
    color: var(--dark-accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-color);
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
}

.login-sidebar {
    width: 35%;
    min-width: 350px;
    background-color: #2c3e50;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 3rem;
}

.login-branding {
    text-align: center;
    margin-bottom: 4rem;
}

.login-branding img {
    max-width: 320px;
    margin-bottom: 2rem;
}

.brand-divider {
    width: 40px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.login-branding h1 {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.welcome-message {
    text-align: center;
    margin-top: auto;
    padding: 2rem 0;
}

.welcome-message h2 {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.welcome-message p {
    font-size: 1.4rem;
    opacity: 0.8;
    line-height: 1.5;
}

.artwork-showcase {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.artwork-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.login-sidebar-footer {
    margin-top: 2rem;
}

.back-link {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    font-size: 1.4rem;
}

.back-link i {
    margin-right: 0.8rem;
}

.back-link:hover {
    color: white;
}

.auth-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.auth-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    width: 100%;
    max-width: 480px;
    padding: 4rem;
}

.auth-header {
    margin-bottom: 2.5rem;
}

.auth-header h2 {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
}

.auth-header p {
    color: var(--light-text);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
}

.input-with-icon input {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 4rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 1.5rem;
}

.input-with-icon button {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--light-text);
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1.2rem 2rem;
    border: 0;
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 1.5rem;
    cursor: pointer;
}

.btn-primary {
    background: #2c3e50;
    color: white;
}

.btn-primary:hover {
    background: #1f2d3a;
}

.alert {
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert-danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fff4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.auth-links {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.4rem;
}

@media (max-width: 992px) {
    .page-wrapper {
        flex-direction: column;
    }

    .login-sidebar {
        width: 100%;
        min-width: 0;
        min-height: 220px;
    }

    .artwork-showcase {
        display: none;
    }

    .auth-card {
        padding: 2rem;
    }
}
