/* ================================
   Variables y Configuración Global
   ================================ */
   :root {
    --primary: #FF3377;
    --secondary: #1C1C1C;
    --dark: #0c0d0dec;
    --gray: #2E2E2E;
    --yellow: #ffc107;
    --light: #e0e6ed;
    --danger: #e7515a;
    --white: #fff;
  }
  
  /* ================================
     Estilos Base y Reset
     ================================ */
  * {
    box-sizing: border-box;
  }
  
  ::-webkit-scrollbar { 
    width: 8px; 
    height: 8px; 
  }
  ::-webkit-scrollbar-track { 
    background: transparent; 
  }
  ::-webkit-scrollbar-thumb { 
    background: rgb(66, 71, 78, 1); 
    border-radius: 8px;
  }
  ::-webkit-scrollbar-corner { 
    background: transparent; 
  }
  
  body {
    color: #ACACAC;
    height: 100%;
    font-size: 0.875rem;
    background: transparent;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    letter-spacing: 0.0312rem;
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(rgb(14 14 14 / 96%), rgb(14 14 14 / 96%)), url(https://cdn.gtahub.gg/launcher/background.webp);
    background-size: cover;
    background-position: center;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", sans-serif;
    font-weight: bold;
    color: var(--light); 
    margin: 0;
  }
  
  :focus {
    outline: none;
  }
  
  p {
    margin-top: 0;
    margin-bottom: 0.625rem;
    color: #7A7A7A;
  }
  
  a {
    color: #e0e6ed;
    outline: none;
    text-decoration: none;
  }
  a:hover {
    color: #bfc9d4;
    text-decoration: none;
  }
  
  /* ================================
     Utilidades Bootstrap-like
     ================================ */
  .text-center { text-align: center; }
  .text-left { text-align: left; }
  .text-danger { color: var(--danger); }
  .text-white { color: var(--white) !important; }
  
  .d-sm-flex { display: flex; }
  .justify-content-between { justify-content: space-between; }
  .justify-content-center { justify-content: center; }
  .align-items-center { align-items: center; }
  .align-self-center { align-self: center; }
  
  .mt-2 { margin-top: 0.5rem; }
  .mt-4 { margin-top: 1.5rem; }
  .mb-0 { margin-bottom: 0; }
  .mr-1 { margin-right: 0.25rem; }
  .ml-1 { margin-left: 0.25rem; }
  .m-auto { margin: auto; }
  
  .pr-1 { padding-right: 0.25rem; }
  .pl-1 { padding-left: 0.25rem; }
  
  .rounded-1 { border-radius: 0.25rem; }
  .rounded-circle { border-radius: 50%; }
  
  .position-relative { position: relative; }
  .position-absolute { position: absolute; }
  
  .btn-block { display: block; width: 100%; }
  .btn-sm { padding: 0.25rem 0.5rem; font-size: 0.875rem; }
  
  /* ================================
     Componentes de Formulario
     ================================ */
  .form-control {
    height: auto;
    border: 1px solid var(--secondary);
    color: white;
    font-size: 15px;
    padding: 8px 10px;
    letter-spacing: 1px;
    height: calc(1.4em + 1.4rem + 2px);
    padding: .75rem 0.75rem;
    border-radius: 6px;
    background: var(--secondary);
    width: 100%;
  }
  
  .form-control::-webkit-input-placeholder,
  .form-control::-ms-input-placeholder, 
  .form-control::-moz-placeholder {
    color: #b8b8b8;
    font-size: 15px;
  }
  
  .form-control:focus {
    color: #fff !important; 
    background: var(--secondary) !important;
    border-color: unset !important;
    outline: none !important;
    border: none !important;
    box-shadow: 0 0 .7rem 0rem #ff33775e !important;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }

  .field-wrapper {
    width: 100%;
    text-align: center;
  }
  
  /* ================================
     Botones
     ================================ */
  .btn {
    padding: 0.4375rem 1.25rem;
    text-shadow: none;
    font-size: 14px;
    color: #3b3f5c;
    font-weight: normal;
    white-space: normal;
    word-wrap: break-word;
    transition: .2s ease-out;
    touch-action: manipulation;
    cursor: pointer;
    background-color: #f1f2f3;
    box-shadow: 0px 5px 20px 0 rgba(0, 0, 0, 0.1);
    will-change: opacity, transform;
    transition: all 0.3s ease-out;
    border: none;
    border-radius: 6px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    line-height: 1.5;
    width: 100%;
  }
  
  .btn:hover, .btn:focus {
    color: #3b3f5c;
    background-color: #f1f2f3;
    border-color: #d3d3d3;
    box-shadow: none;
    transform: translateY(-3px);
  }
  
  .btn:disabled {
    background-color: #f1f2f3;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.13);
    cursor: not-allowed;
    transform: none;
  }
  
  .btn-primary {
    color: #fff !important;
    background-color: var(--primary) !important;
    border-color: var(--primary);
    font-weight: bold;
  }
  
  .btn-primary:hover, .btn-primary:focus {
    color: #fff !important;
    background-color: var(--primary);
    box-shadow: none;
    border-color: var(--primary);
  }
  
  .btn-primary:disabled {
    background-color: #454545 !important;
    border-color: #454545 !important;
    box-shadow: none;
  }
  
  /* ================================
     Layout del Login
     ================================ */
  [v-cloak] {
    display: none;
  }

  #login:not([v-cloak]) {
      visibility: visible;
      opacity: 1;
      transition: opacity 0.2s ease-in;
  }
  
  #login {
    visibility: hidden;
    opacity: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .form-form {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    margin: 0 auto;
    width: 100%;
  }
  
  .form-form .form-form-wrap {
    max-width: 480px;
    margin: 0 auto;
    min-width: 311px;
    min-height: 100%;
    align-self: center;
    width: 100%;
    height: 100vh;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }
  
  .form-form .form-container {
    align-items: center;
    display: flex;
    flex-grow: 1;
    width: 100%;
    min-height: 100%;
  }
  
  .form-form .form-container .form-content {
    display: block;
    width: 100%;
    padding: 25px;
    background: linear-gradient(0deg, #121212 0%, #1c1c1c 100%);
    border-radius: 20px;
    box-shadow: 0 0 10rem #000000;
    text-align: center;
  }
  
  /* ================================
     Header y Navegación de Idioma
     ================================ */
  .header-cont {
    position: relative;
    margin-bottom: 2rem;
  }
  
  .header-cont img {
    max-width: 150px;
  }
  
  .lang {
    position: absolute;
    top: 1.5rem;
    right: 0;
    width: 4em;
    height: 3em;
    z-index: 1;
  }
  
  .lang-selected {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
    width: 100%;
    height: 100%;
  }
  
  .lang-selected img {
    width: 70%;
  }
  
  .lang-icon {
    color: #fff;
    fill: #fff;
    margin-left: 0.5em;
  }
  
  .lang-options {
    margin: 0;
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.7em;
    width: 100%;
    position: absolute;
    margin-left: -0.3em;
  }
  
  .lang-options::after {
    content: "";
    position: absolute;
    width: 2rem;
    height: 1rem;
    background: #fff;
    top: -0.3rem;
    left: 0;
    right: 0;
    margin: auto;
    clip-path: polygon(50% 0, 0% 100%, 100% 100%);
  }
  
  .lang-options li {
    list-style: none;
  }
  
  .lang-options img {
    margin: .5em 0;
    cursor: pointer;
    width: 100%;
  }
  
  /* ================================
     Modal de Idioma
     ================================ */
  .modal-lang {
    background: #000000b3;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
  }
  
  .modal-lang-cont {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 4rem 0;
  }
  
  .form-form .form-container div.modal-form {
    height: 45rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .modal-lang-text {
    font-size: 1.4rem;
    color: #fff;
  }
  
  .modal-lang-item {
    cursor: pointer;
    user-select: none;
    padding: 1rem;
    transition: all .3s ease;
    color: #fff;
  }
  
  .modal-lang-item:hover {
    background: #ffffff1c;
    border-radius: .4rem;
  }
  
  /* ================================
     Formulario de Login
     ================================ */
  .signup-link {
    font-size: 14px;
    color: #b8b8b8;  
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .login input {
    background: #2E2E2E;
    border-radius: 12px;
    border: none;
    height: 4rem !important;
    padding-left: 4rem;
    padding-top: 2rem;
    color: #fff !important;
    font-size: 1.2rem;
  }
  
  .login input:focus,
  .login input:active {
    background: #2E2E2E;
    border: none;
    box-shadow: 0 0 .7rem 0rem #ff33775e !important;
  }

  input:-internal-autofill-selected {
    background: #202020 !important;
    color: #fff !important;
  }
  
  .register-item {
    width: 100%;
    position: relative;
  }
  
  .register-label {
    font-weight: normal;
    font-size: .8rem !important;
    position: absolute;
    left: 4rem;
    top: .5rem;
    pointer-events: none;
    color: #b8b8b8;
    margin-bottom: 8px;
  }
  
  .f-center-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .form-icon {
    background: var(--yellow);
    width: 2.8rem;
    height: 2.8rem;
    position: absolute;
    left: .6rem;
    top: .6rem;
    pointer-events: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .button-pink {
    color: #fff;
    background: #FF3377 !important;
    box-shadow: 0 4px 36px #FF3377;
    padding: 1.2rem !important;
    border: none !important;
  }
  
  .button-pink:disabled {
    background-color: #2E2E2E !important;
    border-color: #2E2E2E !important;
    box-shadow: 0 4px 36px #2E2E2E;
  }
  
  /* ================================
     Componentes de Servidor
     ================================ */
  .log-server-cont {
    display: flex;
    justify-content: center;
    transition: box-shadow .3s linear;
    margin-bottom: 1rem;
    margin-top: 1rem;
  }
  
  .log-server-cont-error-text {
    color: #eb3b3b;
    font-size: .5rem;
  }
  
  .log-server-cont-error {
    box-shadow: 0 0.2rem 0.5rem #ff000069;
  }
  
  .log-server-button {
    height: 3rem;
    width: 53%;
    position: relative;
    background-color: var(--gray) !important;
    border: none;
    transition: background-color .3s ease;
    color: #fff;
    cursor: pointer;
  }
  
  .log-server-button-title {
    font-size: .9rem;
    padding-top: 0.1rem;
  }
  
  .log-server-button-left {
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    margin-right: -6%;
  }
  
  .log-server-button-right {
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  }
  
  .log-server-button-single {
    clip-path: none;
  }
  
  .log-color1-active {
    background-color: #FF3377 !important;
  }
  
  .log-captcha {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }

  /* ================================
     Sección de Enlaces Adicionales
     ================================ */
  .log-extras-cont {
    margin-top: 2rem;
  }
  
  .log-notLoging {
    margin: 0 auto;
    width: fit-content;
  }
  
  .log-notLoging a {
    margin-top: 0.5rem;
    cursor: pointer;
    display: block;
    color: #9b8200;
    font-size: .85rem;
  }
  
  .log-notLoging a:hover {
    color: #d8b400;
  }
  
  .log-separator {
    color: #ffffff14;
    border-bottom: 1px solid;
    width: 90%;
    margin: 0 auto;
    margin-top: 1rem;
    margin-bottom: .5rem;
  }
  
  .log-extras {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
  }
  
  .log-extras .log-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    text-align: center;
    border: 1px solid #ffffff38;
    background: #ffffff0d;
    border-radius: 0.3rem;
    box-shadow: 0 0 1rem #000000;
    user-select: none;
  }
  
  .log-button a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
    font-size: 1rem;
    color: #838383;
    padding-right: 2rem !important;
    position: relative;
    z-index: 1;
    height: 100%;
  }
  
  .log-extras a:hover {
    color: #bfc9d4;
  }
  
  .log-extras a:hover + svg {
    color: #FF3377;
  }
  
  .log-button svg {
    position: absolute;
    right: .3rem;
    color: #ff3377b4;
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .log-extras span {
    font-size: .7rem;
    line-height: 1rem;
  }
  
  /* ================================
     Modal de FAQs
     ================================ */
  .log-modal {
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #140107d6;
    animation: anim-modal 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  }
  
  @keyframes anim-modal {
    0% {
      transform: translateY(6rem);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .log-modal-header {
    background: #000;
    padding-bottom: 1rem;
    text-align: center;
  }
  
  .log-modal-close {
    color: red;
    width: 3rem;
    height: 3rem;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  .log-modal-close svg {
    width: 2rem;
    height: 2rem;
  }
  
  .log-question-cont {
    width: 60%;
    margin: 0 auto;
    overflow: auto;
    max-height: 80%;
  }
  
  .log-question {
    margin: 2rem 0;
  }
  
  .log-que {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    background: #000;
    padding: 1rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    color: #fff;
  }
  
  .log-que svg {
    position: absolute;
    right: 1rem;
  }
  
  .log-que-icon-reverse {
    transform: scaleY(-1);
  }
  
  .log-answ {
    overflow: hidden;
    background: #1a1a1a;
    color: #fff;
    height: auto;
    max-height: 0rem;
    transition: max-height .3s ease;
  }
  
  .log-answ-open {
    max-height: 200rem;
  }
  
  .log-answ span {
    font-size: 1.5em;
    padding: 1rem 2rem;
    display: block;
  }
  
  /* ================================
     Spinner y Estados de Carga
     ================================ */
  .spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
  }
  
  .spinner-border-sm {
    width: 0.8rem;
    height: 0.8rem;
    border-width: 0.15em;
  }
  
  @keyframes spinner-border {
    to { transform: rotate(360deg); }
  }
  
  /* ================================
     Transiciones Vue
     ================================ */
  .fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s;
  }
  .fade-enter, .fade-leave-to {
    opacity: 0;
  }
  
  .frombottom-enter-active {
    transition: all 0.3s ease;
  }
  .frombottom-enter {
    opacity: 0;
    transform: translateY(30px);
  }
  
  /* ================================
     Responsive
     ================================ */
  @media (max-width: 1600px) {
    html {
      font-size: 10px;
    }
    .form-form .form-form-wrap {
      min-width: 200px;
      width: 330px;
      height: 500px !important;
      max-height: 500px !important;
    }
  }

  @media (max-width: 768px) {

    .form-form .form-form-wrap {
      height: auto;
      min-height: 100vh;
      padding: 20px;
    }
    
    .log-question-cont {
      width: 90%;
    }
    
    .log-extras {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .lang {
      position: relative;
      top: 0;
      right: 0;
      margin: 1rem auto;
    }
    
    .modal-lang-cont {
      flex-direction: column;
      gap: 2rem;
    }
  }
  
  @media (max-width: 480px) {
    .form-form .form-container .form-content {
      padding: 15px;
    }
    
    .log-server-button {
      width: 100%;
      margin-bottom: 0.5rem;
    }
    
    .log-server-button-left,
    .log-server-button-right {
      clip-path: none;
      margin-right: 0;
    }
  }