/* Simple Mobile Full Screen CSS - FORCE COMPACT */
@media screen and (max-width: 768px) {
  /* Force mobile viewport */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Hide QR section on mobile */
  .qrLogin_e16417,
  .verticalSeparator_e16417,
  .transitionGroup__6ba63,
  .measurementFill__6ba63 {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* Force single column layout */
  .flex__7c0ba.horizontal__7c0ba {
    flex-direction: column !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Make login container compact */
  .mainLoginContainer__1d5fc {
    width: 100% !important;
    max-width: 280px !important;
    flex: none !important;
  }

  /* Center the form - COMPACT */
  .centeringWrapper__921c5 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 100vh !important;
    padding: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Auth box - ULTRA COMPACT */
  .authBox__921c5,
  .authBoxExpanded__921c5 {
    width: 100% !important;
    max-width: 260px !important;
    margin: 0 auto !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Compact form elements */
  .block__921c5 {
    width: 100% !important;
    margin-bottom: 8px !important;
  }

  /* Compact inputs */
  .container__5a838,
  .control__5a838 {
    width: 100% !important;
    margin-bottom: 6px !important;
  }

  .input__0ed4f,
  .inputField_d64f22,
  .input__0f084 {
    width: 100% !important;
    font-size: 14px !important;
    padding: 8px !important;
    box-sizing: border-box !important;
  }

  /* Compact button */
  .button_a22cb0 {
    width: 100% !important;
    padding: 8px !important;
    margin: 8px 0 !important;
  }

  /* Compact title - ZERO spacing */
  .title__921c5 {
    font-size: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .header__1d5fc {
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* Reduce ALL margins to ZERO */
  .marginBottom20_fd297e {
    margin: 0 !important;
    padding: 2px 0 !important;
  }

  .marginTop20_fd297e {
    margin: 0 !important;
    padding: 2px 0 !important;
  }

  .marginBottom8_fd297e {
    margin: 0 !important;
    padding: 1px 0 !important;
  }

  .marginTop4_fd297e {
    margin: 0 !important;
    padding: 1px 0 !important;
  }

  /* ZERO spacing between elements */
  .block__921c5 {
    width: 100% !important;
    margin: 0 !important;
    padding: 2px 0 !important;
  }

  /* Compact inputs - ZERO margins */
  .container__5a838,
  .control__5a838 {
    width: 100% !important;
    margin: 0 !important;
    padding: 1px 0 !important;
  }

  .input__0ed4f,
  .inputField_d64f22,
  .input__0f084 {
    width: 100% !important;
    font-size: 14px !important;
    padding: 6px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Compact button - ZERO margins */
  .button_a22cb0 {
    width: 100% !important;
    padding: 6px !important;
    margin: 2px 0 !important;
  }

  /* Need account section - ZERO margins */
  .needAccount__1d5fc,
  .smallRegisterLink__1d5fc {
    margin: 0 !important;
    padding: 2px 0 !important;
  }

  /* Hide country selector */
  .outerContainer__310be {
    display: none !important;
  }

  /* Force visibility */
  .wrapper_b97385 {
    width: 100% !important;
    padding: 0 !important;
  }

  .app_a3002d {
    width: 100% !important;
    height: 100% !important;
  }
}

/* Very small screens - more compact */
@media screen and (max-width: 400px) {
  .centeringWrapper__921c5 {
    padding: 15px !important;
  }
  
  .authBox__921c5,
  .authBoxExpanded__921c5 {
    max-width: 280px !important;
    padding: 15px !important;
  }

  .title__921c5 {
    font-size: 20px !important;
  }

  .input__0ed4f,
  .inputField_d64f22,
  .input__0f084 {
    padding: 8px !important;
    font-size: 13px !important;
  }

  .button_a22cb0 {
    padding: 8px !important;
  }
}

/* Force mobile class styles */
.mobile-device .qrLogin_e16417,
.mobile-device .verticalSeparator_e16417,
.mobile-device .transitionGroup__6ba63 {
  display: none !important;
  visibility: hidden !important;
}

.mobile-device .centeringWrapper__921c5 {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 100vh !important;
  width: 100% !important;
  padding: 15px !important;
}

.mobile-device .authBox__921c5 {
  width: 100% !important;
  max-width: 350px !important;
  margin: 0 auto !important;
}

/* Discord Logo - Always visible */
@media screen and (max-width: 768px) {
  /* Keep background visible */
  .characterBackground_eb4069 {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
  }

  .artwork_eb4069,
  .logoWithText_eb4069 {
    display: block !important;
    visibility: visible !important;
  }

  /* Form logo - MUCH BIGGER and MUCH LOWER */
  .discordLogo__921c5 {
    display: block !important;
    visibility: visible !important;
    width: 140px !important;
    height: 50px !important;
    margin: 20px auto 15px auto !important;
    padding: 0 !important;
    text-align: center !important;
    background-image: url('./Discord_files/131c318dd45b7aa4.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
  }

  /* Ensure form has proper background */
  .authBox__921c5,
  .authBoxExpanded__921c5 {
    position: relative !important;
    z-index: 10 !important;
    background: rgba(54, 57, 63, 0.95) !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px) !important;
  }
}

/* Override any inline styles */
@media screen and (max-width: 768px) {
  [style*="flex: 1 1 auto"] {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  
  [style*="transform"] {
    transform: none !important;
  }
}