/* ===================================================
   AD4REV White Enterprise Login/Register
   Ultra-Wide Form | White Background | Large Logo
=================================================== */

/* Full page white background */
body.white-auth {
    background: #ffffff; /* pure white background */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0 12px;
    overflow-x: hidden;
}

/* Root container ultra-wide form */
body.white-auth #root {
    width: 100%;
    max-width: 850px; /* ultra-wide form for large desktops */
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* Hide marketing / extra elements */
body.white-auth div[class*="marketing"],
body.white-auth div[class*="header-text"],
body.white-auth div[class*="banner"],
body.white-auth div[class*="extra"],
body.white-auth p[class*="subtitle"],
body.white-auth span[class*="emoji"],
body.white-auth section[class*="promo"],
body.white-auth div[class*="welcome"],
body.white-auth div[class*="info"],
body.white-auth div[class*="stats"] {
    display: none !important;
}

/* Hide nav / sidebar / header */
body.white-auth nav,
body.white-auth [class*="sidebar"],
body.white-auth [class*="header"] {
    display: none !important;
}

/* Glassmorphism form card */
body.white-auth form {
    background: rgba(255, 255, 255, 0.95) !important; /* slightly transparent white card */
    backdrop-filter: blur(15px) saturate(120%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(200, 200, 200, 0.3) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08) !important;
    padding: 90px 70px !important; /* extra wide padding */
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Logo - ultra-large like Everflow */
body.white-auth form::before {
    content: '';
    display: block;
    width: 160px; /* increased size */
    height: 160px;
    margin: 0 auto 40px auto;
    background-image: url('/assets/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Headings */
body.white-auth h1,
body.white-auth h2 {
    font-weight: 600 !important;
    font-size: 26px !important;
    color: #111827 !important;
    text-align: center;
    margin-bottom: 12px !important;
}

/* Labels */
body.white-auth label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    display: block;
}

/* Inputs */
body.white-auth input {
    width: 100% !important;
    height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(156,163,175,0.5) !important;
    padding: 14px !important;
    font-size: 15px !important;
    background: rgba(255, 255, 255, 0.95) !important; /* white card input */
    backdrop-filter: blur(6px) !important;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

body.white-auth input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.2) !important;
    outline: none !important;
}

/* Submit Button */
body.white-auth button[type="submit"] {
    width: 100% !important;
    height: 52px !important;
    border-radius: 16px !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    background: linear-gradient(90deg, #2563eb, #1d4ed8) !important;
    color: #ffffff !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

body.white-auth button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 45px rgba(37,99,235,0.35);
}

/* Links */
body.white-auth a {
    font-size: 14px !important;
    color: #2563eb !important;
    text-decoration: none !important;
}

body.white-auth a:hover {
    text-decoration: underline !important;
}

/* Footer / notes */
body.white-auth small,
body.white-auth .note {
    display: block !important;
    text-align: center !important;
    font-size: 12px !important;
    color: #9ca3af !important;
    margin-top: 16px;
}

/* ===============================
   Responsive Breakpoints
=============================== */

/* Large desktops */
@media (min-width: 1200px) {
    body.white-auth #root { max-width: 850px; }
}

/* Tablet */
@media (max-width: 1024px) {
    body.white-auth #root { max-width: 85%; }
    body.white-auth form { padding: 70px 50px !important; }
    body.white-auth form::before { width: 130px; height: 130px; margin-bottom: 35px; }
}

/* Mobile */
@media (max-width: 768px) {
    body.white-auth #root { max-width: 90%; }
    body.white-auth form { padding: 55px 35px !important; }
    body.white-auth form::before { width: 110px; height: 110px; margin-bottom: 30px; }
    body.white-auth h1, body.white-auth h2 { font-size: 22px !important; }
    body.white-auth input { height: 46px !important; font-size: 14px !important; }
    body.white-auth button[type="submit"] { height: 48px !important; font-size: 15px !important; }
}

/* Small Mobile */
@media (max-width: 480px) {
    body.white-auth #root { max-width: 95%; }
    body.white-auth form { padding: 45px 25px !important; }
    body.white-auth form::before { width: 90px; height: 90px; margin-bottom: 20px; }
    body.white-auth h1, body.white-auth h2 { font-size: 20px !important; }
    body.white-auth input { height: 44px !important; font-size: 13px !important; }
    body.white-auth button[type="submit"] { height: 46px !important; font-size: 14px !important; }
}
