/* Shared authentication page styles for login, signup, password reset, etc. */
.auth-container {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 450px;
    width: 100%;
    margin: 2rem auto;
}
.auth-header {
    text-align: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
}
.auth-header .logo {
    font-size: 20px;
    font-weight: 500;
    color: var(--ga-blue) !important;
    margin-bottom: 4px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 200px;
}
.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.auth-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.auth-form {
    padding: 2rem;
}
.form-floating {
    margin-bottom: 1.5rem;
}
.form-control {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}
.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(10, 91, 176, 0.25);
}
.form-floating label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.btn {
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    width: 100%;
}
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    margin-bottom: 1rem;
}
.btn-primary:hover {
    background-color: #0056CC;
    border-color: #0056CC;
    color: white;
}
.btn-outline-secondary {
    color: var(--text-secondary);
    border-color: var(--border-color);
    background-color: var(--white);
}
.btn-outline-secondary:hover {
    background-color: var(--secondary-gray);
    border-color: var(--border-color);
    color: var(--text-primary);
}
.form-check {
    margin-bottom: 1.5rem;
}
.form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}
.form-check-label {
    font-size: 0.875rem;
    color: var(--text-primary);
}
.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}
.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}
.divider span {
    padding: 0 1rem;
}
.social-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.btn-social {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}
.btn-social:hover {
    background-color: var(--secondary-gray);
    color: var(--text-primary);
}
.text-center {
    text-align: center;
}
.text-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.875rem;
}
.text-link:hover {
    text-decoration: underline;
}
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 5;
}
.password-toggle:hover {
    color: var(--primary-blue);
}
.password-strength {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    color: var(--text-secondary);
}
.profile-btn {
    max-width: 220px; 
    width: 100%;
}
.strength-weak {
    color: #FF3B30;
}
.strength-strong {
    color: #30D158;
}
@media (max-width: 768px) {
    .auth-container {
        margin: 1rem;
    }
    .auth-form {
        padding: 1.5rem;
    }
}

.auth-form-container {
    max-width: 400px;
    margin: 40px 0 40px 0;
    padding: 2em 2.5em 2em 2.5em;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 40px rgba(25,103,210,0.06);
}

.auth-form-container h2 {
    text-align: center;
    font-size: 1.6em;
    margin-bottom: 1em;
}

.auth-form-container form {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}

.auth-form-container label {
    font-weight: 500;
    margin-bottom: 0.5em;
    display: block;
}

.auth-form-container input[type="text"],
.auth-form-container input[type="password"],
.auth-form-container input[type="email"] {
    width: 100%;
    padding: 0.7em;
    border: 1px solid #dadce0;
    border-radius: 6px;
    font-size: 1em;
    transition: border 0.2s;
    background: #fafbfc;
}

.auth-form-container input:focus {
    border-color: #1967d2;
    outline: none;
    background: #fff;
}

.auth-form-container button,
.auth-form-container input[type="submit"] {
    display: block;
    width: 100%;
    padding: 0.9em;
    background: #1967d2;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.15em;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-form-container button:hover,
.auth-form-container input[type="submit"]:hover {
    background: #174ea6;
}

.auth-form-container .helptext {
    color: #5f6368;
    font-size: 0.92em;
    margin-bottom: 0.5em;
}

.auth-form-container .errorlist {
    color: #d93025;
    margin-bottom: 1em;
    list-style-type: none;
    padding-left: 0;
}

.auth-form-container .success-message {
    color: #1e8e3e;
    background: #e6f4ea;
    border-radius: 6px;
    padding: 1em;
    margin-bottom: 1.2em;
    text-align: center;
}

.text-danger {
    color: var(--ga-red);
}
.alert-success {
    color: var(--ga-green);
}
