.login-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.login-tab {
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    margin-right: 35px;
    padding-bottom: 6px
}
a.back-to-login_link {
    margin-top: 9px;
}
.login-tab.active {
    color: #D32252;
    font-weight: normal;
}

.login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #D32252;
}

.login-field {
    margin-bottom: 16px;
}

.login-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}

.login-field label .required {
    color: #D32252;
    margin-right: 2px;
}

.login-field input,
.login-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    background-color: #fff;
    color: #000;
}

.login-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}

.login-field select:focus {
    outline: none;
    border-color: #007bff;
}

.login-field input::placeholder {
    color: #999;
    font-size: 14px;
}

.login-remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 28px;
}

.remember-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000;
    font-size: 14px;
}

.remember-checkbox input[type="checkbox"] {
  appearance: none;  
  width: 20px;  
  height: 20px;  
  border: 2px solid #ccc;  
  border-radius: 4px;  
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  vertical-align: middle;
  flex-shrink: 0;
}

.remember-checkbox input[type="checkbox"]:checked {
  background-color: #D32252;  
  border-color: #D32252;     
}

.remember-checkbox input[type="checkbox"]:checked::before {
  content: '';
    position: absolute;
    top: 0px;
    left: 5px;
    width: 5px;
    height: 11px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    bottom: 0px;
}


.forgot-password {
    color: #1890FF;
    text-decoration: none;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    padding: 8px;
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
    transition: background-color 0.2s;
}

.sso-button {
    width: 100%;
    padding: 12px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    color: #333;
    transition: border-color 0.2s;
    margin-bottom: 0;
}

.sso-button:hover {
    border-color: #999;
}

.continue-link {
    display: block;
    text-align: center;
    color: #007bff;
    text-decoration: underline; 
    margin-top: 24px;
    font-size: 14px;
}

.login-btn:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: #666;
    font-size: 14px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid #DBDBDB;
    margin: 0 12px;
}

.login-divider span {
    color: #666;
    font-size: 14px;
    padding: 0 10px;
}
.reset-input-group {
  margin-bottom: 28px; 
}
.forgot-password-button{
  margin-bottom: 20px;
} 
.forgot-back {
    margin-right: 6px !important;
}
.sso-button {
    width: 100%;
    padding: 12px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #333;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.sso-button:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.sso-button:focus {
    outline: 2px solid #007bff;
    outline-offset: 1px;
}

.sso-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.login-card-container {
    padding-bottom: 40px !important;
}
.continue-link {
    display: block;
    color: #808080;
    margin-top: 28px;
    margin-bottom: 27px;
    font-size: 14px;
    text-align: left;
    margin-right: 21px;
}

.login-card {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 380px;
    margin: 20px auto;
}

.login-bg {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.login-header {
    text-align: center;
    padding: 24px 16px;
}

.login-logo {
    height: 40px;
    width: auto;
}

.login-footer {
    text-align: center;
    padding: 16px;
    margin-top: auto;
}

.login-footer a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}
button#signupBtn {
    margin-top: 30px;
    margin-bottom: 20px;
}
/* Responsive styles */
@media (max-width: 480px) {
    .login-card {
        margin: 10px;
        padding: 20px;
    }
    
    .login-divider {
        margin: 20px 0;
    }

    .sso-button {
        font-size: 15px;
        padding: 10px;
    }

    .sso-button svg {
        width: 18px;
        height: 18px;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .sso-button {
        border: 2px solid currentColor;
    }
    
    .login-divider::before,
    .login-divider::after {
        border-color: currentColor;
    }
}
