/* ============================================
   Seensme Auth Pages — New Dark Design
   ============================================ */

/* Override layout wrapper */
.auth-page-body {
    background-color: #141414 !important;
}
.auth-page-body .flex-fill {
    display: flex;
    flex-direction: column;
}
.auth-page-body footer,
.auth-page-body .footer-compact,
.auth-page-body > footer.d-none.d-md-block {
    display: none !important;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Reset & Base */
.auth-page {
    min-height: 100vh;
    background-color: #141414;
    color: #fff;
    display: flex;
    font-family: 'Poppins', sans-serif;
    flex: 1;
}

/* ---- Left Panel (Form) ---- */
.auth-left {
    width: 50%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #141414;
    overflow-y: auto;
}

.auth-left-inner {
    width: 100%;
    max-width: 440px;
}

/* Logo */
.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.auth-logo img,
.auth-logo svg {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    object-fit: cover;
    transform: scale(1.3);
}

/* Title */
.auth-title {
    text-align: center;
    font-size: 1.875rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.auth-title .brand-name {
    background: linear-gradient(to right, #ED1E79, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.auth-subtitle {
    text-align: center;
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Fields */
.auth-form .auth-field {
    margin-bottom: 20px;
}

.auth-form .auth-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
    margin-bottom: 6px;
}

.auth-form .auth-input {
    width: 100%;
    padding: 12px 16px;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

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

.auth-form .auth-input:focus {
    border-color: #ED1E79;
    box-shadow: 0 0 0 3px rgba(237, 30, 121, 0.15);
}

.auth-form .auth-input.is-invalid {
    border-color: #ef4444;
}

/* Password field with toggle */
.auth-password-wrap {
    position: relative;
}

.auth-password-wrap .auth-input {
    padding-right: 48px;
}

.auth-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.auth-password-toggle:hover {
    color: #9ca3af;
}

.auth-password-toggle svg {
    width: 20px;
    height: 20px;
}

/* Password strength (register) */
.auth-form .password-strength-container {
    margin-top: 8px;
}

.auth-form .password-strength-bar {
    height: 4px;
    background: #2a2a2a;
    border-radius: 2px;
    overflow: hidden;
}

.auth-form .strength-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s, background-color 0.3s;
}

/* Checkbox / Terms */
.auth-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #9ca3af;
}

.auth-checkbox-wrap input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid #4b5563;
    border-radius: 4px;
    background: #1e1e1e;
    cursor: pointer;
    margin-top: 2px;
    position: relative;
}

.auth-checkbox-wrap input[type="checkbox"]:checked {
    background: #ED1E79;
    border-color: #ED1E79;
}

.auth-checkbox-wrap input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.auth-checkbox-wrap a {
    color: #ED1E79;
    text-decoration: none;
}

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

/* Submit Button */
.auth-btn-primary {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #ED1E79, #FF4DA6);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.auth-btn-primary:hover {
    opacity: 0.9;
}

.auth-btn-primary:active {
    transform: scale(0.99);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: #6b7280;
    font-size: 14px;
}

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

/* Social Login Button */
.auth-btn-social {
    width: 100%;
    padding: 12px 24px;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 50px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
    margin-bottom: 10px;
}

.auth-btn-social:hover {
    background: #262626;
    border-color: #333333;
    color: #fff;
    text-decoration: none;
}

.auth-btn-social img {
    width: 20px;
    height: 20px;
}

/* Social proof (joined this week) */
.auth-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    font-size: 14px;
    color: #9ca3af;
}

.auth-avatar-stack {
    display: flex;
}

.auth-avatar-stack .avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #141414;
    margin-left: -8px;
    background: linear-gradient(135deg, #667, #445);
    overflow: hidden;
}

.auth-avatar-stack .avatar-circle:first-child {
    margin-left: 0;
}

.auth-avatar-stack .avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-social-proof strong {
    color: #fff;
    font-weight: 600;
}

/* Footer social icons */
.auth-footer-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.auth-footer-icons a {
    color: #6b7280;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.auth-footer-icons a:hover {
    color: #fff;
}

.auth-footer-icons svg {
    width: 20px;
    height: 20px;
}

/* Switch form link (Already have an account / Don't have an account) */
.auth-switch {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #9ca3af;
}

.auth-switch a {
    color: #ED1E79;
    font-weight: 600;
    text-decoration: none;
}

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

/* Error messages */
.auth-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
}

.auth-form .invalid-feedback {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
}

/* ---- Right Panel (Collage) ---- */
.auth-right {
    width: 50%;
    min-height: 100vh;
    background: linear-gradient(160deg, #1e1e1e 0%, #241a22 50%, #141414 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.auth-collage {
    position: relative;
    width: 100%;
    max-width: 480px;
}

/* Daily Posts Badge */
.auth-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 8px 16px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.auth-badge-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.auth-badge-value {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #ED1E79, #FF6BAF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Creator Card */
.auth-creator-card {
    border-radius: 16px;
    overflow: hidden;
    background: #1e1e1e;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.auth-creator-card .card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.auth-creator-card .card-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a, #251a22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-creator-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
}

.auth-creator-info .creator-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-creator-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ED1E79, #6366f1);
}

.auth-creator-name {
    font-size: 15px;
    font-weight: 600;
}

.auth-creator-likes {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ED1E79;
    font-size: 14px;
    font-weight: 600;
}

.auth-creator-likes svg {
    width: 16px;
    height: 16px;
    fill: #ED1E79;
}

/* Small photo grid */
.auth-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
    position: relative;
}

.auth-photo-grid .grid-photo {
    border-radius: 12px;
    overflow: hidden;
    height: 160px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.auth-photo-grid .grid-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-photo-grid .grid-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a, #251a22);
}

/* Fire emoji floating */
.auth-fire {
    position: absolute;
    bottom: -20px;
    left: -20px;
    font-size: 36px;
    filter: drop-shadow(0 4px 12px rgba(255, 100, 0, 0.3));
    animation: auth-float 3s ease-in-out infinite;
}

@keyframes auth-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .auth-page {
        flex-direction: column;
    }

    .auth-left {
        width: 100%;
        min-height: auto;
        padding: 40px 24px;
    }

    .auth-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .auth-left {
        padding: 32px 16px;
    }

    .auth-title {
        font-size: 26px;
    }

    .auth-subtitle {
        font-size: 14px;
    }
}

/* ---- Captcha ---- */
.auth-form .captcha-field {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.auth-form .captcha-field .g-recaptcha > div {
    border-radius: 10px !important;
    overflow: hidden;
    border: 1px solid #2a2a2a !important;
    background: #1e1e1e !important;
}

@media (max-width: 480px) {
    .auth-form .captcha-field .g-recaptcha {
        transform: scale(0.9);
        transform-origin: center;
    }
}

/* Override some password-strength.css for dark theme */
.auth-form #password-requirements-container {
    background: transparent;
    padding: 0;
    margin-bottom: 4px;
}

.auth-form #password-requirements-container .requirement {
    color: #6b7280;
    font-size: 13px;
}

.auth-form #password-requirements-container .requirement.met {
    color: #22c55e;
}

.auth-form .strength-label {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    display: flex;
    gap: 4px;
}
