/* Shared auth layout and controls */
.auth-container {
    max-width: 450px;
    margin: 80px auto;
    padding: 20px;
}

.auth-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.auth-title {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 8px;
}

.auth-title-sm {
    font-size: 24px;
}

.auth-subtitle {
    color: #666;
    font-size: 14px;
}

.auth-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #999;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.auth-divider span {
    padding: 0 15px;
}

.auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: var(--white);
    color: #444;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    gap: 10px;
}

.auth-google:hover {
    background: #f8f8f8;
    border-color: #999;
}

.auth-google svg {
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 16px;
}

.form-group-lg {
    margin-bottom: 20px;
}

.auth-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.auth-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(45, 95, 63, 0.15);
}

.auth-helper {
    color: #666;
    font-size: 12px;
    margin-top: 4px;
}

.auth-body {
    color: #666;
    font-size: 15px;
}

.auth-body--spaced {
    margin-bottom: 30px;
    line-height: 1.6;
}

.auth-inline-error {
    color: #c33;
    font-size: 13px;
    margin-top: 4px;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.auth-button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

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

.auth-button--inline {
    display: inline-block;
    width: auto;
    padding: 12px 24px;
    text-align: center;
}

.auth-button--spaced {
    margin-bottom: 12px;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.auth-footer-spacer {
    margin-top: 12px;
}

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

.auth-link:hover {
    text-decoration: underline;
}

.auth-notice {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 12px;
    color: #999;
}

.auth-card--center {
    text-align: center;
}

.auth-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.auth-info-box {
    background: #f5f5f5;
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 24px;
    text-align: left;
    font-size: 13px;
    color: #666;
}

.auth-info-box--spaced {
    margin-bottom: 20px;
}

.auth-info-box p {
    margin: 0 0 8px 0;
}

.auth-info-box ul {
    margin: 0;
    padding-left: 20px;
}
