:root {
    --background-color: #f0f2f5;
    --card-bg-color: #ffffff;
    --primary-color: #8f10c5ff;
    --primary-gradient: linear-gradient(to right, #8f10c5ff, #000cb9ff);
    --text-color: #333;
    --text-color-light: #6c757d;
    --border-color: #dee2e6;
}

body {
    background-color: var(--background-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.page-header .back-button, .page-header .header-placeholder {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.2s;
}

.page-header .back-button:hover {
    background-color: rgba(255, 255, 255, 1);
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    max-width: 450px;
    width: 100%;
    background-color: var(--card-bg-color);
    border: none;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-header .auth-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.auth-header h2 {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

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

.auth-form .form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.auth-form .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.auth-form .form-control {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(143, 16, 197, 0.15);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--primary-gradient);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(143, 16, 197, 0.3);
}

.auth-footer {
    margin-top: 2rem;
    color: var(--text-color-light);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}