﻿/* Centering container */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 2rem;
}

/* Card styling */
.auth-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    padding: 2rem 2.5rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Header */
.auth-card h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #000;
    border-bottom: 2px solid #d4af37; /* gold underline */
    display: inline-block;
    padding-bottom: 0.3rem;
}

/* Form layout */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
}

/* Form group */
.form-group label {
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #000;
}

.form-group input.form-control {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus state with gold outline */
.form-group input.form-control:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    outline: none;
}

/* Validation error text */
.text-danger {
    color: #b00020;
    font-size: 0.85rem;
}

/* Submit button */
.auth-btn {
    background-color: #000;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.auth-btn:hover {
    background-color: #d4af37;
    color: #000;
    transform: translateY(-1px);
}

/* Bottom link */
.auth-link {
    margin-top: 1rem;
    color: #444;
    font-size: 0.95rem;
}

.auth-link a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
    }

    .auth-card h1 {
        font-size: 1.5rem;
    }
}
