:root {
    --sec: #9aa1a9;
    --background: #141b2d;
    --mod:#1f2941;
    --brightText:#fff;
    --text:#9ba6b7;
    --themeColor:#6771fa;
    --border:#1f2941;
    --btnColor:#484faf;
    --btnTextColor:#fff;
    --input:#1f2941;
    --inputBorder:#1f2941;
    --shadow:none;
    --reverseIco: #fff;
    --ico:#222;
    --borderRadius:4px;
    --sidebar:#141b2d;
    --head:#141b2d;
    --reverseText:#fff;
    --mainBar:#34397d;
    --subBar:#A0A0A0;
  }
  
  html, body{
    background:var(--background);
    height:100%;
    width:100%;
    font-weight:bold;
    font-family: "Inter Tight", sans-serif;
    letter-spacing: 1px;
    font-weight: 500;
  }
  
  .input{
    background: var(--input);
    border: none;
    border-radius: 4px;
    outline: none;
    color: var(--text) !important;
    padding: 8px 20px;
    width: 100%;
    font-weight: 400 !important;
    border:1px solid var(--mod);
  }
  
  .btn{
    background: none;
    color: var(--text);
    font-weight: 400;
    padding: 7px 20px;
    border-radius: 4px;
    outline: none;
    transition: .5s;
    font-size: 1em;
    border: 1px solid var(--btnColor);
  }
  
  .btn:hover{
    opacity:.8;
    color: var(--brightText);
  }
  
  input:-webkit-autofill,
  input:-webkit-autofill:hover,
  input:-webkit-autofill:focus {
    background-color: var(--background) !important; /* Apply your background color */
    -webkit-box-shadow: 0 0 0px 1000px var(--background) inset; /* Fix the background color */
    transition: background-color 5000s ease-in-out 0s;
    color: var(--text) !important; /* Force white text color */
    -webkit-text-fill-color: var(--text) !important; /* Force white text color */
    font-weight: 700 !important; /* Attempt to make text bold */
  }

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Make the container full height */
    padding: 20px; /* Optional: Add some padding to avoid overflow issues */
}

.login-logo{
    height: 30px;
    position: fixed;
    top: 20px;
    left:30px;
}



/* The .account-login-section remains largely the same */
.account-login-section, .account-reset-section, .new-password-section, .password-sent-message {
    width: 500px;
    margin: auto;
    position: relative;
    display: block;
    height: auto;
    border-radius: 8px;
    padding: 55px;
    background: var(--mod);
    box-shadow:var(--shadow);
}

.login-ico{
    background: var(--themeColor);
    padding: 10px;
    color: var(--reverseIco);
    border-radius: 100px;
}

.main-logo {
    height: 35px;
    width: 220px;
    position: absolute;
    left: 30px;
    top: 30px;
    background-image: var(--logo);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.login-section-title{
    color: var(--text);
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 35px;
}

.login-message-title{
    color: var(--text);
    font-weight: bold;
    font-size: 18px;
    text-align:center;
}


.user-email, .user-pass, .user-reset-email, .new-pass, .confirm-new-pass{
    margin-bottom: 20px;
    background: var(--background);
    height: 60px;
}

.sub-login-btn, .sub-reset-btn, .sub-new-pass-btn{
    width: 100%;
    margin-top: 20px;
    background: var(--btnColor);
    height: 55px;
    color: var(--brightText);
    font-weight: bold;
}

.sub-login-btn:hover{
    background: var(--themeColor);
    color:var(--brightText);
}


.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.toggle {
    display: none;
}

.toggle-label {
    position: relative;
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border-radius: 50px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.remember-text{
    color: var(--text);
    font-weight: bold;
    margin-left: 5px;
}

.toggle-label::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle:checked + .toggle-label {
    background-color: var(--themeColor);
}

.toggle:checked + .toggle-label::before {
    transform: translateX(25px);
}

.forgot-pass-btn, .go-back-btn{
    text-align: center;
    background: none;
    border: none;
    color: var(--text);
    position: relative;
    margin: auto;
    display: block;
    margin-top: 10px;
    top: 20px;
    font-weight: bold;
}

@media only screen and (max-width: 767px) {
    /* Your mobile-specific styles */
    .main {
      display:none;
    }

    .mobile-message{
        display:block !important;
        color: var(--text);
        text-align: center;
        margin-top: 40vh;
        width: 80%;
        margin-left: 10%;
    }

  }