.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 14px;
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s;
}







/* --- New Styles for Auth Pages (Login/Register) --- */
.auth-section {
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.auth-container {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    width: 70%;
    text-align: center;
}

.auth-container h2 {
    margin-bottom: 0.5rem;
}

.auth-container p {
    color: #6c757d;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-button {
    width: 100%;
    padding: 0.85rem;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-button:hover {
    background-color: var(--primary-color-dark);
}

.auth-switch {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}


html {
    scroll-behavior: smooth;
}
