/* Auth Pages Styles */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3d2314 0%, #5D2E0C 50%, #2d1a0e 100%);
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background-color: #f5f0e8;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.auth-logo {
    display: block;
    text-align: center;
    margin-bottom: 30px;
    text-decoration: none;
}

.auth-logo h1 {
    font-family: 'Rye', cursive;
    font-size: 1.8rem;
    color: #3d2314;
    line-height: 1.2;
    margin: 0;
}

.auth-title {
    font-family: 'Rye', cursive;
    font-size: 1.8rem;
    color: #3d2314;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Forms */
.auth-form {
    margin-bottom: 20px;
}

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

.auth-form label {
    display: block;
    font-weight: 600;
    color: #3d2314;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    border: 2px solid #d4c9b8;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.auth-form input::placeholder {
    color: #999;
}

/* Form Row for City/State/Zip */
.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
}

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

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #5D2E0C;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    color: #666;
    font-size: 0.9rem;
}

/* Buttons */
.btn-full {
    width: 100%;
}

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    background-color: #fff;
    color: #333;
    border: 2px solid #d4c9b8;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-google:hover {
    background-color: #f5f5f5;
    border-color: #8B4513;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-vet {
    background-color: #2d5016;
    color: #fff;
    border: 2px solid #3d6b1e;
}

.btn-vet:hover {
    background-color: #3d6b1e;
    color: #FFD700;
    box-shadow: 0 0 10px #4CAF50, 0 0 20px #66BB6A;
    text-shadow: 0 0 8px #4CAF50;
    border-color: #4CAF50;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #d4c9b8;
}

.auth-divider span {
    padding: 0 15px;
    color: #999;
    font-size: 0.9rem;
}

/* Links */
.forgot-password,
.back-to-login {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #8B4513;
    font-size: 0.9rem;
    text-decoration: none;
}

.forgot-password:hover,
.back-to-login:hover {
    color: #5D2E0C;
    text-decoration: underline;
}

.auth-toggle {
    text-align: center;
    margin-top: 25px;
}

.auth-toggle p {
    color: #666;
    margin: 0;
}

.auth-toggle a {
    color: #8B4513;
    font-weight: 600;
    text-decoration: none;
}

.auth-toggle a:hover {
    color: #5D2E0C;
    text-decoration: underline;
}

/* Message */
.auth-message {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-size: 0.95rem;
}

.auth-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Vet Portal Specific */
.vet-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #2d5016;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 25px;
}

.vet-badge svg {
    stroke: #FFD700;
}

.vet-badge span {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vet-info {
    margin-top: 25px;
    padding: 15px;
    background-color: #ebe5d9;
    border-radius: 8px;
    text-align: center;
}

.vet-info p {
    margin: 0 0 5px 0;
    font-size: 0.85rem;
    color: #666;
}

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

.vet-info strong {
    color: #3d2314;
}

/* Footer Links */
.vet-link,
.customer-link {
    text-align: center;
    margin-top: 25px;
    color: #f5f0e8;
    font-size: 0.9rem;
}

.vet-link a,
.customer-link a {
    color: #FFD700;
    font-weight: 600;
    text-decoration: none;
}

.vet-link a:hover,
.customer-link a:hover {
    text-decoration: underline;
}

/* Footer Auth Links on Main Page */
.footer-auth-links {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-auth-links a {
    color: #f5f0e8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-auth-links a:hover {
    color: #FFD700;
}

.footer-auth-links .divider {
    color: rgba(255, 255, 255, 0.3);
}

.footer-vet-link {
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.footer-vet-link:hover {
    border-color: #FFD700;
    background-color: rgba(255, 215, 0, 0.1);
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }

    .auth-logo h1 {
        font-size: 1.5rem;
    }

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

    .auth-form input {
        padding: 12px 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
