@import url('../fonts/fonts.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --hm_pri_color: #1c164e;
    --hm_text_color: #555555;
    --hm_grn: #1c164e;
    --hm_border_color: #999999;
    --hm_bg_light: #EFEFEF;
    --hm_red_text: #BD202A;
    --hm_info_text: #00bfff;

    /* Splash Car Wash Brand Colors */
    --splash_blue: #2b3491;
    --splash_navy: #1c164e;
    --splash_sudsy_blue: #3dbeee;
    --splash_red: #dc3e26;
    --splash_yellow: #f1c61e;
    --splash_light_bg: #f5eedd;
}

.pointer {
    cursor: pointer;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: var(--hm_text_color);
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--splash_blue) 0%, var(--splash_navy) 100%);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--splash_navy) 0%, var(--splash_blue) 100%);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--splash_navy) #f1f1f1;
}

h1,
h2,
h3,
h4,
h5 {
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Myriad Pro Regular';
}

a {
    text-decoration: none
}

li,
ul {
    list-style: none;
    margin: 0;
    padding: 0
}

#cellPhone_alert {
    width: 95%;
    text-align: center;
    margin: 0 auto 15px;
    padding: 7px;
}

.button_right {
    float: right;
}

.logo {
    max-width: 120px;
    width: 120px;
    display: block;
}

.title {
    color: var(--splash_blue);
    font-size: 24px;
    font-family: 'Myriad Pro Bold';
}

.ws_box {
    border-radius: 20px;
    padding: 12px;
    text-align: center;
    background: white !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* .wash_stats {
    display: flex;
    flex-wrap: wrap;
} */
.wash_stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.main_wrap {
    min-height: calc(100vh - 66px);
    position: relative;
    padding: 0 10px;
}

.ws_box:nth-child(odd) {
    margin-right: 5px;
}

.ws_box:nth-child(even) {
    margin-left: 5px;
}

.ws_date {
    font-size: 3rem;
    color: var(--splash_navy);
    margin-bottom: 15px;
    font-family: 'Myriad Pro Bold';
    line-height: 3.5rem;
}

/* List group styling with rounded corners */
.hm_link_list,
.list-group {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
}

.hm_link_list li {
    background-image: url('../images/blue_arw.svg');
    background-repeat: no-repeat;
    padding-left: 40px;
    background-position: center left;
    padding-top: 18px;
    padding-bottom: 18px;
    background-color: white;
}

.hm_link_list li a {
    color: var(--hm_text_color);
}

.hm_link_list li a:hover {
    color: var(--splash_blue);
}

.navbar-nav li {
    background-image: url('../images/blue_arw.svg');
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--hm_border_color);
    padding-left: 40px;
    background-position: center left;
    padding-top: 15px;
    padding-bottom: 15px;
}

textarea.form-control {
    min-height: 230px;
}

.form-control {
    border-radius: 20px;
    border-color: var(--hm_border_color);
    height: 64px;
    padding: 22px 22px 22px 25px;
}

/* ========================================
   UNIFIED BUTTON SYSTEM - ALL PAGES
   ======================================== */

.btn {
    height: 64px;
    min-width: 162px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
}

.confirm.btn {
    height: 47px;
    min-width: 122px;
}

/* Primary button - Modern gradient with shine effect */
.grn_btn,
.login_btn {
    background: linear-gradient(135deg, var(--splash_blue) 0%, var(--splash_navy) 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(43, 52, 145, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* Pause Membership Button */

.btn_pause.grn_btn {
    background: linear-gradient(135deg, var(--splash_sudsy_blue) 0%, var(--splash_sudsy_blue) 100%) !important;
}

/* Shine effect for primary buttons */
.grn_btn::after,
.login_btn::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotateZ(60deg) translate(-5em, 7.5em);
}

.grn_btn:hover,
.grn_btn:focus,
.login_btn:hover,
.login_btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(43, 52, 145, 0.45);
    background: linear-gradient(135deg, var(--splash_sudsy_blue) 0%, var(--splash_blue) 100%);
    color: white;
}

.grn_btn:hover::after,
.login_btn:hover::after {
    animation: sheen 0.7s forwards;
}

@keyframes sheen {
    100% {
        transform: rotateZ(60deg) translate(1em, -9em);
    }
}

.grn_btn:active,
.login_btn:active {
    transform: translateY(0);
}

/* Payment gateway button styling */
#credit-card-submit button,
#credit-card-submit-update button {
    position: relative;
    overflow: hidden;
}

#credit-card-submit button::after,
#credit-card-submit-update button::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotateZ(60deg) translate(-5em, 7.5em);
    pointer-events: none;
}

#credit-card-submit button:hover,
#credit-card-submit-update button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(43, 52, 145, 0.4) !important;
    background: linear-gradient(135deg, #3dbeee 0%, #2b3491 100%) !important;
}

#credit-card-submit button:hover::after,
#credit-card-submit-update button:hover::after {
    animation: sheen 0.7s forwards;
}

#credit-card-submit button:active,
#credit-card-submit-update button:active {
    transform: translateY(0);
}

/* Secondary button - Subtle style */
.sec_btn {
    background-color: var(--hm_bg_light);
    color: var(--hm_text_color);
    border: 2px solid var(--hm_border_color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.sec_btn:hover,
.sec_btn:focus {
    background-color: white;
    border-color: var(--splash_blue);
    color: var(--splash_blue);
    box-shadow: 0 6px 16px rgba(43, 52, 145, 0.2);
    transform: translateY(-1px);
}

.sec_btn:active {
    transform: translateY(0);
}

/* Logout button */
.logout_btn {
    background: linear-gradient(135deg, var(--hm_info_text) 0%, var(--splash_blue) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.3);
}

.nav-item .logout_btn a.nav-link {
    color: white;
}

.nav-item .logout_btn a.nav-link:hover {
    color: white;
}

.logout_btn:hover,
.logout_btn:focus {
    background: linear-gradient(135deg, var(--splash_blue) 0%, var(--splash_navy) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(43, 52, 145, 0.45);
}

.form_btns {
    display: flex;
    justify-content: space-between;
}

.foot_links a {
    display: inline-block;
}

.foot_links {
    text-align: center;
}

.foot_links a,
.foot_links div.btntAndC {
    color: var(--hm_text_color);
    margin: 5px 0;
    padding: 0 5px;
    display: inline-block;
}

.foot_links a:hover {
    color: var(--splash_blue);
}

.foot_links {
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 15px 0;
}

/* Footer inline with card - no fixed positioning */
.loginSection .foot_links {
    position: static !important;
    margin-top: 1.5rem !important;
    padding: 1rem 0 0 0 !important;
    border-top: 1px solid rgba(61, 190, 238, 0.2) !important;
    text-align: center !important;
    background: transparent !important;
    width: 100% !important;
}

.foot_links a:first-child {
    border-right: 1px solid var(--hm_border_color);
}

.error_msg {
    font-size: 18px;
    color: var(--hm_red_text);
}

.history_list li {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #aaa;
}

.history_list li a,
.history_list li a:not([href]):not([class]) {
    color: var(--hm_text_color);
}

.history_list li a:hover {
    color: var(--splash_blue);
}

.history_list li span {
    display: block;
}

/* ========================================
   UNIFIED BACKGROUND - ALL PAGES
   ======================================== */

/* Apply modern background to all pages with home_bg class */
.home_bg,
.main_wrap {
    background: url('../images/background.webp') center center/cover no-repeat, var(--splash_blue);
    min-height: calc(100vh - 110px);
    position: relative;
    background-attachment: fixed;
}

/* Add dark blue overlay for better readability on all pages */
.home_bg::before,
.main_wrap::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(43, 52, 145, 0.85) 0%, rgba(28, 22, 78, 0.9) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Ensure content appears above the overlay */
.home_bg .container,
.main_wrap .container,
.home_bg > *,
.main_wrap > * {
    position: relative;
    z-index: 1;
}

.navbar>.container.hide,
.hide {
    display: none !important;
}

.error {
    color: #ff0000;
}

label.error {
    margin-left: 11px;
    margin-bottom: 21px;
}

ul.history_list {
    max-height: calc(100vh - 200px);
    overflow-x: hidden;
    overflow-y: auto;
}

/* Bootstrap button variants - unified modern style */
.btn-primary,
.btn-success,
.btn-dark,
.btn-lg,
.btn-block {
    background: linear-gradient(135deg, var(--splash_blue) 0%, var(--splash_navy) 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(43, 52, 145, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover,
.btn-success:hover,
.btn-dark:hover,
.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(43, 52, 145, 0.45) !important;
    background: linear-gradient(135deg, var(--splash_sudsy_blue) 0%, var(--splash_blue) 100%) !important;
    color: white !important;
}

.btn-primary:active,
.btn-success:active,
.btn-dark:active {
    transform: translateY(0);
}

/* Danger button - red variant */
.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #bd202a 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(220, 53, 69, 0.45) !important;
    background: linear-gradient(135deg, #c82333 0%, #a71d2a 100%) !important;
    color: white !important;
}

.btn-danger:active {
    transform: translateY(0);
}

/* Secondary button variant */
.btn-secondary {
    background-color: var(--hm_bg_light) !important;
    color: var(--hm_text_color) !important;
    border: 2px solid var(--hm_border_color) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background-color: white !important;
    border-color: var(--splash_blue) !important;
    color: var(--splash_blue) !important;
    box-shadow: 0 6px 16px rgba(43, 52, 145, 0.2);
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Specific button actions styling */
.btn_cancel,
.btn_pause,
.btn_resume {
    /* Inherits from .grn_btn */
    min-width: 180px;
}

/* Cancel button - optional red variant for destructive action */
.btn_cancel {
    background: linear-gradient(135deg, #dc3545 0%, #bd202a 100%) !important;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.btn_cancel:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71d2a 100%) !important;
    box-shadow: 0 12px 28px rgba(220, 53, 69, 0.45);
}

.bcode_box {
    width: 100%;
    max-width: 204px;
    margin: 25px auto;
    padding: 15px;
    border-radius: 10px;
}

.dropdown-menu.show {
    display: block;
    width: 100%;
    border-radius: 20px;
    max-width: 776px;
    border-color: var(--hm_border_color);
    padding: 15px;
}

.dropdown-menu li {
    border-top: 1px solid #dedede;
}

.dropdown-menu li a {
    padding: 8px;
}

.dropdown-menu li:first-child {
    border-top: none;
}

.dropdown .btn {
    text-align: left;
}

.dropdown .btn::after {
    text-align: left;
}

.dropdown-toggle::after {
    right: 20px;
    position: absolute;
    top: 30px;
}

iframe {
    width: 100%;
    height: 65px !important;
}

#tAndC .modal-dialog {
    max-width: 620px;
}

.btntAndC {
    display: contents;
    cursor: pointer;
}

.btntAndC:hover {
    color: var(--splash_blue);
}


/*--17jan--*/
.barcode_sec h4 {
    font-size: 1.2rem;
}

.change_plan_drop a.dropdown-item {
    padding: 10px;
    white-space: normal;
}

.dropdown .form-control {
    padding: 5px 22px 5px 15px;
    white-space: normal;
    overflow: hidden;
}

.membership_card {
    border-radius: 15px;
    padding: 0rem;
    margin-bottom: 40px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    background: white;
}

/*
    .membership_card:hover {
        border: 2px solid #13A085;
    }*/

.limit_desc {
    padding-bottom: 30px;
}

.limit_desc p {
    margin-top: 0;
    margin-bottom: 5px;
}

.DashboardunlimitedMembershipPlanSection .member_link {
    color: white;
    text-decoration: underline;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.DashboardunlimitedMembershipPlanSection .member_link:hover {
    color: var(--splash_sudsy_blue);
}

.divChoosmembership_border {
    border: 2px solid #1c164e !important;
}

/*.divListChoosmembership {
    overflow-y: scroll;
    max-height: 500px;
}*/
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: #1c164e;
    border-radius: 10px;
}

form_btn_exp .btn {
    height: 64px;
    max-width: 162px;
    width: 100%;
}

.form_btn_exp iframe {
    height: 80px !important;
}

/*#secure-payment-field-wrapper {
    border-right: 1px solid #b9bfd1 !important;
    border-radius: 18px !important;
}*/
.margin_bottom_current_plann {
    margin-bottom: -2px
}

.viewHistoryBackButton {
    margin-bottom: 20px;
    margin-top: 20px;
}

.logo img {
    max-height: 40px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

/* Fade in logo when it's loaded and visible */
.logo img:not(.hide) {
    opacity: 1;
}

/*.img_logo {
    vertical-align: middle;
    margin-right: auto;
}
.img_center {
    margin-left: auto;
}*/

.modal-dialog-scrollable .modal-body {
    scrollbar-width: thin;
}

.icon_hover:hover {
    color: blue !important;
    cursor: pointer;
}

/* Header : Hamburger Menu */
.portal_link_header {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.portal_link_header .dropdown-toggle::after {
    content: none;
}

.portal_link_header .dropdown-menu[data-bs-popper] {
    right: 0;
    left: auto;
    width: fit-content;
}

/* Footer image width */
.bcode_box img.imgfooter {
    max-width: 170px;
}

.divListChoosmembership p.card-text,
.divListChoosmembershipPrimary p.card-text {
    margin-bottom: 4px;
}

.inactive-account {
    background: #f5d8da;
    border: 2px solid #a96065;
    color: #831f26;
    font-weight: 500;
}

.fa-trash {
    font-size: 1.5rem;
}

.inactive-text {
    font-weight: bold;
    margin-bottom: 0px;
    margin-top: 1rem;
}


.slideThree {
    width: 80px;
    height: 26px;
    background: #333;
    position: relative;
    border-radius: 50px;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
}

.slideThree:after {
    content: 'NO';
    color: #fcfff4;
    position: absolute;
    right: 10px;
    z-index: 0;
    font: 12px/26px Arial, sans-serif;
    font-weight: bold;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
}

.slideThree:before {
    content: 'YES';
    color: #27ae60;
    position: absolute;
    left: 10px;
    z-index: 0;
    font: 12px/26px Arial, sans-serif;
    font-weight: bold;
}

.slideThree label {
    display: block;
    width: 34px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 1;
    background: #fcfff4;
    background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
}

.slideThree input[type=checkbox] {
    visibility: hidden;
}

.slideThree input[type=checkbox]:checked+label {
    left: 43px;
}

.inactivetoggle {
    float: left;
}

.remove-btn {
    height: 36px !important;
    min-width: 55px !important;
}

.hm_link_list li.liUpdateCC_alert {
    background-image: url(../images/red_alert.png);
    background-repeat: no-repeat;
    padding-left: 40px;
    background-position: center left;
    padding-top: 15px;
    padding-bottom: 15px;
}

.hm_link_list li.liUpdateCC_alert a {
    color: #bd202a;
}

.updateCardWarning-Message {
    color: #bd202a;
    display: none;
}

.inactive_renewwal_date_stats {
    color: #831f26;
    border: 2px solid #a96065;
    background: #fed5da;
}

.pnonrecInactiveAccountExpiry {
    color: #bd202a;
}

#sPostalCode {
    letter-spacing: 0.35rem;
    border: 1px solid #b9bfd1;
    border-radius: 19px !important;
    margin-bottom: 10px;
    width: 100%;
    height: 57px !important;
    box-sizing: border-box;
    font-size: 15px !important;
    outline: none;
    color: #363636 !important;
    background-color: #ffffff !important;
    padding: 0.375rem 0.75rem;
}

/* Accordion styling for wash history */
.accordion {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.accordion-item {
    background-color: white;
    border: none;
    border-bottom: 1px solid #e0e0e0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    color: var(--hm_text_color);
    text-decoration: none;
    background-color: white;
    padding: 18px 40px 18px 60px;
    font-weight: 600;
    border: none;
}

.accordion-button::after {
    background-image: url('../images/blue_arw.svg');
    background-repeat: no-repeat;
    padding-left: 40px;
    background-position: center left;
    padding-top: 15px;
    padding-bottom: 15px;
    width: var(--bs-accordion-btn-icon-width);
    height: var(--bs-accordion-btn-icon-width);
    background-size: inherit;
    transition: var(--bs-accordion-btn-icon-transition);
    margin-left: 0 !important;
    margin-right: 0.0e;
    order: -1;
}

.accordion-button:not(.collapsed)::after {
    background-image: url('../images/blue_arw_down.svg');
    background-repeat: no-repeat;
    padding-left: 40px;
    background-position: center left;
    padding-top: 15px;
    padding-bottom: 15px;
    width: var(--bs-accordion-btn-icon-width);
    height: var(--bs-accordion-btn-icon-width);
    background-size: inherit;
    transform: none;
}

.accordion-button:not(.collapsed) {
    color: var(--hm_text_color);
    background-color: white;
    box-shadow: none;
}

.accordion-button:focus {
    border: none;
    box-shadow: none;
}

.accordion-body {
    background-color: white;
    padding: 1.5rem;
}
.history_list.list-group-item{ 
    font-size: 14px;
}
.history_list{
    padding-left: 20px;
    padding-right: 20px;
}

#sPostalCode, #expDate-payment-form-2 {
    letter-spacing: 0.35rem;
    border: 1px solid #b9bfd1;
    border-radius: 19px !important;
    margin-bottom: 10px;
    width: 100%;
    height: 57px !important;
    box-sizing: border-box;
    font-size: 15px !important;
    outline: none;
    color: #363636 !important;
    background-color: #ffffff !important;
    padding: 0.375rem 0.75rem;
}
iframe {
border: none;
height: 57px;
}

/* Payment gateway buttons - unified style */
.cardknoxbutton,
#pay_button {
    background: linear-gradient(135deg, var(--splash_blue) 0%, var(--splash_navy) 100%) !important;
    width: 100% !important;
    font-size: 18px;
    font-weight: 600;
    border: none !important;
    border-radius: 16px;
    cursor: pointer;
    outline: none;
    color: #fff;
    height: 64px;
    line-height: 1.5;
    max-width: 172px;
    right: 0;
    box-shadow: 0 8px 20px rgba(43, 52, 145, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cardknoxbutton:hover,
#pay_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(43, 52, 145, 0.45) !important;
    background: linear-gradient(135deg, var(--splash_sudsy_blue) 0%, var(--splash_blue) 100%) !important;
}

.cardknoxbutton:active,
#pay_button:active {
    transform: translateY(0);
}

.ml_loader img {
    width: 50px;
}

/* ========================================
   UNIFIED HEADER STYLING - ALL PAGES
   ======================================== */

/* Universal header styling */
header {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
    max-height: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

/* Header container */
header .container {
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Navbar wrapper */
header .navbar {
    width: 100%;
    padding: 0;
}

/* Portal link header - flex container */
.portal_link_header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Logo and title wrapper - centered with vertical layout */
.portal_link_header > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    text-align: center;
}

/* Logo styling */
.logo {
    max-width: 180px;
    width: 180px;
    display: block;
    min-height: 60px;
}

/* Logo image - always visible */
.logo img {
    max-height: 60px;
    height: 60px;
    width: auto;
    max-width: 100%;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

/* Portal title - always visible */
.portal-title {
    font-size: 1.25rem;
    color: var(--splash_blue);
    font-weight: 600;
    margin: 0;
    padding: 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
    display: block;
}

h1.portal-title.mb-0 {
    font-size: 1.25rem;
    margin-bottom: 0 !important;
}

/* Burger menu - always positioned on right, hidden on login */
.afterLoginNamBar {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

/* Hide burger menu on login page only */
body:has(.loginSection:not(.hide)) .afterLoginNamBar {
    display: none !important;
}

/* Burger menu dropdown - highest z-index */
.afterLoginNamBar .dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
    z-index: 9999 !important;
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Ensure dropdown toggle has proper z-index */
.afterLoginNamBar .dropdown-toggle {
    z-index: 1001;
    position: relative;
}

/* Login section specific layout */
.loginSection.home_bg {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    overflow-y: auto;
}

/* Content positioning handled in unified background section above */

/* Login section specific container positioning */
.loginSection .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: -3rem;
    margin-bottom: 0;
}

/* Content cards for non-login pages - white background for readability */
.main_wrap:not(.loginSection) .container > .row > .col-md-12 > *:not(h3):not(p):not(.form_wrap):not(.wash_stats):not(.care_hours):not(.form_btns):not(a):not(ul):not(.accordion):not(div[class*="btn"]):not(.pull-right) {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Form wrappers get white background */
.main_wrap:not(.loginSection) .form_wrap {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

/* Hide care_hours completely in contact section */
.contectUsSection .care_hours {
    display: none !important;
}

/* Care hours - only show if it has content (for other sections) */
.main_wrap:not(.loginSection):not(.contectUsSection) .care_hours:not(:empty) {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

/* Titles and descriptions outside cards - white text for dark background */
.main_wrap:not(.loginSection) h3.title,
.main_wrap:not(.loginSection) > .container > .row > .col-md-12 > p:not(.form_wrap p) {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Modern card container for login form */
.loginSection .form-login-withFields {
    background: white;
    border-radius: 24px;
    padding: 2rem 2rem 2rem;
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1),
        0 20px 40px -10px rgba(43, 52, 145, 0.15);
    max-width: 480px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative element - top accent */
.loginSection .form-login-withFields::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--splash_blue) 0%, var(--splash_sudsy_blue) 100%);
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login page title styling */
.loginSection .title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--splash_blue) 0%, var(--splash_navy) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Welcome subtitle */
.loginSection .welcome-subtitle {
    text-align: center;
    color: var(--splash_navy);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
    opacity: 0.95;
}

/* Form wrapper */
.loginSection .form_wrap {
    padding: 1.25rem 0 0.75rem 0 !important;
}

/* Phone input field modern styling */
.loginSection .form-control {
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    height: 58px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding-left: 3.5rem;
    background: #fafafa;
    position: relative;
}

/* Phone icon styling */
.loginSection .form-control[name="phoneNumber"] {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%232b3491" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg>');
    background-repeat: no-repeat;
    background-position: 1.25rem center;
    background-size: 20px;
}

.loginSection .form-control:focus {
    border-color: var(--splash_sudsy_blue);
    box-shadow: 0 0 0 4px rgba(61, 190, 238, 0.12);
    background-color: white;
    outline: none;
}

.loginSection .form-control::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

/* Login button inherits from unified .login_btn and .grn_btn styles */

/* Barcode section styling */
.loginSection .barcode_sec {
    margin-top: 1.5rem !important;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(245, 238, 221, 0.5) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(43, 52, 145, 0.08);
    position: relative;
}

/* Info icon for barcode section */
.loginSection .barcode_sec::before {
    content: '🛈';
    position: absolute;
    top: 1.1rem;
    left: 1.25rem;
    font-size: 1.15rem;
    opacity: 0.7;
}

.loginSection .barcode_sec h4 {
    color: var(--splash_navy);
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    font-size: 1rem;
}

.loginSection .barcode_sec p {
    color: #5a5a5a;
    line-height: 1.6;
    font-size: 0.9rem;
    padding-left: 2rem;
    margin-bottom: 0;
}

/* Barcode box styling */
.loginSection .bcode_box {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem auto;
}

/* Footer link styling for login page */
.loginSection .foot_links a,
.loginSection .foot_links div.btntAndC {
    color: var(--splash_blue);
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.loginSection .foot_links a:hover,
.loginSection .foot_links div.btntAndC:hover {
    color: var(--splash_sudsy_blue);
}

.loginSection .foot_links .btntAndC {
    border-right: 2px solid rgba(43, 52, 145, 0.3);
    padding-right: 0.5rem;
    margin-right: 0.25rem;
}

/* Responsive adjustments - ALL PAGES */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
        height: 90px;
        max-height: 90px;
    }

    .logo {
        max-width: 140px;
        width: 140px;
        min-height: 50px;
    }

    .logo img {
        max-height: 50px;
        height: 50px;
    }

    .portal-title {
        font-size: 1rem;
    }

    header .container {
        padding: 0 1rem;
    }

    .portal_link_header > div:first-child {
        gap: 0.4rem;
    }

    .loginSection.home_bg {
        min-height: calc(100vh - 90px);
    }

    /* Make burger menu icon larger on mobile */
    .afterLoginNamBar .dropdown-toggle img {
        width: 28px;
        height: 28px;
    }

    /* Button adjustments for tablet */
    .btn {
        height: 56px;
        min-width: 140px;
        font-size: 16px;
    }

    .btn_cancel,
    .btn_pause,
    .btn_resume {
        min-width: 160px;
    }

    .cardknoxbutton,
    #pay_button {
        height: 56px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    header {
        padding: 0.75rem 0;
        height: 80px;
        max-height: 80px;
    }

    .logo {
        max-width: 110px;
        width: 110px;
        min-height: 40px;
    }

    .logo img {
        max-height: 40px;
        height: 40px;
    }

    .portal-title {
        font-size: 0.85rem;
        letter-spacing: 0.3px;
    }

    .portal_link_header > div:first-child {
        gap: 0.3rem;
    }

    header .container {
        padding: 0 0.75rem;
    }

    .loginSection.home_bg {
        min-height: calc(100vh - 80px);
    }

    /* Button adjustments for mobile */
    .btn {
        height: 52px;
        min-width: 120px;
        font-size: 15px;
        letter-spacing: 0.3px;
    }

    .btn_cancel,
    .btn_pause,
    .btn_resume {
        min-width: 140px;
        font-size: 14px;
    }

    .cardknoxbutton,
    #pay_button {
        height: 52px;
        font-size: 15px;
        max-width: 140px;
    }

    .form_btns {
        gap: 0.5rem;
    }

    /* Login form adjustments for mobile */
    .loginSection .form-login-withFields {
        padding: 1.75rem 1.5rem;
        border-radius: 20px;
    }

    .loginSection .title {
        font-size: 1.5rem;
    }

    .loginSection .welcome-subtitle {
        font-size: 0.95rem;
    }

    .loginSection .barcode_sec {
        padding: 1rem 1.25rem;
        margin-top: 1.25rem !important;
    }

    .loginSection .foot_links {
        position: static !important;
        margin-top: 1.25rem !important;
        padding: 0.75rem 0 0 0 !important;
    }
}

/* Ensure proper scrolling on login page */
.loginSection .container {
    max-height: none;
    overflow-y: visible;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Row needs to be full width for proper centering */
.loginSection .row {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
}