:root {
    --sec: #f8f8fc;
    --background: #f6f7f9;
    --brightText: #414551;
    --text: #212b35;
    --themeColor: #212b35;
    --border: #e7e8e9;
    --btnColor: #fcfbff;
    --btnTextColor: #fff;
    --inputBorder: #1f2941;
    --shadow: #e9eaf0;
    --boxshadow: #e5e5e5;
    --navHover:#dddfe1;
    --themeOpacity:rgba(63, 98, 255, 0.2);
    --icon:#414551;
    --head:#f4f4fc;
    --boxBorder:#e7e8e9;
    --mod:#ffffff;
    --clicked:#fff;
    --tablePercUp:#414551;
    --tablePercBg:rgba(0, 255, 0, 0.4);
    --darkBG:#212b35;
    --input:#eeeeee;
    --logo: url('/img/s19-logo-light.png');
    --logoFull: url('/img/s19-full-light.png');
    --chartColor:#4D4DFF;
    --pageTitle:#212b35;
    --sparkColor:#a1a1a1;
    --greenBG:rgba(2, 177, 139, 1);
    --greenText:#fff;
    --tableBtn:#212b35;
    --error:#b70000;
    }
    
  
  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(--text);
  }
  
  .btn:hover{
    opacity:.8;
    color: var(--btnTextColor);
  }
  
  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(--input);
    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(--text);
    height: 55px;
    color: var(--background);
    font-weight: bold;
}

.sub-login-btn:hover, .sub-reset-btn:hover, .sub-new-pass-btn:hover{
    background: var(--brightText);
    color:var(--background);
}


.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;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 30px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    outline: none;
    margin: auto;
    margin-top: 20px;
    width: 100%;
  }
  
  .google-btn:hover {
    background: #f7f7f7;
    box-shadow: 0 4px 12px rgba(60,64,67,.13);
  }
  
  .google-icon {
    width: 22px;
    height: 22px;
    display: block;
  }
  

@media (max-width: 767px) {
    .main {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        padding: 0;
    }

    .account-login-section, .account-reset-section, .new-password-section, .password-sent-message {
        width: 100%;
        margin: auto;
        position: relative;
        display: block;
        height: 100%;
        border-radius: 8px;
        padding: 30px;
        background: var(--mod);
        box-shadow: var(--shadow);
        padding-top:150px;
    }

    
  }
  