body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--background-tint);
}

.auth-container {
    background: var(--menu-tint);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    min-height: 420px;
    padding: 1rem;
}

.auth-header {
    text-align: center;
    margin: 2rem;
}

.auth-header h1 {
    color: var(--text-tint);
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-family: "Bagel Fat One", cursive;
}

.auth-header p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--menu-tint);
}

.auth-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--gray-600);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-bottom: -2px;
}

.auth-tab.active {
    color: var(--text-tint);
    border-bottom-color: var(--text-tint);
}

.auth-section {
    display: none;
}

.auth-section.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
}

.form-group input:focus {
    outline: none;
    border-color: var(--text-tint);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--button-tint);
    color: var(--text-tint);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.submit-btn:hover {
    background: var(--button-hover-tint);
}

.submit-btn:active {
    box-shadow: 0 2px 4px rgba(218, 165, 32, 0.25);
}

.user-info {
    display: none;
    text-align: center;
}

.user-info.active {
    display: block;
}

.user-info-card {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.user-info-card h2 {
    color: var(--primary-600);
    margin-bottom: 0.5rem;
}

.user-email {
    color: var(--gray-700);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 2.5rem;
}

.password-toggle {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--gray-700);
}

.password-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}

.auth-logo {
    width: 10rem;
    object-fit: contain;
}

.eye-off-icon {
    display: none;
}

.clickable-text-link {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 0.875rem;
    cursor: pointer;
    text-align: center;
    padding: 0.25rem;
    transition: color 0.2s;
}


.clickable-text-link:hover {
    color: var(--text-tint);
}

.forgot-message {
    text-align: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.forgot-message.success {
    background: #e8f8e8;
    color: #2d7a2d;
}
