.editContent .form-control {
    border-radius: 0px;
    height: 40px;
    color: #a2a2a2;
    padding: 3px 6px;
    font-size: 13px;
    font-weight: normal;
    font-family: "Open Sans", sans-serif;
    background-color: #fff;
}

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

.width-100 {
    width: 100%;
}

.blue-btn {
    border: 0px;
    background-color: #0077cc;
    color: white;
    height: 40px;
    border-radius: 3px;
    position: relative;
    padding: 6px 15px;
    box-shadow: 0px 13px 26px 0px rgba(0, 0, 0, 0.2) !important;
    font-size: 12px;
    bottom: 0px;
}

.book-form.override {
    top: 10px !important;
    box-shadow: none;
}

@media only screen and (max-width: 600px) {
    div#ui-datepicker-div {
        right: 0px !important;
    }
    .editContent .form-control {
        padding-left: 2px !important;
        padding-right: 0px !important;
    }
}

#social-login {
    margin-bottom: 10px;
}
.serve-content h2 {
    font-size: 50px;
    color: white;
    margin-top: 70px;
}

#login-modal .radio {
    text-align: right;
}

.mascot-img {
    padding: 10px 15px 0px 15px !important;
}

.ui-autocomplete-category {
    font-weight: bold;
    padding: 0.2em 0.4em;
    margin: 0.8em 0 0.2em;
    line-height: 1.5;
}

.autoCompleteContainer {
    position: relative;
    /*z-index: 9999; !* ensure it's above other UI elements *!*/
}

.ui-autocomplete {
    z-index: 10000 !important;
    position: absolute !important;
    top: 100% !important; /* Appears directly below */
    left: 0 !important;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    border: 1px solid #ccc;
}

/* Action overlay for the flows still using it. Neutral scrim — the same value
   the project already uses for modal backdrops — with a labelled white card.
   Not a splash: money-path buttons spin inline instead of blanking the page. */
#preloader,
.preloader {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 1;
    background-color: rgba(15, 23, 42, 0.45);
    z-index: 9999;
    text-align: center;
}

/* The card. Deliberately not animated — the ring inside it is. */
#loader-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 132px;
    margin: 0;
    padding: 22px 26px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: none;
    animation: none;
}

#loader-img:before {
    content: "";
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 4px solid rgba(16, 42, 78, 0.18);
    border-top-color: #163a6b;
    -webkit-animation: spin-plain 0.7s linear infinite;
    animation: spin-plain 0.7s linear infinite;
}

#loader-img:after {
    content: none;
}

/* Injected by the preloader-label script in frontend_template so all the
   hand-copied #preloader markup picks it up without editing every view. */
.preloader-label {
    flex: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #0f172a;
    white-space: nowrap;
}

@-webkit-keyframes spin-plain {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin-plain {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loader-spin {
    to {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes loader-spin {
    to {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    #loader-img:before {
        -webkit-animation-duration: 1.8s;
        animation-duration: 1.8s;
    }
}

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

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

/* Hamburger account menu only — do not style all Bootstrap dropdowns. */
#dropdownMenu .dropdown-menu {
    margin-top: 28px !important;
    right: 0;
    left: auto;
}

.frontend-lang-dropdown {
    position: relative !important;
    display: inline-block;
    align-self: flex-start;
}

.frontend-lang-menu,
.frontend-lang-dropdown > .dropdown-menu,
.frontend-lang-dropdown.open > .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: auto !important;
    right: 0 !important;
    float: none !important;
    min-width: 140px;
    margin-top: 4px !important;
    padding: 6px 0;
    z-index: 1300 !important;
}

.frontend-lang-menu > li > a.active {
    font-weight: 700;
    background: #f0f5fb;
}

.close-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    /*height: 22px;*/
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.close-btn span {
    width: 22px;
    height: 2px;
    background-color: #dfdfdf;
    margin: 2px 0;
    transition: 0.4s;
    float: left;
}

/* Optional: animation when active */
.close-btn span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.close-btn span:nth-child(2) {
    opacity: 0;
}

.close-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    /*height: 22px;*/
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.hamburger-btn span {
    width: 22px;
    height: 2px;
    background-color: #055f9e;
    margin: 2px 0;
    transition: 0.4s;
    float: left;
}

/* Optional: animation when active */
.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

#slideMenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 1050;
    /* padding: 20px; */
}

#slideMenuUserDetails {
    padding: 20px;
}

#slideMenu.open {
    right: 0;
}

#slideMenu ul {
    width: 100%;
}

#slideMenu ul li {
    border-bottom: 1px solid #ccc;
}

#slideMenu ul li a {
    display: block;
    width: 100%;
    text-align: left;
    color: #414141;
}

#closeMenu {
    color: white;
}

/* Optional backdrop */
#menuBackdrop {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

/* Hide on desktop */
@media (min-width: 768px) {
    .navbar-toggle {
        display: none;
    }

    #slideMenuBtn {
        display: none;
    }
}

@media (max-width: 767px) {
    #dropdownMenu {
        display: none;
    }

    #nav-user-details {
        display: none;
    }
}

.new-footer {
    color: #ffffff;
    text-align: center;
    /*position: fixed;*/
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    background: transparent;
    padding: 0;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .new-footer {
        position: relative;
        padding-top: 130px;
    }
}
