/* ============================================================
   LineUp Magic — Login / Sign-up page styles
   index.css  |  linked only from index.html
   Base styles (reset, body) are in style.css
   ============================================================ */

body { padding: 20px; }

.auth-container {
    max-width: 480px;
    width: 100%;
    margin: 40px auto;
    background: rgba(250, 248, 243, 0.97);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 8px 24px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
}

/* Two-column layout for form + SEO content */
.auth-inner { display: flex; flex-direction: column; }
.auth-form-col { width: 100%; }
.auth-seo-col { width: 100%; }

@media (min-width: 600px) and (max-width: 1023px) {
    .auth-container { max-width: 640px; padding: 40px; }
}
@media (min-width: 1024px) {
    .auth-container { max-width: 1200px; padding: 44px; margin: 40px auto; }
    .auth-inner { flex-direction: row; gap: 48px; align-items: flex-start; }
    .auth-form-col { width: 380px; flex-shrink: 0; }
    .auth-seo-col { flex: 1; min-width: 0; }
}
@media (min-width: 1400px) {
    .auth-container { max-width: 1200px; }
    .auth-form-col { width: 420px; }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: #1a3d2b;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #2c3e30;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.2px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(0,0,0,0.13);
    border-radius: 10px;
    font-size: 1rem;
    background: #fff;
    transition: all 0.25s;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

.form-group input:focus {
    outline: none;
    border-color: #2d5a3d;
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.15), inset 0 1px 3px rgba(0,0,0,0.04);
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(160deg, #3d7a52 0%, #1e4a30 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 10px;
    box-shadow: 0 4px 14px rgba(30, 74, 48, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

.auth-btn:hover {
    background: linear-gradient(160deg, #4a8a60 0%, #2d5a3d 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 74, 48, 0.45), inset 0 1px 0 rgba(255,255,255,0.15);
}

.auth-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(30, 74, 48, 0.35);
}

.auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.auth-toggle {
    text-align: center;
    margin-top: 18px;
    color: #555;
    font-size: 0.9rem;
}

.auth-toggle a {
    color: #2d5a3d;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(45,90,61,0.4);
    transition: border-color 0.2s;
}
.auth-toggle a:hover {
    border-bottom-color: #2d5a3d;
}

.error-msg {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    padding: 11px 14px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 0.88rem;
    box-shadow: 0 2px 8px rgba(197,48,48,0.3);
}

.success-msg {
    background: linear-gradient(135deg, #38a169, #276749);
    color: white;
    padding: 11px 14px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 0.88rem;
    box-shadow: 0 2px 8px rgba(39,103,73,0.3);
}

.loading {
    text-align: center;
    padding: 40px;
    color: #fff;
    font-size: 1.2rem;
}

/* Larger touch targets for mobile (auth-relevant) */
@media (hover: none) and (pointer: coarse) {
    .auth-btn {
        min-height: 44px;
    }
    .form-group input {
        min-height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
        overflow-x: hidden;
    }
    .auth-container {
        border-radius: 12px;
        border: 1px solid rgba(0,0,0,0.1);
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 20px;
        margin: 20px auto;
    }
    body {
        -webkit-overflow-scrolling: touch;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ── Auth page thumbnails ─────────────────────────────── */
.auth-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
    width: 100%;
}

.auth-thumbs img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    object-position: top center;
    aspect-ratio: 16/9;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    border: 1px solid rgba(0,0,0,0.09);
    display: block;
}

@media (max-width: 1023px) {
    .auth-thumbs {
        gap: 12px;
        margin-top: 16px;
        margin-bottom: 0;
    }
}

.auth-thumbs-desktop {
    display: flex;
}

.auth-thumbs-mobile {
    display: none;
    margin-top: 0;
    margin-bottom: 16px;
}

@media (max-width: 599px) {
    .auth-thumbs-desktop { display: none; }
    .auth-thumbs-mobile  { display: flex; }
}

@media (min-width: 600px) and (max-width: 1023px) {
    .auth-thumbs-desktop { display: none; }
    .auth-thumbs-mobile  { display: flex; }
}
/* ───────────────────────────────────────────────────────── */
