/* Auth pages - Seventies Theme (Colorful version) */

.auth-page {
    background: var(--sienna);
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 2rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    background: var(--cream);
    border: 3px solid var(--dark-brown);
    border-radius: 16px;
    box-shadow: 8px 8px 0 var(--dark-brown);
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-brown);
}

/* Form styling */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Input styling */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 700;
    color: var(--color-text);
    background: var(--color-background);
    border: 3px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 4px 4px 0 var(--color-shadow);
    transition: all 0.2s ease;
}

.form-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.form-input:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--color-shadow);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 6px 6px 0 var(--color-shadow);
}

/* Error states */
.form-input-error {
    border-color: var(--orange-red);
}

.form-error {
    font-size: 0.875rem;
    color: var(--orange-red);
    margin-top: 0.25rem;
}

.auth-errors {
    padding: 1rem;
    background: #ffebee;
    border: 2px solid var(--orange-red);
    border-radius: 8px;
    color: var(--orange-red);
    font-weight: 700;
}

.auth-errors p {
    margin: 0;
}

/* Full width button */
.btn-block {
    width: 100%;
    text-align: center;
}

/* Google button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 700;
    color: var(--dark-brown);
    background: #fff;
    border: 3px solid var(--dark-brown);
    border-radius: 12px;
    box-shadow: 4px 4px 0 var(--dark-brown);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-google:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--dark-brown);
}

.btn-google:active {
    transform: translateY(0);
    box-shadow: 2px 2px 0 var(--dark-brown);
}

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

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--color-text-muted);
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--color-border);
}

.auth-divider span {
    padding: 0 1rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
}

/* Footer section */
.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px dashed var(--color-border);
    text-align: center;
}

.auth-footer p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.auth-footer .btn {
    width: 100%;
}

/* Icon styling */
.auth-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-icon svg {
    display: inline-block;
    filter: drop-shadow(3px 3px 0 var(--color-shadow));
}

/* Info section */
.auth-info {
    margin: 1.5rem 0;
}

.auth-info p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.auth-info p:last-child {
    margin-bottom: 0;
}

.auth-info strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* Messages */
.auth-messages {
    margin-bottom: 1.5rem;
}

.auth-message {
    padding: 1rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.auth-message:last-child {
    margin-bottom: 0;
}

.auth-message-success {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

.auth-message-info {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1565c0;
}

.auth-message-warning {
    background: #fff3e0;
    border-color: #ff9800;
    color: #e65100;
}

.auth-message-error {
    background: #ffebee;
    border-color: var(--orange-red);
    color: var(--orange-red);
}

/* Utility classes */
.text-muted {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
        box-shadow: 6px 6px 0 var(--color-shadow);
    }

    .auth-title {
        font-size: 1.75rem;
    }

    .auth-icon svg {
        width: 48px;
        height: 48px;
    }
}
