html {position: relative;min-height: 100%;font-size: 14px;}
body {background-color: #fafbfc;}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}


/*******************************************/
/***************** Buttons******************/
/*******************************************/

.btn {transition: all 0.25s ease-in-out;}
.btn:hover {transform: translateY(-2px);box-shadow: 0 8px 16px rgba(0,0,0,0.15);}
.btn-primary {background-color: #0171d3 !important}
.btn-primary:hover {background-color: #0156a0 !important}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}



/*******************************************/
/***************** NAVBAR ******************/
/*******************************************/
.main-navbar form.search-bar{margin-right:1rem}
@media screen and (max-width: 991px) {
    .main-navbar a.nav-link{justify-self:center;}
    .main-navbar form.search-bar {margin-right: 0 !important;margin-bottom:1rem !important;}
}

/* === Carousel Navigation & Overlays === */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
    background-size: 100% 100%;
}

.carousel-fade-overlay-left,
.carousel-fade-overlay-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 1;
    pointer-events: none;
}

.carousel-fade-overlay-left {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
}

.carousel-fade-overlay-right {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
}

/*****************************************/
/* LOGIN AND REGISTER PAGES COMMON STYLES*/
/*****************************************/
.form {
    max-width: 430px;width: 100%;padding: 30px;border-radius: 6px;
    background: #fff;box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

header {font-size: 28px;font-weight: 600;color: #232836;text-align: center;}
.field {margin-top: 20px;}
.field label {display: block;font-size: 14px;font-weight: 500;color: #232836;margin-bottom: 6px;}
.field input {
    height: 45px;width: 100%;padding: 0 15px;font-size: 16px;
    border-radius: 6px;border: 1px solid #CACACA;outline: none;
}
.field input:focus {border-color: #0171d3;border-bottom-width: 2px;}
.field label.required::after {content: " *";color: red;font-weight: bold;}

.eye-icon {
    position: absolute;top: 70%;right: 10px;
    transform: translateY(-50%);font-size: 18px;
    color: #8b8b8b;cursor: pointer;padding: 5px;
}
.remember-me {display: flex;align-items: center;font-size: 14px;gap: 6px;}
.forgot-pass {font-size: 14px;margin-left: auto;color: #0171d3;text-decoration: none;}
.forgot-pass:hover {text-decoration: underline;}

.button-field button {
    width: 100%;height: 50px;background-color: #0171d3;border: none;
    color: #fff;font-size: 16px;font-weight: 500;border-radius: 6px;
    cursor: pointer;margin-top: 20px;
}
    .button-field button:hover {
        background-color: #0156a0;
    }
.line {position: relative;height: 1px;width: 100%;margin: 30px 0;background-color: #d4d4d4;}
.line::before {
    content: 'Or';position: absolute;top: 50%;
    left: 50%;transform: translate(-50%, -50%);
    background-color: #fff;color: #8b8b8b;padding: 0 15px;
}
.media-options a {
    display: flex;align-items: center;justify-content: center;
    height: 50px;border-radius: 6px;font-weight: 500;gap: 10px;
    margin-bottom: 15px;text-decoration: none;font-size: 14px;
}
.media-options a i,
.media-options a img {width: 20px;height: 20px;display: inline-flex;align-items: center;justify-content: center;object-fit: contain;}
a.google {border: 1px solid #CACACA;color: #232836;background: #fff;}
a.google:hover {background: #f8f9fa;}
a.facebook {background: #1877f2;color: #fff;}
a.facebook:hover {background: #145dbf;}
a.apple {background: #000;color: #fff;}
a.apple:hover {background: #333;}
.signup-link {text-align: center;font-size: 14px;margin-top: 15px;}
.signup-link a {color: #0171d3;text-decoration: none;font-weight: 500;}
.signup-link a:hover {text-decoration: underline;}






/******************************************/
/***** PROGRESS BAR FOR PASSWORD RESET ****/
/******************************************/

.progressbar {
    list-style: none;
    display: flex;
    justify-content: space-between;
    position: relative;
    counter-reset: step;
}

.progressbar li {
    position: relative;
    text-align: center;
    width: 25%;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .progressbar li .icon {
        width: 50px;
        height: 50px;
        background: #e9ecef;
        margin: 0 auto 10px auto;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        transition: all 0.3s ease;
        color: #6c757d;
    }

    .progressbar li.completed .icon,
    .progressbar li.active .icon {
        background: #4f46e5;
        color: #fff;
        animation: pop 0.5s ease forwards;
    }

    .progressbar li span {
        display: block;
        font-size: 14px;
        margin-top: 5px;
    }

    .progressbar li::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 4px;
        background: #e9ecef;
        top: 25px;
        left: -50%;
        z-index: -1;
        transition: all 0.3s ease;
    }

    .progressbar li:first-child::after {
        content: none;
    }

    .progressbar li.completed::after {
        background: #4f46e5;
    }

/* Pop animation for icons */
@keyframes pop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media(max-width:768px) {
    .progressbar li span {
        font-size: 12px;
    }

    .progressbar li .icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}