/* --- AUTH (LOGIN / REGISTER) SCREEN --- */
#auth-view {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-container {
    max-width: 900px;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
}

@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
}

.auth-hero {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.romantic-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.romantic-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.auth-photo-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    height: 140px;
    width: 100%;
}

.preview-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: absolute;
    transition: transform 0.3s ease;
}

.preview-img.img-1 {
    left: calc(50% - 85px);
    z-index: 1;
    transform: rotate(-6deg);
}

.preview-img.img-2 {
    left: calc(50% - 25px);
    z-index: 2;
    transform: rotate(6deg);
}

.auth-photo-preview:hover .preview-img.img-1 {
    transform: rotate(-10deg) scale(1.05);
}

.auth-photo-preview:hover .preview-img.img-2 {
    transform: rotate(10deg) scale(1.05);
}

.auth-quote {
    font-size: 0.9rem;
    opacity: 0.9;
    max-width: 80%;
    line-height: 1.5;
}

.auth-box {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    background: var(--bg-blush);
    padding: 0.3rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 0.6rem;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 82, 123, 0.3);
}

#auth-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    text-align: center;
}

.input-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    background: white;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-rose);
    box-shadow: 0 0 0 3px rgba(255, 82, 123, 0.15);
}

.primary-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 82, 123, 0.25);
    margin-top: 0.5rem;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.error {
    color: #e63946;
    font-size: 0.85rem;
    margin-top: 0.8rem;
    text-align: center;
    font-weight: 500;
    min-height: 1.2rem;
}

.status-msg {
    color: #2a9d8f;
    font-size: 0.85rem;
    margin-top: 0.8rem;
    text-align: center;
    font-weight: 500;
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.auth-footer a:hover {
    text-decoration: underline;
}
