/* Auth Modal */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    /* backdrop-filter: blur(4px); Removed as requested */
}

.auth-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    background: #fff;
    width: 90%;
    max-width: 420px;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.auth-modal-overlay.is-active .auth-modal {
    transform: translateY(0);
}

.auth-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s;
}

.auth-close:hover {
    color: #000;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 1.75rem;
    font-family: 'Playfair Display', serif;
    margin: 0 0 0.5rem;
    color: var(--color-heading, #121212);
}

.auth-header p {
    color: var(--color-muted, #666);
    font-size: 0.95rem;
    margin: 0;
}

/* Form Styles */
.auth-modal form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-modal label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-heading, #121212);
}

.auth-modal input {
    padding: 0.85rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.auth-modal input:focus {
    border-color: var(--color-primary, #e28643);
    outline: none;
    box-shadow: 0 0 0 3px rgba(226, 134, 67, 0.1);
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.auth-actions a {
    color: var(--color-primary, #e28643);
    text-decoration: none;
}

.auth-submit {
    margin-top: 0.5rem;
    padding: 1rem;
    background: var(--color-primary, #e28643);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-submit:hover {
    background: #c76f30;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.auth-footer a {
    color: var(--color-primary, #e28643);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

/* Tabs for switching */
.auth-view {
    display: none;
}

.auth-view.active {
    display: block;
}