/* ===============================
   RESET / BASE
=============================== */
#mf-login-form,
#mf-login-form * ,
#mf-otp-modal,
#mf-otp-modal * {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* ===============================
   LOGIN FORM
=============================== */
#mf-login-form {
    max-width: 420px;
    margin: 60px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#mf-login-form h2 {
    text-align: center;        /* CENTER HEADING */
    margin-bottom: 25px;
    font-size: 22px;
    color: #333;
}

#mf-login-form input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    cursor: text;
}

#mf-login-form input:focus {
    outline: 2px solid #0a7cff;
    outline-offset: 1px;
}

/* LOGIN BUTTON */
#mf-login-form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0a7cff, #0047b3);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

#mf-login-form button:hover {
    opacity: 0.9;
}

/* ===============================
   OTP MODAL
=============================== */
#mf-otp-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.mf-otp-box {
    background: #ffffff;
    padding: 25px;
    width: 100%;
    max-width: 360px;
    border-radius: 10px;
    text-align: center;
    animation: mfFadeIn 0.3s ease;
}

.mf-otp-box h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.mf-otp-box input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    cursor: text;
}

.mf-otp-box input:focus {
    outline: 2px solid #0a7cff;
    outline-offset: 1px;
}

/* ===============================
   OTP BUTTONS (FIXED)
=============================== */
#mf-verify,
#mf-resend {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}

/* VERIFY BUTTON */
#mf-verify {
    background: linear-gradient(135deg, #0a7cff, #0047b3);
    color: #fff;
}

#mf-verify:hover {
    opacity: 0.9;
}

/* RESEND BUTTON */
#mf-resend {
    background: #f1f1f1;
    color: #333;
}

#mf-resend:hover {
    background: #e5e5e5;
}

/* ===============================
   ERROR & SUCCESS MESSAGES
=============================== */
.mf-error {
    display: none;
    color: #d63638;
    background: #ffecec;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 14px;
}

.mf-success {
    color: #0a7cff;
    background: #e8f2ff;
    padding: 8px 10px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 14px;
}

/* ===============================
   ANIMATION
=============================== */
@keyframes mfFadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===============================
   MOBILE RESPONSIVE
=============================== */
@media (max-width: 480px) {
    #mf-login-form {
        margin: 30px 15px;
        padding: 20px;
    }

    .mf-otp-box {
        margin: 0 15px;
    }
}


/* =====================
   MaxFord Header Buttons
===================== */

.mf-header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mf-header-buttons .mf-btn {
    background-color: #1e3a8a; /* Blue */
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25);
}

/* Hover effect */
.mf-header-buttons .mf-btn:hover {
    background-color: #172554; /* darker blue */
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(30, 58, 138, 0.35);
}

/* Logout button (red accent) */
.mf-header-buttons .mf-logout {
    background-color: #b91c1c;
}

.mf-header-buttons .mf-logout:hover {
    background-color: #7f1d1d;
}

/* Mobile friendly */
@media (max-width: 768px) {
    .mf-header-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .mf-header-buttons .mf-btn {
        width: 100%;
        text-align: center;
    }
}

.customer-form-wrapper .heading {
 text-align:center;
}


/*  Customer Form */


/* Left group */
.acf-left {
    padding-right: 15px;
}

/* Right group */
.acf-right {
   padding-left: 15px !important;
    clear: none !important;
    border: 0 !important;
}


/* Optional: spacing */
.acf-field-group {
    margin-bottom: 20px;
}

.acf-fields>.acf-field {
    border: 0 !important;
    padding: 12px !important;
}

.customer-form-wrapper select {
    height: 42px;
}

.acf-field-group {
    min-height:0 !important;
}

@media (max-width: 768px) {
    .acf-half {
        width: 100% !important;
        float: none;
        padding: 0;
    }
}

.bprice-block .acf-fields {
    border: 0 !important;
}

.selection-list li {
    padding: 12px !important;
}


ul.br-breadcrumb {
    list-style: none;
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
    z-index: 1;
    position: relative;
}

ul.br-breadcrumb li {
    position: relative;
    padding-right: 18px;
}

/* Arrow ONLY after Home (first item) */
ul.br-breadcrumb li:first-child::after {
    content: '\f054';
    font-family: "Font Awesome 5 Pro";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 10px;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

/* Force-remove arrows from all other items */
ul.br-breadcrumb li:not(:first-child)::after {
    content: none !important;
}

ul.br-breadcrumb li a {
    color: #fff;
}


/*---------menu css -----------------*/

/* Hide mobile-only menu items by default */
.mf-mobile-only {
    display: none !important;
}

/* Mobile breakpoint (Solaria uses ~991px) */
@media (max-width: 991px) {

    /* Show mobile-only items */
    .mf-mobile-only {
        display: block !important;
    }

    /* Logged-in / logged-out logic */
    body.logged-in .mf-logged-out {
        display: none !important;
    }

    body.logged-in .mf-logged-in {
        display: block !important;
    }

    body:not(.logged-in) .mf-logged-in {
        display: none !important;
    }

    body:not(.logged-in) .mf-logged-out {
        display: block !important;
    }
}














