/* Style the login module container */

/* 🚀 Adjust login form positioning */
.newloginform {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Aligns form higher */
    min-height: 100vh;
    padding: 20px;
    margin-top: 10vh; /* Moves the form down (about 1/3 from top) */
}

/* 🚀 Style the login container */
.newloginform .sp-module-content {
    background: #f5f5f5;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px; /* Increased width */
    width: 90%; /* Full width on smaller screens */
    text-align: center;
}

/* 🚀 Style input fields */
.newloginform .form-control {
    border-radius: 5px;
    padding: 12px;
    font-size: 16px;
}

/* 🚀 Center text inside pretext message */
.newloginform .mod-login__pretext {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

/* 🚀 Style submit button */
.newloginform .mod-login__submit .sppb-btn {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    font-weight: bold;
}

/* 🚀 Responsive adjustments */
@media (max-width: 768px) {
    .newloginform {
        padding: 10px;
        margin-top: 5vh; /* Adjusts position for smaller screens */
    }

    .newloginform .sp-module-content {
        padding: 25px;
        max-width: 90%;
    }
}

/* 🚀 Style for the primary login button */
.newloginform .mod-login__submit .btn-primary {
    background-color: #064682 !important;
    border-color: #064682 !important;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}


/* 🚀 Style for the password toggle button */
.newloginform .input-password-toggle {
    background-color: #e9ecef !important;
    border: 1px solid #ced4da !important;
    color: #495057 !important;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}
/********

/* 🚀 Ensure input group (input + icon + password toggle) is properly aligned */
.newloginform .input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da; /* Border around the group */
    border-radius: 6px; /* Rounded corners */
    overflow: hidden; /* Ensures no weird gaps */
    height: 42px; /* Ensures same height for all elements */
}

/* 🚀 Make sure input field, icon, and button are the same height */
.newloginform .form-control,
.newloginform .input-group-text,
.newloginform .input-password-toggle {
    height: 100%;

    border: none; /* Removes extra borders */
    font-size: 16px;
}



/* 🚀 Style user icon button (left side) */
.newloginform .input-group-text {
    background: #e9ecef;
    border-right: 1px solid #ced4da;
    border-radius: 6px 0 0 6px; /* Rounded corners on left */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px !important;
    min-width: 65px !important;
    padding: 10px 12px; /* Uniform padding */
}

/* 🚀 Style password toggle button (right side) */
.newloginform .input-password-toggle {
    background: #e9ecef;
    width: 45px;
    min-width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}


/* 🚀 Responsive adjustments */
@media (max-width: 768px) {
    .newloginform .input-group {
        height: 40px; /* Slightly smaller for mobile */
    }

    .newloginform .input-group-text,
    .newloginform .input-password-toggle {
        width: 40px;
        min-width: 40px;
    }
}


/* Checkbox */
.sp-module.loginform .form-check-input {
    margin-right: 10px;
}

.sp-module.loginform .form-check-label {
    font-size: 14px;
    color: #555;
}

/* Submit button */
.sp-module.loginform .login-button {
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    background-color: #0345bf;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.sp-module.loginform .login-button:hover {
    background-color: #0233a0;
    color: #fff;
}

/* Hide forgotten links */
.sp-module.loginform .unstyled {
    display: none;
}
.sp-module.loginform .input-password-toggle {
    display: inline-block;
    font-size: 14px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    color: #0345bf;
    transition: background-color 0.3s, border-color 0.3s;
}

.sp-module.loginform .input-password-toggle:hover {
    background-color: #e8f0fe;
    border-color: #0345bf;
    color: #0233a0;
}

.sp-module.loginform .input-password-toggle .icon-eye {
    font-family: 'Font Awesome 5 Free', sans-serif;
    font-weight: 900;
}



//**** login ends ******//


body {
background:#F0F0F0;
color: #59595b;

}

.btn-primary, .sppb-btn-primary {
    border-color: #2e59a8;
    background-color: #2e59a8;
}

/* Default for extra-large screens (desktops) */
#sp-main-body {
    padding: 2vh 20vh;
}

/* Large screens (desktops and laptops) */
@media (min-width: 2401px) {
    #sp-main-body {
        padding: 2vh 20vh;
    }
}

/* Large screens (desktops and laptops) */
@media (max-width: 2400px) {
    #sp-main-body {
        padding: 2vh 10vh;
    }
}

/* Large screens (desktops and laptops) */
@media (max-width: 1200px) {
    #sp-main-body {
        padding: 2vh 2vh;
    }
}

/* Medium screens (tablets in landscape mode) */
@media (max-width: 992px) {
    #sp-main-body {
        padding: 2vh 2vh;
    }
}

/* Small screens (tablets in portrait mode) */
@media (max-width: 768px) {
    #sp-main-body {
        padding: 2vh 2vh;
    }
}

/* Extra-small screens (large mobile devices) */
@media (max-width: 576px) {
    #sp-main-body {
        padding: 1vh 1vh;
    }
}

/* Very small screens (small mobile devices) */
@media (max-width: 360px) {
    #sp-main-body {
        padding: 1vh 1vh;
    }
}

.sp-megamenu-parent > li {
  display: inline-block;
  margin-right: 2px; /* Add spacing between items */
}

.sp-megamenu-parent > li:last-child {
  margin-right: 0; /* Remove extra space for the last item */
}

/* Link style with hover color */
.sp-megamenu-parent li a {
  text-decoration: none;
  color: #2e59a8;
  position: relative;
  transition: color 0.3s ease;
}

.sp-megamenu-parent li a:hover {
  color: #3b70da; /* Hover color */
}

/* Moving underline effect */


#sp-menu .sp-megamenu-parent .sp-menu-item a:hover {
  color: #2e59a8; /* Hover color */
}


/* Underline effect */
#sp-menu .sp-megamenu-parent .sp-menu-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px; /* 3px thickness for the underline */
  background-color: #2e59a8; /* Underline color */
  border-radius: 3px;
  transition: width 0.3s ease;
}

#sp-menu .sp-megamenu-parent .sp-menu-item a:hover::after {
  width: 100%; /* Full width on hover or active */
}


  
 