:root {
    --primary-color: #8a7ff9;
    --primary-light: #e9e7ff;
    --primary-dark: #5849d8;
    --background-color: #f8f9fa;
    --text-color: #343a40;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --error-red: #dc3545;
}

body.simple-auth-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    min-height: 100vh;
    margin: 0;
}

.auth-container {
    width: 100%;
    max-width: 480px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    width: 100%;
    max-width: 250px;
    margin-bottom: 20px;
}

.auth-header h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.auth-header p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.auth-quote {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.auth-main {
    background-color: #ffffff;
    padding: 30px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-form h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 25px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    border: 1px solid #ced4da;
}
.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-top: 10px;
    background-color: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}
.button:hover { background-color: #4a3ab8; }
.google-btn {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.google-btn:hover { background-color: #f8f8f8; }

.or-divider { display: flex; align-items: center; text-align: center; color: var(--text-light); margin: 25px 0; }
.or-divider::before, .or-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border-color); }
.or-divider:not(:empty)::before { margin-right: .5em; }
.or-divider:not(:empty)::after { margin-left: .5em; }

.form-links { margin-top: 20px; font-size: 0.9rem; display: flex; justify-content: space-between; }
.form-links a { color: var(--primary-dark); text-decoration: none; }
.form-links a:hover { text-decoration: underline; }

.password-wrapper { position: relative; display: flex; align-items: center; }
.password-wrapper input { padding-right: 40px; }
.password-toggle { position: absolute; right: 10px; cursor: pointer; color: #aaa; font-size: 1.4rem; display: flex; align-items: center; }
.password-toggle:hover { color: #333; }
.auth-form small { display: block; text-align: left; margin-top: 5px; font-size: 0.8rem; color: var(--text-light); }

.error-message {
    color: var(--error-red);
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 12px;
    margin-top: 20px;
    display: none;
}