html {
    height: 100%;
}

/*Background color*/
#grad1 {
    padding-top: 5%;
    background-image: url(https://i0.wp.com/getlivetrack.com/wp-content/uploads/2022/06/Blurry-scaled.jpg?fit=2560%2C1695&ssl=1);
    background-position: center center;
    background-size: cover;
    /* background-color: : #fff; */
    /* background-image: linear-gradient(120deg, #FF4081, #81D4FA); */
    box-shadow: 5px 6px 30px 0px rgba(0, 0, 0, 0.12);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

/*form styles*/
#msform {
    text-align: center;
    position: relative;
    margin-top: 20px;
}

#msform fieldset .form-card {
    background: white;
    border: 0 none;
    border-radius: 0px;
    box-shadow: 5px 6px 30px 0px rgba(0, 0, 0, 0.12);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 20px 20px 30px 20px;
    box-sizing: border-box;
    width: 94%;
    margin: 0 3% 20px 3%;

    /*stacking fieldsets above each other*/
    position: relative;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;

    /*stacking fieldsets above each other*/
    position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

#msform fieldset .form-card {
    text-align: left;
    color: #9E9E9E;
}

/*Blue Buttons*/
#msform .action-button {
    width: 100px;
    background: #4194E0;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button:hover,
#msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #4194E0;
}

/*Previous Buttons*/
#msform .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #616161;
}

/*Dropdown List Exp Date*/
select.list-dt {
    border: none;
    outline: 0;
    border-bottom: 1px solid #ccc;
    padding: 2px 5px 3px 5px;
    margin: 2px;
}

select.list-dt:focus {
    border-bottom: 2px solid #4194E0;
}

/*The background card*/
.card {
    z-index: 0;
    border: none;
    border-radius: 0.5rem;
    position: relative;
}

/*FieldSet headings*/
.fs-title {
    font-size: 25px;
    color: #2C3E50;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    margin-left: -40px;
    overflow: hidden;
    color: lightgrey;
}

#progressbar .active {
    color: #000000;
}

#progressbar li {
    list-style-type: none;
    font-size: 12px;
    width: 25%;
    float: left;
    position: relative;
}

/*Icons in the ProgressBar*/
#progressbar #account:before {
    font-family: FontAwesome;
    content: "\f023";
}

#progressbar #verify:before {
    font-family: FontAwesome;
    content: "\f058";
}


#progressbar #user:before {
    font-family: FontAwesome;
    content: "\f007";
}

#progressbar #confirm:before {
    font-family: FontAwesome;
    content: "\f00c";
}

/*ProgressBar before any progress*/
#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 18px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px;
}

/*ProgressBar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1;
}

/*Color number of the step and the connector before it*/
#progressbar li.active:before,
#progressbar li.active:after {
    background: #4194E0;
}

.progress {
    display: -ms-flexbox;
    display: flex;
    height: 0.50rem;
    overflow: hidden;
    line-height: 0;
    font-size: 0.20rem;
    background-color: #e9ecef;
    border-radius: .25rem;
    margin-top: 5px;
}

/*Imaged Radio Buttons*/
.radio-group {
    position: relative;
    margin-bottom: 25px;
}

.radio {
    display: inline-block;
    width: 204;
    height: 104;
    border-radius: 0;
    background: lightblue;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    cursor: pointer;
    margin: 8px 2px;
}

.radio:hover {
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.radio.selected {
    box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
}

/*Fit image in bootstrap div*/
.fit-image {
    width: 100%;
    object-fit: cover;
}
.error-message {
    color: red;
    font-size: 0.9em;
    display: none;
}

.error{
    color: red;
    font-size: 0.9em;
}
/* Navbar Styles */

.navbar {
    border-bottom: 2px solid #f1f1f1; /* Add a subtle bottom border */
    padding: 1rem 0; /* Increase padding for a more spacious look */
    box-shadow: 8px 9px 38px 0px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.navbar .logo img {
    height: 50px; /* Adjust logo size for visibility */
}

.navbar-nav .nav-link {
    font-weight: bold; /* Make menu items bold */
    text-transform: uppercase; /* Add uppercase styling for modernity */
    margin: 0 15px; /* Space between menu items */
    color: #333 !important; /* Menu link color */
    position: relative; /* For hover effect */
}

.navbar-nav .nav-link:hover {
    color: #4194E0 !important; /* Hover color */
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #4194E0; /* Hover underline effect */
    left: 50%;
    bottom: -5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%; /* Expand underline on hover */
    left: 0;
}

/* Call-to-Action Button */
.btn-primary {
    background-color: #4194E0; /* Primary color */
    border-color: #4194E0;
    padding: 0.5rem 1rem;
    border-radius: 20px; /* Rounded button for a modern look */
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker shade on hover */
    border-color: #0056b3;
}

.no-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.footer {
    background-color: #2d2d2d;
    color: #ffffff;
    padding: 40px 0;
}
.footer h5 {
    font-weight: bold;
    color: #4db8ff;
}
.footer p, .footer a {
    color: #dddddd;
}
.footer a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: left;
    }
    .btn {
        margin-top: 10px;
    }
    .no-padding {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #msform fieldset .form-card {
        padding: 20px 20px 20px 20px;
    }
}

.custome-padding-1{
    padding-right: 10px;
    padding-left: 10px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    float:right;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}


input.primary:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.hidden {
    display: none;
}

#loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.7); /* semi-transparent white */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* on top of everything */
    pointer-events: all; /* ensures it blocks clicks */
    transition: opacity 0.5s ease;
}

  .loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }