/* ============================================
   MODERN AUTH PAGES - Clean Dating App Design
   ============================================ */

/* Reset & Base */
* {
    box-sizing: border-box;
}

body.home {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-base);
    background: linear-gradient(135deg, #FAFAFA 0%, #F4F4F5 100%);
    min-height: 100vh;
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Container */
.content-page {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.limiter {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Auth Card Container */
.container-login100 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.wrap-login100 {
    display: flex;
    flex-wrap: wrap;
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    max-width: 900px;
    width: 100%;
}

/* Form Section */
.login100-form {
    flex: 1;
    min-width: 320px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .login100-form {
        padding: 32px 24px;
    }
}

/* Form Title */
.login100-form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 32px;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Inputs */
.login100-form input[type="text"],
.login100-form input[type="password"],
.login100-form input[type="email"],
.login100-form input[type="number"] {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--color-text-primary);
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
    outline: none;
}

.login100-form input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.login100-form input::placeholder {
    color: var(--color-text-muted);
}

/* Select Dropdowns */
.login100-form select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--color-text-primary);
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2371717A'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

/* Primary Button */
.login100-form .submit-button,
.login100-form input[type="submit"] {
    width: 100%;
    height: 52px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.login100-form .submit-button:hover,
.login100-form input[type="submit"]:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

/* Social Buttons */
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.btn-facebook {
    background: #1877F2;
    color: white;
}

.btn-facebook:hover {
    background: #166FE5;
    transform: translateY(-1px);
}

.btn-google {
    background: white;
    color: #3C4043;
    border: 1.5px solid var(--color-border);
}

.btn-google:hover {
    background: #F8F9FA;
    border-color: #DADCE0;
}

.btn-phone {
    background: #18181B;
    color: white;
}

.btn-phone:hover {
    background: #27272A;
    transform: translateY(-1px);
}

/* Illustration/Promo Section */
.login100-more {
    flex: 1;
    min-width: 320px;
    min-height: 400px;
    background: linear-gradient(135deg, #E11D48 0%, #F43F5E 50%, #FB7185 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.login100-more::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.login100_content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.login100_content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.login100_content p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .login100-more {
        display: none;
    }
}

/* Alert Styling */
.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

/* Labels */
.opt-in label {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    display: block;
}

/* Links */
.login100-form a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.login100-form a:hover {
    text-decoration: underline;
}

/* Login Button Row */
.login-button {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.login-button .help {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Footer */
#main-footer {
    background: transparent;
    padding: 24px 0;
    text-align: center;
}

#footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

#footer-nav li {
    display: inline;
}

#footer-nav a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
}

#footer-nav a:hover {
    color: var(--color-primary);
}

/* Promo Container */
.wrap-landing-info-container {
    text-align: center;
    margin-top: 40px;
}

.wrap-landing-info {
    display: inline-block;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

/* Avatar previews */
.wrap-landing-info .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    background-size: cover;
    background-position: center;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   CRITICAL OVERRIDES - Remove Legacy Effects
   ============================================ */

/* Kill ALL blue shadows and legacy effects */
.wrap-login100,
.container-login100,
.limiter,
.content-page,
body.home .wrap-login100 {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
}

/* Force modern input styling */
.wrap-login100 input,
.login100-form input,
body.home input[type="text"],
body.home input[type="email"],
body.home input[type="password"],
body.home input[type="number"] {
    border: 1.5px solid #E4E4E7 !important;
    border-radius: 12px !important;
    height: 52px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
}

body.home input:focus {
    border-color: #E11D48 !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1) !important;
    outline: none !important;
}

/* Force modern select styling */
body.home select {
    border: 1.5px solid #E4E4E7 !important;
    border-radius: 12px !important;
    height: 52px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    background: #fff !important;
    cursor: pointer !important;
}

/* Force modern button styling */
body.home .login100-form-btn,
body.home input[type="submit"],
body.home .submit-button,
body.home button.btn-primary {
    background: #E11D48 !important;
    color: white !important;
    border: none !important;
    border-radius: 999px !important;
    height: 52px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

body.home .login100-form-btn:hover,
body.home input[type="submit"]:hover,
body.home .submit-button:hover {
    background: #BE123C !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25) !important;
}

/* Clean background - no hearts */
body.home {
    background: linear-gradient(135deg, #FAFAFA 0%, #F4F4F5 100%) !important;
    background-image: none !important;
}

/* Promo side gradient */
.login100-more {
    background: linear-gradient(135deg, #E11D48 0%, #F43F5E 50%, #FB7185 100%) !important;
}

/* Clean up labels and text */
body.home label {
    font-size: 14px !important;
    color: #71717A !important;
    margin-bottom: 8px !important;
    display: block !important;
}

body.home .login100-form-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #18181B !important;
    letter-spacing: -0.5px !important;
}

/* ABSOLUTE OVERRIDE - Kill blue vignette */
.container-login100::before,
.container-login100::after,
.limiter::before,
.limiter::after {
    display: none !important;
    content: none !important;
}

/* Force pure white/grey background everywhere */
.container-login100,
.limiter,
.content-page,
body.home .limiter,
body.home .container-login100 {
    background: linear-gradient(135deg, #FAFAFA 0%, #F4F4F5 100%) !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

/* Card wrapper - soft shadow ONLY */
body.home .wrap-login100,
.wrap-login100 {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
}

/* Ensure no filters or transforms causing glow */
* {
    outline: none;
}

/* ============================================
   SOCIAL LOGIN BUTTONS - Fix Visibility
   ============================================ */

/* Google Button - White with border */
body.home .btn-google,
.login100-form .btn-google,
a.btn-google,
.wrap-login100 .btn-google {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    height: 48px !important;
    background: #FFFFFF !important;
    color: #3C4043 !important;
    border: 1.5px solid #E4E4E7 !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    margin-bottom: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

body.home .btn-google:hover,
.login100-form .btn-google:hover,
a.btn-google:hover {
    background: #F8F9FA !important;
    border-color: #DADCE0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Facebook Button - Blue */
body.home .btn-facebook,
.login100-form .btn-facebook,
a.btn-facebook,
.wrap-login100 .btn-facebook {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    height: 48px !important;
    background: #1877F2 !important;
    color: white !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    margin-bottom: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

body.home .btn-facebook:hover,
.login100-form .btn-facebook:hover,
a.btn-facebook:hover {
    background: #166FE5 !important;
    transform: translateY(-1px) !important;
}

/* Phone Button - Dark */
body.home .btn-phone,
.login100-form .btn-phone,
a.btn-phone,
.wrap-login100 .btn-phone {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    height: 48px !important;
    background: #18181B !important;
    color: white !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    margin-bottom: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

body.home .btn-phone:hover,
.login100-form .btn-phone:hover,
a.btn-phone:hover {
    background: #27272A !important;
    transform: translateY(-1px) !important;
}

/* Generic social button fallback for any other OAuth buttons */
body.home a[href*="google"],
body.home a[href*="oauth"],
.login100-form a[href*="google"],
.login100-form a[href*="oauth"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    background: #FFFFFF !important;
    color: #3C4043 !important;
    border: 1.5px solid #E4E4E7 !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    margin-bottom: 12px !important;
}

/* Ensure visibility of button text */
body.home .login100-form a,
body.home .login100-form button {
    visibility: visible !important;
    opacity: 1 !important;
}
