@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /AccountC/ChangePassword.razor.rz.scp.css */

/* ============================ */
/* FULL SCREEN LOGIN / CHANGE PASSWORD FORM */
/* Cream + Gold Premium UI/UX */
/* ============================ */

/* ---------- FULL SCREEN CENTER ---------- */
.full-screen-center[b-83x0uhfav9] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #fbf6eb 0%, #f7f1e3 100%);
    padding: 1rem;
}

/* ---------- LOGIN CONTAINER ---------- */
.login-container[b-83x0uhfav9] {
    max-width: 420px;
    width: 100%;
    padding: 40px 30px;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
    border: 1px solid #e6d3a3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .login-container:hover[b-83x0uhfav9] {
        transform: translateY(-3px);
        box-shadow: 0 1rem 2rem rgba(0,0,0,0.15);
    }

/* ---------- HEADER ---------- */
.login-header-container[b-83x0uhfav9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.login-logo[b-83x0uhfav9] {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    background-color: #fbf6eb;
}

.login-header-text[b-83x0uhfav9] {
    font-size: 1.8rem;
    color: #c9a24d;
    font-weight: 700;
    text-align: center;
}

/* ---------- FORM CONTROLS ---------- */
.form-control[b-83x0uhfav9] {
    height: 3.5rem;
    border-radius: 12px;
    border: 1px solid #e6d3a3;
    padding: 0.5rem 1rem;
    color: #2b2b2b;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

    .form-control:focus[b-83x0uhfav9] {
        border-color: #c9a24d;
        box-shadow: 0 0 0 3px rgba(201,162,77,0.25);
        outline: none;
    }

/* ---------- GRADIENT BUTTONS ---------- */
.btn-login[b-83x0uhfav9] {
    background: #F9D78A;
    color: #231F20;
    border: none;
    border-radius: 12px;
    padding: 12px 0;
    font-weight: 600;
    transition: all 0.25s ease;
}

    .btn-login:hover:not(:disabled)[b-83x0uhfav9] {
        background: linear-gradient( 90deg, #F3CE7A, #F9D78A, #F3CE7A );
        border-color: #231F20;
        color: #231F20;
        transform: translateY(-2px);
        box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.15);
    }

button.btn-danger[b-83x0uhfav9] {
    background: linear-gradient(135deg, #c94d4d, #a83232);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 0;
    font-weight: 600;
    transition: all 0.25s ease;
}

    button.btn-danger:hover:not(:disabled)[b-83x0uhfav9] {
        background: linear-gradient(135deg, #a83232, #c94d4d);
        transform: translateY(-2px);
        box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.15);
    }

/* ---------- SPINNER IN BUTTON ---------- */
button:disabled .spinner-border[b-83x0uhfav9] {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 576px) {

    .login-container[b-83x0uhfav9] {
        padding: 30px 20px;
    }

    .login-header-text[b-83x0uhfav9] {
        font-size: 1.5rem;
    }

    .form-control[b-83x0uhfav9] {
        height: 3rem;
        font-size: 0.95rem;
    }

    .btn-login[b-83x0uhfav9],
    button.btn-danger[b-83x0uhfav9] {
        padding: 10px 0;
        font-size: 0.95rem;
    }
}





/* ===============================
   BRAND HEADER FIX (RESPONSIVE)
================================ */

.login-brand-header[b-83x0uhfav9] {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 1rem auto;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    background: transparent; /* remove heavy box feel */
    border: none;
    box-shadow: none;
}

    /* LOGO IMAGE */
    .login-brand-header img[b-83x0uhfav9] {
        /*max-width: 200px;*/ /* desktop limit */
        width: 60%;
        height: auto;
        object-fit: contain;
    }

    /* BRAND TITLE */
  


    /* Title */
    .login-brand-header h1[b-83x0uhfav9] {
        margin: 0;
        font-weight: 700;
        line-height: 1.2;
        font-size: clamp(1.1rem, 4.5vw, 1.6rem);
        color: #c9a24d; /* gold */
        pointer-events: none; /* not clickable */
        user-select: none; /* no text highlight */
    }

    .login-brand-header h1[b-83x0uhfav9] {
        outline: none !important;
    }

















/* ===============================
   RESPONSIVE FIX
================================ */

@media (max-width: 768px) {

    .login-brand-header img[b-83x0uhfav9] {
        max-width: 140px;
        width: 70%;
    }

    .login-brand-header h1[b-83x0uhfav9] {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {

    .login-brand-header img[b-83x0uhfav9] {
        max-width: 120px;
        width: 80%;
    }

    .login-brand-header h1[b-83x0uhfav9] {
        font-size: 1.05rem;
    }
}
/* /AccountC/Manage.razor.rz.scp.css */


/* ============================ */
/* FORM CARDS, INPUTS & GRADIENT BUTTONS */
/* Cream + Gold Premium UI/UX */
/* ============================ */

/* ---------- FORM CARD ---------- */


/*.manage-page {
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 100px;
}

.form-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.05);
    border: 1px solid #e6d3a3;
}

    .form-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    }*/

/* ---------- INPUTS ---------- */
/*input.form-control,
textarea.form-control,
select.form-control {
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    border: 1px solid #d6caa5;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    color: #2b2b2b;
    background-color: #ffffff;
}

    input.form-control:focus,
    textarea.form-control:focus,
    select.form-control:focus {
        border-color: #c9a24d;
        box-shadow: 0 0 0 3px rgba(201,162,77,0.25);
        outline: none;
    }*/

/* ---------- PRIMARY GRADIENT BUTTON ---------- */
/*button.btn-primary {
    background: linear-gradient(135deg, #c9a24d, #8c6b1f);
    color: #ffffff;
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    padding: 0.55rem 1.5rem;
    transition: all 0.25s ease;
}

    button.btn-primary:hover:not(:disabled) {
        background: linear-gradient(135deg, #8c6b1f, #c9a24d);
        transform: translateY(-2px);
        box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.15);
    }*/

/* ---------- DANGER GRADIENT BUTTON ---------- */
/*button.btn-danger {
    background: linear-gradient(90deg, #c94d4d, #a83232);
    color: #ffffff;
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    padding: 0.55rem 1.5rem;
    transition: all 0.25s ease;
}

    button.btn-danger:hover:not(:disabled) {
        background: linear-gradient(90deg, #a83232, #c94d4d);
        transform: translateY(-2px);
        box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.15);
    }*/

/* ---------- DISABLED BUTTON ---------- */
/*button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}*/

/* ---------- RESPONSIVE ---------- */
/*@media (max-width: 768px) {

    .form-card {
        padding: 1rem;
    }

    input.form-control,
    textarea.form-control,
    select.form-control {
        font-size: 0.95rem;
        padding: 0.45rem 0.9rem;
    }

    button.btn-primary,
    button.btn-danger {
        font-size: 0.95rem;
        padding: 0.45rem 1.25rem;
    }
}

@media (max-width: 480px) {

    .form-card {
        padding: 0.75rem;
    }

    input.form-control,
    textarea.form-control,
    select.form-control {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    button.btn-primary,
    button.btn-danger {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
}*/



/* ============================ */
/* FORM CARDS, INPUTS & BUTTONS */
/* SHOP THEME — FONT & COLOR ONLY */
/* ============================ */

.manage-page[b-fo9qqo1tdk] {
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 100px;
    font-family: 'Alexandria', sans-serif;
    background-color: #F9F3E6;
    color: #231F20;
}

/* ---------- FORM CARD ---------- */
.form-card[b-fo9qqo1tdk] {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.05);
    border: 1.5px solid #231F20;
}

    .form-card:hover[b-fo9qqo1tdk] {
        transform: translateY(-4px);
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    }

/* ---------- INPUTS ---------- */
input.form-control[b-fo9qqo1tdk],
textarea.form-control[b-fo9qqo1tdk],
select.form-control[b-fo9qqo1tdk] {
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    border: 1.5px solid #231F20;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    color: #231F20;
    background-color: #ffffff;
    font-family: 'Alexandria', sans-serif;
}

    input.form-control:focus[b-fo9qqo1tdk],
    textarea.form-control:focus[b-fo9qqo1tdk],
    select.form-control:focus[b-fo9qqo1tdk] {
        border-color: #231F20;
        box-shadow: 0 0 0 3px rgba(35,31,32,0.25);
        outline: none;
    }

/* ---------- PRIMARY BUTTON ---------- */
button.btn-primary[b-fo9qqo1tdk] {
    background: #231F20;
    color: #F9F3E6;
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    padding: 0.55rem 1.5rem;
    transition: all 0.25s ease;
    font-family: 'Alexandria', sans-serif;
}

    button.btn-primary:hover:not(:disabled)[b-fo9qqo1tdk] {
        background: #000000;
        transform: translateY(-2px);
        box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.15);
    }

/* ---------- DANGER BUTTON ---------- */
button.btn-danger[b-fo9qqo1tdk] {
    background: #b91c1c;
    color: #ffffff;
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    padding: 0.55rem 1.5rem;
    transition: all 0.25s ease;
    font-family: 'Alexandria', sans-serif;
}

    button.btn-danger:hover:not(:disabled)[b-fo9qqo1tdk] {
        background: #991b1b;
        transform: translateY(-2px);
        box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.15);
    }

/* ---------- DISABLED BUTTON ---------- */
button:disabled[b-fo9qqo1tdk] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {

    .form-card[b-fo9qqo1tdk] {
        padding: 1rem;
    }

    input.form-control[b-fo9qqo1tdk],
    textarea.form-control[b-fo9qqo1tdk],
    select.form-control[b-fo9qqo1tdk] {
        font-size: 0.95rem;
        padding: 0.45rem 0.9rem;
    }

    button.btn-primary[b-fo9qqo1tdk],
    button.btn-danger[b-fo9qqo1tdk] {
        font-size: 0.95rem;
        padding: 0.45rem 1.25rem;
    }
}

@media (max-width: 480px) {

    .form-card[b-fo9qqo1tdk] {
        padding: 0.75rem;
    }

    input.form-control[b-fo9qqo1tdk],
    textarea.form-control[b-fo9qqo1tdk],
    select.form-control[b-fo9qqo1tdk] {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    button.btn-primary[b-fo9qqo1tdk],
    button.btn-danger[b-fo9qqo1tdk] {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
}
/* /Account/Login.razor.rz.scp.css */




/* ===== LOGIN PAGE – BOUTIQUE GOLD & RESPONSIVE ===== */

html[b-7kj615w1li], body[b-7kj615w1li] {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Alexandria';
}

body[b-7kj615w1li] {
  
    direction: rtl;
    background: #fbf6eb; /* same cream as site */
    color: #231F20;
}

/* =========================
   WRAPPER
========================= */

.login-wrapper[b-7kj615w1li] {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* =========================
   BRAND HEADER
========================= */

/*.login-brand-header {
    width: 100%;
    padding-block: clamp(1.8rem, 4vw, 3rem);
    padding-inline: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
    background: #fbf6eb;*/ /* light cream section */
    /*border-bottom-left-radius: clamp(1.5rem, 4vw, 2.5rem);
    border-bottom-right-radius: clamp(1.5rem, 4vw, 2.5rem);
}*/




.login-brand-header[b-7kj615w1li] {
    width: min(92%, 420px); /* SAME as login card */
    margin-top: 2rem;
    margin-inline: auto;
    padding: 1.6rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e6d3a3;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}









    /* Logo */
    .login-brand-header img[b-7kj615w1li] {
        max-width: 100%;
        width: clamp(180px, 70%, 300px);
        height: auto;
        object-fit: contain;
        display: block;
    }

    /* Title */
    .login-brand-header h1[b-7kj615w1li] {
        margin: 0;
        font-weight: 700;
        line-height: 1.2;
        font-size: clamp(1.1rem, 4.5vw, 1.6rem);
        color: #c9a24d; /* gold */
        pointer-events: none; /* not clickable */
        user-select: none; /* no text highlight */
    }

    .login-brand-header h1[b-7kj615w1li] {
        outline: none !important;
    }

        .login-brand-header h1:focus[b-7kj615w1li],
        .login-brand-header h1:focus-visible[b-7kj615w1li] {
            outline: none !important;
            box-shadow: none !important;
        }








/* =========================
   LOGIN CARD
========================= */

.login-container[b-7kj615w1li] {
    width: min(92%, 420px);
    margin-top: clamp(1.2rem, 4vw, 2rem);
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e6d3a3;
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

/* =========================
   FORM SECTION
========================= */

.login-form-section[b-7kj615w1li] {
    padding: clamp(18px, 4vw, 32px) clamp(16px, 4vw, 28px);
}

/* =========================
   INPUTS
========================= */

.form-floating > label[b-7kj615w1li] {
    right: 0;
    left: unset;
    transform-origin: top right;
    color: #6b6b6b;
}

.form-control[b-7kj615w1li] {
    height: clamp(2.6rem, 8vw, 3rem);
    border-radius: 10px;
    font-size: clamp(0.85rem, 3vw, 0.95rem);
    border: 1px solid #e6d3a3;
}

    .form-control:focus[b-7kj615w1li] {
        border-color: #c9a24d;
        box-shadow: 0 0 0 0.15rem rgba(201,162,77,0.25);
    }

/* =========================
   BUTTON
========================= */









.btn-login[b-7kj615w1li] {
    background: #F9D78A;
    color: #231F20;
    border: 1.5px solid #231F20;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: 0.25s ease;
}

    .btn-login:hover[b-7kj615w1li] {
        background: linear-gradient( 90deg, #F3CE7A, #F9D78A, #F3CE7A );
        border-color: #231F20;
        color: #231F20;
        box-shadow: 0 6px 14px rgba(0,0,0,0.22);
        transform: translateY(-1px);
    }

/* =========================
   SMALL TEXT / LINKS
========================= */

.login-container a[b-7kj615w1li] {
    color: #c9a24d;
    text-decoration: none;
    font-weight: 500;
}

    .login-container a:hover[b-7kj615w1li] {
        text-decoration: underline;
    }

/* =========================
   MOBILE EXTRA TUNING
========================= */

@media (max-width: 360px) {
    .login-brand-header h1[b-7kj615w1li] {
        font-size: 1.1rem;
    }
}

/* ===== REMOVE CHROME AUTOFILL BLUE ===== */

input:-webkit-autofill[b-7kj615w1li],
input:-webkit-autofill:hover[b-7kj615w1li],
input:-webkit-autofill:focus[b-7kj615w1li],
input:-webkit-autofill:active[b-7kj615w1li] {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #2b2b2b !important;
    border: 1px solid #c9a24d !important;
    transition: background-color 9999s ease-in-out 0s;
}

/* Keep gold focus glow */
.form-control:focus[b-7kj615w1li],
.form-control:focus-visible[b-7kj615w1li] {
    border-color: #c9a24d !important;
    box-shadow: 0 0 0 0.2rem rgba(201, 162, 77, 0.25) !important;
    outline: none !important;
}



/* === FORCE GOLD INPUT FOCUS === */
.form-control:focus[b-7kj615w1li],
.form-control:focus-visible[b-7kj615w1li] {
    border-color: #c9a24d !important;
    outline: none !important;
    box-shadow: 0 0 0 0.18rem rgba(201,162,77,0.3) !important;
}

.form-floating:focus-within[b-7kj615w1li] {
    border-color: transparent !important;
    box-shadow: none !important;
}

/* /Layout/ClientLayout.razor.rz.scp.css */

/* ---------------------------------------
   Modern Clean Mobile-First Header (GOLD THEME)
---------------------------------------- */




:root[b-8ju15dofip] {
    --header-height: 80px;
}





.ecom-header[b-8ju15dofip] {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: #F9F3E6;
    isolation: isolate; /* 🔥 prevents z-index chaos */
}










    /* ❗ kill any pseudo borders */
    .ecom-header[b-8ju15dofip]::before,
    .ecom-header[b-8ju15dofip]::after {
        content: none !important;
        display: none !important;
    }














    /* 🔒 Header row must NEVER wrap */
    .ecom-header .container-fluid[b-8ju15dofip] {
        display: flex;
        align-items: center;
        justify-content: space-between;
      
      
       
      
    }

        .ecom-header .container-fluid[b-8ju15dofip]::-webkit-scrollbar {
            display: none; /* Chrome / Android */
        }


    .ecom-header .nav[b-8ju15dofip] {
        display: flex;
      

        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }

    /* inner spacing ONLY */
   
    .ecom-header .ecom-brand[b-8ju15dofip] {
        padding-inline: 10px;
    }

/* ---------------------------------------
   BRAND
---------------------------------------- */
.ecom-brand[b-8ju15dofip],
.icon-btn[b-8ju15dofip] {
    display: flex;
    align-items: center;
}

.brand-logo[b-8ju15dofip] {
  width: 200px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    padding: 3px;
}

.brand-title[b-8ju15dofip] {
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(90deg, #8c6b1f, #c9a24d, #8c6b1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------------------------------------
   ICON BUTTONS
---------------------------------------- */
.icon-btn[b-8ju15dofip] {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e6d3a3;
    color: #8c6b1f;
    font-size: 1.1rem;
    position: relative;
    transition: 0.15s ease;
    box-shadow: 0 4px 12px rgba(140, 107, 31, 0.22);
}

    .icon-btn:hover[b-8ju15dofip] {
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(140, 107, 31, 0.32);
    }

    .icon-btn:active[b-8ju15dofip] {
        transform: scale(0.94);
    }

/* ---------------------------------------
   NOTIFICATION BADGE
---------------------------------------- */
.notif-count[b-8ju15dofip] {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    background: linear-gradient(90deg, #8c6b1f, #c9a24d);
    color: #ffffff;
    font-size: 0.68rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(140, 107, 31, 0.35);
}

/* ===============================
   NOTIFICATION DROPDOWN – PRO
================================ */

.notif-dropdown[b-8ju15dofip] {
    background: #ffffff;
    min-width: 320px;
    max-width: 420px;
    max-height: 65vh;
    overflow-y: auto;
    border-radius: 18px;
    border: 1px solid #e6d3a3;
    box-shadow: 0 18px 45px rgba(140, 107, 31, 0.35);
    padding: 0;
}

    /* Header row */
    .notif-dropdown > li:first-child[b-8ju15dofip] {
        position: fixed;
        top: 0;
        background: #fff;
        z-index: 5;
        border-bottom: 1px solid #f0e6c8;
    }

/* ===============================
   NOTIFICATION ITEM
================================ */

.notif-item[b-8ju15dofip] {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f4f4f4;
    transition: background 0.15s ease;
}

    .notif-item:hover[b-8ju15dofip] {
        background: #faf7ef;
    }

    /* Content */
    .notif-item > div[b-8ju15dofip] {
        flex: 1;
        min-width: 0;
    }

    /* Title */
    .notif-item .fw-bold[b-8ju15dofip] {
        font-size: 0.9rem;
        font-weight: 700;
        color: #2a3b55;
        margin-bottom: 2px;
    }

    /* Message */
    .notif-item .small[b-8ju15dofip] {
        font-size: 0.78rem;
        color: #6b7280;
        line-height: 1.3;
    }

    /* Time */
    .notif-item .time-badge[b-8ju15dofip] {
        display: inline-block;
        margin-top: 6px;
        font-size: 0.68rem;
        color: #9ca3af;
    }

    /* Delete button */
    .notif-item .btn[b-8ju15dofip] {
        align-self: flex-start;
        padding: 4px;
        opacity: 0.45;
    }

        .notif-item .btn:hover[b-8ju15dofip] {
            opacity: 1;
            color: #dc2626;
        }

/* Empty state */
.notif-dropdown .dropdown-item.text-center[b-8ju15dofip] {
    padding: 24px;
    font-size: 0.85rem;
    color: #9ca3af;
}
/* ---------------------------------------
   MOBILE OPTIMIZATION
---------------------------------------- */
@media (max-width: 480px) {


    :root[b-8ju15dofip] {
        --header-height:80x;
    }

    .ecom-header[b-8ju15dofip] {
        height: 80px; /* 👈 مهم */
        min-height: 40px; /* 👈 لا يختفي */
    }

    .brand-logo[b-8ju15dofip] {
        display: none;
    }

    .brand-title[b-8ju15dofip] {
        display: none;
    }

    .icon-btn[b-8ju15dofip] {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .notif-dropdown[b-8ju15dofip] {
        position: absolute; /* 🔥 allow Bootstrap to control it */
        inset-inline: 8px;
        top: 100%; /* 🔥 anchor below bell */
        right: 0; /* 🔥 align with icon */
        margin-top: 8px;
        max-width: calc(100vw - 16px);
        max-height: calc(100svh - 80px);
        border-radius: 20px;
    }
}

/* ---------------------------------------
   DESKTOP ENHANCEMENTS
---------------------------------------- */
@media (min-width: 992px) {
   

    .brand-title[b-8ju15dofip] {
        display: inline-block;
    }

    .icon-btn[b-8ju15dofip] {
        width: 44px;
        height: 44px;
    }


    .mobile-nav-scroll[b-8ju15dofip] {
        display: none;
    }





}


@media (min-width: 770px) {
    .mobile-nav-scroll[b-8ju15dofip] {
        display: none !important;
    }
}



@media (max-width: 770px) {
    .mobile-nav-scroll[b-8ju15dofip] {
        top:100px;
    }
}













/* ---------------------------------------
   BODY SPACING
---------------------------------------- */
/*main.modern-main,
body > .container,
body > .container-fluid {
    padding-top: 500px;
}
*/

/* Main content spacing */
.modern-main[b-8ju15dofip] {
     padding-top: calc(var(--header-height) + 20px);
    /*padding-top: calc(var(--header-height) + 55px);*/
    padding-bottom: 120px; 
}









/* ---------------------------------------
   TOOLTIP (GOLD THEME)
---------------------------------------- */
.tooltip-label[b-8ju15dofip] {
    display: block;
    max-width: 120px;
    min-width: 60px;
    font-size: 0.75rem;
    text-align: center;
    color: #ffffff;
    background: rgba(42, 59, 85, 0.9);
    border-radius: 6px;
    padding: 4px 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 4px auto 0 auto;
    box-shadow: 0 3px 10px rgba(0,0,0,0.35);
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    position: absolute;
    z-index: 1000;
}

/* Show tooltip */
.icon-btn:hover + .tooltip-label[b-8ju15dofip],
.icon-btn:focus + .tooltip-label[b-8ju15dofip] {
    opacity: 1;
    transform: translateY(-8px);
}

/* Mobile tooltip refinement */
@media (max-width: 480px) {
    .tooltip-label[b-8ju15dofip] {
        font-size: 0.8rem;
        max-width: 120px;
        padding: 6px 8px;
        border-radius: 8px;
        background: rgba(42, 59, 85, 0.95);
        box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    }


   




}


/* Wrapper (optional, just semantic) */
.install-banner-wrapper[b-8ju15dofip] {
    pointer-events: none;
   
}

/* Base banner */
.install-banner[b-8ju15dofip] {
    position: fixed;
    top:85px;              /*  var(--header-height);*/
    inset-inline: 0; /* 👈 KEY FIX */

    width: 100%;
    max-width: 100%;
    z-index: 2000;
    background: #F9D78A;
    color: #231F20;
    padding: 12px 16px; /* ⬅ padding up & down */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    pointer-events: auto; /* يسمح بالضغط */
    box-sizing: border-box;
}

    /* iOS variant */
    .install-banner.ios[b-8ju15dofip] {
        background: #F9D78A;
    }

    /* Text */
    .install-banner .banner-text[b-8ju15dofip] {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.3;
    }

    .install-banner small[b-8ju15dofip] {
        display: block;
        font-size: 12px;
        opacity: 0.9;
        margin-top: 2px;
        max-width: 100vw; /* 👈 extra safety */
    }

/* Buttons */
.banner-actions[b-8ju15dofip] {
    display: flex;
    gap: 8px;
}

    .banner-actions .btn[b-8ju15dofip] {
        border-radius: 20px;
        white-space: nowrap;
    }

/* Mobile adjustments */
@media (max-width: 480px) {
    .install-banner[b-8ju15dofip] {
        top: 52px;
        flex-direction: column;
        align-items: flex-start;
    }

    .banner-actions[b-8ju15dofip] {
        width: 100%;
        justify-content: flex-end;
    }
}


@media (max-width: 380px) {
    .form-range[b-8ju15dofip] {
        width: 60px !important;
    }

    .volume-percent[b-8ju15dofip] {
        display: none; /* optional but recommended */
    }
}










/* =========================
   MOBILE NAV SCROLL (APP STYLE)
========================= */
/*.mobile-nav-scroll {
   
    display: flex;
    top: 0;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 12px;
    background: #F9F3E6;
    border-bottom: 1px solid #e6d3a3;
    scrollbar-width: none;
}*/


.mobile-nav-scroll[b-8ju15dofip] {
   /* position: sticky;
    top: var(--header-height);*/
   top:90px;
   position:relative;
    z-index: 999;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 12px;
    background: #F9F3E6;
    border-bottom: 1px solid #e6d3a3;
    scrollbar-width: none;
}










    .mobile-nav-scroll[b-8ju15dofip]::-webkit-scrollbar {
        display: none;
    }

/* CHIP BUTTON */
.nav-chip[b-8ju15dofip] {
    flex: 0 0 auto;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e6d3a3;
    font-size: 0.9rem;
    font-weight: 700;
    color: #231F20;
    white-space: nowrap;
    transition: 0.2s ease;
}

    /* ACTIVE */
    .nav-chip.active[b-8ju15dofip] {
        background: #F9D78A;
        border-color: #231F20;
    }

    /* TAP FEEDBACK */
    .nav-chip:active:not(:disabled)[b-8ju15dofip] {
        transform: scale(0.96);
    }

    /* DISABLED */
    .nav-chip:disabled[b-8ju15dofip] {
        opacity: 0.4;
        pointer-events: none;
    }
















/* =========================
   HIDE HEADER ICONS ON MOBILE
========================= */
@media (max-width: 768px) {


    /* ❌ أخفِ أيقونات التنقل (لأنها موجودة في mobile chips) */
    .ecom-header .nav-item.shop[b-8ju15dofip],
    .ecom-header .nav-item.cart[b-8ju15dofip],
    .ecom-header .nav-item.records[b-8ju15dofip],
    .ecom-header .nav-item.manage[b-8ju15dofip],
    .ecom-header .nav-item.logout[b-8ju15dofip] {
        display: none !important;
    }

    /* ✅ أبقِ الإشعارات مثل الديسكتوب */
    .ecom-header .nav-item.notifications[b-8ju15dofip] {
        display: flex !important;
    }

    /* ✅ أبقِ الصوت */
    .ecom-header .nav-item.volume[b-8ju15dofip] {
        display: flex !important;
    }
    .ecom-header .nav-item.push[b-8ju15dofip] {
        display: flex !important;
    }

    /* ❌ أخفِ tooltips على الموبايل */
    .ecom-header .tooltip-label[b-8ju15dofip] {
        display: none !important;
    }













    /* أخفِ كل أزرار الأيقونات */
    /*.ecom-header .icon-btn {
        display: none !important;
    }*/

    /* أخفِ tooltip المرتبط بها */
    /*.ecom-header .tooltip-label {
        display: none !important;
    }*/

    /* أخفِ عناصر nav-item التي تحتوي فقط على أيقونات */
    /*.ecom-header .nav-item {
        display: none;
    }*/

    /* لكن اسمح بعرض زر تثبيت التطبيق إن وُجد */
    .ecom-header .btn.btn-primary[b-8ju15dofip] {
        display: inline-flex !important;
    }
}








/* BACKDROP */
.mobile-sheet-backdrop[b-8ju15dofip] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1500;
}

/* SHEET */
.mobile-sheet[b-8ju15dofip] {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    background: #ffffff;
    border-radius: 18px 18px 0 0;
    padding: 16px;
    z-index: 1501;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
}

    /* BUTTONS */
    .mobile-sheet button[b-8ju15dofip] {
        width: 100%;
        padding: 12px;
        text-align: start;
        font-size: 1rem;
        border: none;
        background: transparent;
        border-radius: 10px;
    }

        .mobile-sheet button:hover[b-8ju15dofip] {
            background: #f3f4f6;
        }

        .mobile-sheet button.danger[b-8ju15dofip] {
            color: #dc2626;
            font-weight: 700;
        }

















/* /Layout/MainLayout.razor.rz.scp.css */

.page_client[b-t2sbag0ka3] {
    padding-top: 100px;
    position: relative;
    display: flex;
    flex-direction: column;

}


.page[b-t2sbag0ka3] {
    position: relative;
    display: flex;
    flex-direction: column;
}









main[b-t2sbag0ka3] {
    flex: 1;
   overflow-y: auto;
    overflow-x: hidden;
}



.sidebar[b-t2sbag0ka3] {
    background: linear-gradient(135deg, #fbf6eb, #f7f1e3);
    transition: all 0.3s ease;
    border-right: 1px solid #e6d3a3;
}


.top-row[b-t2sbag0ka3] {
    background-color: #fbf6eb;
    border-bottom: 1px solid #e6d3a3;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    z-index: 99999999 !important;
}

    .top-row[b-t2sbag0ka3]  a,
    .top-row[b-t2sbag0ka3]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        font-size: 0.9rem;
        padding: 0.25rem 0.5rem;
        color: #2b2b2b;
    }

        .top-row[b-t2sbag0ka3]  a:hover,
        .top-row[b-t2sbag0ka3]  .btn-link:hover {
            text-decoration: underline;
            color: #8c6b1f;
        }

        .top-row[b-t2sbag0ka3]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }


@media (max-width: 640.98px) {










    .top-row[b-t2sbag0ka3] {
        justify-content: space-between;
        height: 3rem;
        padding: 0.25rem 0.5rem;
    }

        .top-row[b-t2sbag0ka3]  a,
        .top-row[b-t2sbag0ka3]  .btn-link {
            margin-left: 0;
            font-size: 0.75rem;
            padding: 0.2rem 0.4rem;
            color: #2b2b2b;
        }

    .sidebar[b-t2sbag0ka3] {
        width: 100%;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}


@media (min-width: 641px) {

    .page[b-t2sbag0ka3] {
        flex-direction: row;
    }

   
  


    .sidebar[b-t2sbag0ka3] {
        width: auto;
        height: auto;
        position: sticky;
        top: 0;
    }

    .top-row[b-t2sbag0ka3] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-t2sbag0ka3]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-t2sbag0ka3],
    article[b-t2sbag0ka3] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width:400px){
    .page_client[b-t2sbag0ka3] {
        padding-top: 50px;
       
    }
    }
/* /Layout/NavMenu.razor.rz.scp.css */



/* =====================================
   PREMIUM NAVBAR & SIDEBAR DESIGN
   Cream + Gold Theme
===================================== */

/* =========================
   MAIN NAVBAR
========================= */
.main-navbar[b-170ghlwlz4] {
    height: auto;
    background: linear-gradient(135deg, #fbf6eb, #f7f1e3);
    color: #2b2b2b;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    position: relative;
    z-index: 200;
    width: auto;
    border-bottom: 1px solid #e6d3a3;
    padding-bottom: 10px;
    padding-top: 5px;
}

.navbar-brand[b-170ghlwlz4] {
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(90deg, #8c6b1f, #c9a24d, #8c6b1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}









.navbar-logo[b-170ghlwlz4] {
    height: 55px;
    margin-left: .5rem;
}

/* Toggler */
.navbar-toggler[b-170ghlwlz4] {
    border: none;
    background: rgba(201,162,77,0.25);
    padding: .3rem .6rem;
    border-radius: 6px;
}

.navbar-toggler-icon[b-170ghlwlz4] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(43,43,43,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =========================
   SECOND HEADER (ACTIONS)
========================= */
.top-actions[b-170ghlwlz4] {
    background: #ffffffee;
    border-bottom: 1px solid #e6d3a3;
    box-shadow: 0 1px 5px rgba(0,0,0,0.08);
    height: 5rem;
}

/* Flex container for right items */
.top-right-items[b-170ghlwlz4] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================
   NOTIFICATION BADGE + BOX
========================= */
.notif-badge[b-170ghlwlz4] {
    position: absolute;
    top: -4px;
    right: -6px;
    font-size: 0.65rem;
    background: #c9a24d;
    color: #ffffff;
}

.notif-box[b-170ghlwlz4] {
    width: 260px;
    padding: 10px;
    border-radius: 12px;
    animation: fadeIn-b-170ghlwlz4 .2s ease-out;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* Animation */
@keyframes fadeIn-b-170ghlwlz4 {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   USER MENU BUTTON
========================= */
.user-btn[b-170ghlwlz4] {
    font-weight: 600;
    padding: .35rem .9rem;
    border-radius: 10px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: #f7f1e3;
    color: #2b2b2b;
    border: 1px solid #e6d3a3;
}

/* =========================
   SOUND ENABLE BUTTON
========================= */
.enable-notif-btn[b-170ghlwlz4] {
    background: linear-gradient(135deg, #c9a24d, #8c6b1f);
    color: #ffffff;
    border: none;
    padding: .45rem 1rem;
    font-size: .9rem;
    font-weight: 600;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 38px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.22);
    transition: 0.25s ease-in-out;
}

    .enable-notif-btn i[b-170ghlwlz4] {
        font-size: 1.1rem;
        color: #fff4cc;
        transition: 0.25s ease;
    }

    .enable-notif-btn:hover[b-170ghlwlz4] {
        background: linear-gradient(135deg, #8c6b1f, #c9a24d);
        transform: translateY(-2px);
        box-shadow: 0 3px 10px rgba(0,0,0,0.28);
    }

        .enable-notif-btn:hover i[b-170ghlwlz4] {
            color: #ffffff;
            transform: scale(1.12);
        }

    .enable-notif-btn:active[b-170ghlwlz4] {
        transform: scale(0.97);
    }

/* =========================
   SIDEBAR
========================= */
.nav-scrollable[b-170ghlwlz4] {
    background: linear-gradient(180deg, #fbf6eb, #f7f1e3);
    backdrop-filter: blur(6px);
    border-left: 1px solid #e6d3a3;
    padding-top: 1rem;
    transition: all 0.25s ease-in-out;
}

/* =========================
   NAV ITEMS
========================= */
.nav-item[b-170ghlwlz4]  a {
    color: #2b2b2b;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.85rem 1.2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    letter-spacing: 0.4px;
    transition: all 0.18s ease;
    opacity: 0.95;
}

    .nav-item[b-170ghlwlz4]  a:hover {
        background: rgba(201,162,77,0.18);
        color: #8c6b1f;
        transform: translateX(-3px);
        opacity: 1;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }

    .nav-item[b-170ghlwlz4]  a.active {
        background: rgba(201,162,77,0.3);
        color: #2b2b2b !important;
        border-right: 3px solid #c9a24d;
        font-weight: 800;
        box-shadow: 0 3px 5px rgba(0,0,0,0.18);
        transform: translateX(-3px);
    }

/* =========================
   ICONS
========================= */
.bi[b-170ghlwlz4] {
    font-size: 1.35rem;
    color: #c9a24d;
    transition: 0.25s ease;
}

.nav-item[b-170ghlwlz4]  a:hover .bi {
    color: #8c6b1f;
    transform: scale(1.12);
}

.nav-item[b-170ghlwlz4]  a.active .bi {
    color: #2b2b2b;
}

/* =========================
   LOGO
========================= */
.navbar-logo[b-170ghlwlz4] {
    height: 70px;
    width: auto;
    margin-left: .5rem;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.2));
}

/* =========================
   RESPONSIVE BEHAVIOR
========================= */
@media (min-width: 641px) {
    .navbar-toggler[b-170ghlwlz4] {
        display: none;
    }

    .collapse[b-170ghlwlz4] {
        display: block !important;
    }

    .nav-scrollable[b-170ghlwlz4] {
        height: calc(100vh - 3.7rem - 3.1rem);
        overflow-y: auto;
    }
}

/* =========================
   NOTIFICATION ANIMATIONS
========================= */
.notif-alert[b-170ghlwlz4] {
    animation: bellShake-b-170ghlwlz4 0.6s ease-in-out;
}

@keyframes bellShake-b-170ghlwlz4 {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-20deg);
    }

    50% {
        transform: rotate(20deg);
    }

    75% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* =========================
   RESPONSIVE FOR SMALL DEVICES
========================= */
@media (max-width: 768px) {

    .top-right-items[b-170ghlwlz4] {
        gap: 6px;
    }

    .user-btn[b-170ghlwlz4] {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        height: 32px;
    }

    .enable-notif-btn[b-170ghlwlz4] {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        height: 32px;
    }

        .enable-notif-btn i[b-170ghlwlz4] {
            font-size: 0.95rem;
        }

    .navbar-logo[b-170ghlwlz4] {
        height: 45px;
    }

    .nav-scrollable[b-170ghlwlz4] {
        padding-top: 0.5rem;
        font-size: 0.75rem;
    }

    .nav-item[b-170ghlwlz4]  a {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
        gap: 0.8rem;
    }

    .bi[b-170ghlwlz4] {
        font-size: 1.1rem;
    }

    .notif-badge[b-170ghlwlz4] {
        font-size: 0.55rem;
    }

    .notif-box[b-170ghlwlz4] {
        width: 220px;
        padding: 8px;
    }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 576px) {

    .top-actions[b-170ghlwlz4] {
        height: 4rem;
    }

    .user-btn[b-170ghlwlz4],
    .enable-notif-btn[b-170ghlwlz4] {
        font-size: 0.7rem;
        height: 28px;
        padding: 0.2rem 0.4rem;
    }

    .navbar-logo[b-170ghlwlz4] {
        height: 40px;
    }

    .nav-item[b-170ghlwlz4]  a {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    .bi[b-170ghlwlz4] {
        font-size: 1rem;
    }

    .notif-box[b-170ghlwlz4] {
        width: 200px;
        padding: 6px;
    }

    .notif-badge[b-170ghlwlz4] {
        font-size: 0.5rem;
    }
}
/* /Layout/PublicLayout.razor.rz.scp.css */




/* =========================
   BODY
========================= */
body[b-jjq03a9f8d] {
    font-family: 'Alexandria', sans-serif;
    background-color: #F9F3E6;
    color: #231F20;
}

/* =========================
   BRAND LOGO
========================= */
.brand-logo[b-jjq03a9f8d] {
    width: 195px;
    height: 50px;
    object-fit: contain;
    border-radius: 12px;
    padding: 3px;
}

/* =========================
   NAVBAR
========================= */
.navbar[b-jjq03a9f8d] {
    background-color: #F9F3E6;
    border-bottom: 1px solid #231F20;
    transition: all 0.3s ease;
}

/* =========================
   BRAND
========================= */
.navbar-brand[b-jjq03a9f8d] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.9rem;
    font-weight: 600;
    color: #231F20;
    text-decoration: none;
}

    /* Gold accent text */
    .navbar-brand span[b-jjq03a9f8d] {
        font-size: 1.05rem;
        font-weight: 700;
        background: linear-gradient(90deg, #231F20, #F9D78A, #231F20);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* =========================
   LOGO (IF USED)
========================= */
    .navbar-brand img.navbar-logo[b-jjq03a9f8d] {
        max-height: 50px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .navbar-brand img.navbar-logo:hover[b-jjq03a9f8d] {
            transform: scale(1.08);
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
        }

/* =========================
   NAV LINKS
========================= */
.nav-link[b-jjq03a9f8d] {
    color: #231F20 !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    text-align: center;
    transition: all 0.25s ease;
}

    .nav-link:hover[b-jjq03a9f8d],
    .nav-link.active[b-jjq03a9f8d] {
        color: #231F20 !important;
        background-color: rgba(249, 215, 138, 0.35);
        border-radius: 0.5rem;
    }

/* =========================
   BUTTONS
========================= */
.btn[b-jjq03a9f8d] {
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 0.6rem;
    transition: all 0.3s ease;
}

/* PRIMARY BUTTON */
.btn-primary[b-jjq03a9f8d] {
    background: #F9D78A;
    color: #231F20;
    border: 1.5px solid #231F20;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: 0.25s ease;
}

    .btn-primary:hover[b-jjq03a9f8d],
    .btn-primary:focus[b-jjq03a9f8d] {
        background: linear-gradient(90deg, #F3CE7A, #F9D78A, #F3CE7A);
        border-color: #231F20;
        color: #231F20;
        box-shadow: 0 6px 14px rgba(0,0,0,0.22);
        transform: translateY(-1px);
    }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px) {
    .navbar-brand[b-jjq03a9f8d] {
        font-size: 1.5rem;
    }

    .nav-link[b-jjq03a9f8d] {
        padding: 0.8rem 1.2rem;
    }

    .btn-primary[b-jjq03a9f8d] {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* =========================
   MAIN CONTENT
========================= */
main[b-jjq03a9f8d] {
    padding: 1rem 0.5rem;
}

@media (max-width: 480px) {

    .brand-logo[b-jjq03a9f8d] {
        width: 110px;
        height: 60px;
    }
}
/* /Pages/AdminPage/Category_pages/CategoryList.razor.rz.scp.css */



/* =====================================================
   BASE TABLE (DESKTOP & GENERAL)
===================================================== */

.table[b-vsa8ybtrk2] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .table th[b-vsa8ybtrk2],
    .table td[b-vsa8ybtrk2] {
        vertical-align: middle;
        padding: 0.65rem 0.75rem;
        color: #2b2b2b;
    }

    .table th[b-vsa8ybtrk2] {
        background-color: #fbf6eb;
        border-bottom: 1px solid #e6d3a3;
    }

        .table th i.bi[b-vsa8ybtrk2] {
            font-size: 0.9rem;
            margin-inline-start: 4px;
            color: #8c6b1f;
        }

.table-hover tbody tr:hover[b-vsa8ybtrk2] {
    background-color: #f7f1e3;
}

/* =====================================================
   IMAGE IN TABLE
===================================================== */

.img-table[b-vsa8ybtrk2] {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e6d3a3;
    transition: transform 0.25s ease;
}

@media (min-width: 768px) {
    .img-table:hover[b-vsa8ybtrk2] {
        transform: scale(1.8);
        position: relative;
        z-index: 1000;
    }
}

/* =====================================================
   MOBILE: TABLE → STACKED CARDS (PROPER WAY)
===================================================== */

@media (max-width: 768px) {

    /* Hide header */
    table thead[b-vsa8ybtrk2] {
        display: none;
    }

    /* Block layout */
    table[b-vsa8ybtrk2],
    table tbody[b-vsa8ybtrk2],
    table tr[b-vsa8ybtrk2],
    table td[b-vsa8ybtrk2] {
        display: block;
        width: 100%;
    }

        /* Row as card */
        table tr[b-vsa8ybtrk2] {
            background: #ffffff;
            border: 1px solid #e6d3a3;
            border-radius: 14px;
            padding: 14px;
            margin-bottom: 16px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.06);
        }

        /* Cell layout */
        table td[b-vsa8ybtrk2] {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 0;
            border: none;
            font-size: 14px;
            gap: 10px;
            color: #2b2b2b;
        }

            /* Labels */
            table td[b-vsa8ybtrk2]::before {
                content: attr(data-label);
                font-weight: 600;
                font-size: 13px;
                color: #6b6b6b;
                flex: 0 0 45%;
            }

            /* Values */
            table td > *[b-vsa8ybtrk2] {
                flex: 1;
                text-align: start;
            }

            /* =================================================
       ACTION BUTTONS — FIXED WIDTH & PERFECT SPACING
    ================================================= */

            table td[data-label="الإجراءات"][b-vsa8ybtrk2] {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
                margin-top: 14px;
            }

                table td[data-label="الإجراءات"][b-vsa8ybtrk2]::before {
                    content: "";
                    display: none;
                }

                table td[data-label="الإجراءات"] .btn[b-vsa8ybtrk2] {
                    width: 100%;
                    height: 44px;
                    font-size: 14px;
                    padding: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    white-space: nowrap;
                    background: linear-gradient(135deg, #c9a24d, #8c6b1f);
                    color: #ffffff;
                    border: 1px solid #e6d3a3;
                }

                    table td[data-label="الإجراءات"] .btn i[b-vsa8ybtrk2] {
                        font-size: 16px;
                        margin-inline-end: 6px;
                    }
}

/* =====================================================
   FORMS & BUTTONS (CONSISTENT SIZE)
===================================================== */

.form-control[b-vsa8ybtrk2],
.form-select[b-vsa8ybtrk2] {
    font-size: 14px;
    border: 1px solid #e6d3a3;
    color: #2b2b2b;
}

.btn[b-vsa8ybtrk2] {
    font-size: 14px;
}

/* =====================================================
   MODALS (CLEAN & MOBILE FRIENDLY)
===================================================== */

.modal-sm-mobile .modal-dialog[b-vsa8ybtrk2] {
    max-width: 420px;
}

.modal-sm-mobile .modal-content[b-vsa8ybtrk2] {
    border-radius: 14px;
    border: 1px solid #e6d3a3;
}

.modal-sm-mobile .modal-header[b-vsa8ybtrk2],
.modal-sm-mobile .modal-body[b-vsa8ybtrk2],
.modal-sm-mobile .modal-footer[b-vsa8ybtrk2] {
    padding: 12px 16px;
}

.modal-sm-mobile label[b-vsa8ybtrk2] {
    font-size: 14px;
    font-weight: 600;
    color: #2b2b2b;
}

@media (max-width: 768px) {
    .modal-sm-mobile .modal-dialog[b-vsa8ybtrk2] {
        max-width: 95%;
        margin: auto;
    }

    .modal-sm-mobile .modal-title[b-vsa8ybtrk2] {
        font-size: 16px;
        color: #2b2b2b;
    }
}

/* =====================================================
   LOADING OVERLAY
===================================================== */

.overlay-loader[b-vsa8ybtrk2] {
    position: fixed;
    inset: 0;
    background: rgba(43,43,43,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loading-container[b-vsa8ybtrk2] {
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #8c6b1f;
}

.loading-logo[b-vsa8ybtrk2] {
    width: 72px;
    animation: pulse-b-vsa8ybtrk2 1.4s infinite ease-in-out;
}

@keyframes pulse-b-vsa8ybtrk2 {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.85;
    }
}

@media (max-width: 768px) {
    .loading-container[b-vsa8ybtrk2] {
        height: 150px;
    }

    .loading-logo[b-vsa8ybtrk2] {
        width: 60px;
    }
}

/* =====================================================
   PAGINATION (TOUCH FRIENDLY)
===================================================== */

.pagination[b-vsa8ybtrk2] {
    gap: 6px;
}

    .pagination .page-link[b-vsa8ybtrk2] {
        font-size: 14px;
        padding: 8px 12px;
        color: #2b2b2b;
        border: 1px solid #e6d3a3;
    }

        .pagination .page-link:hover[b-vsa8ybtrk2] {
            background-color: #f7f1e3;
        }

@media (max-width: 576px) {
    .pagination .page-link[b-vsa8ybtrk2] {
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* =====================================================
   HEADINGS (MOBILE)
===================================================== */

@media (max-width: 768px) {
    h3[b-vsa8ybtrk2] {
        font-size: 18px;
        margin-bottom: 12px;
        color: #2b2b2b;
    }
}

/* =====================================================
   TOP ACTION BUTTONS — MOBILE FIX
===================================================== */
@media (max-width: 768px) {

    .action-buttons[b-vsa8ybtrk2] {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 12px;
        text-align: center;
    }

        .action-buttons .btn[b-vsa8ybtrk2] {
            width: 100%;
            height: 44px;
            font-size: 14px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            background: linear-gradient(135deg, #c9a24d, #8c6b1f);
            color: #ffffff;
            border: 1px solid #e6d3a3;
        }

            .action-buttons .btn i[b-vsa8ybtrk2] {
                margin-inline-end: 6px;
                font-size: 16px;
            }
}
/* /Pages/AdminPage/ClientItem_pages/Cart.razor.rz.scp.css */


/* =================================================
   CART – CRUSTIQUE GOLD THEME
================================================= */
/*.cart-scope {
    font-family: 'Tajawal', sans-serif;
    background: #f7f1e3;*/ /* cream */
    /*color: #2a3b55;
}


.cart-page {
   
    min-height: 100vh;
    padding-bottom: 100px;
}*/

    /* =========================
   DESKTOP TABLE
========================= */
    /*.cart-scope .table-responsive {
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid #e6d3a3;
        box-shadow: 0 8px 24px rgba(140,107,31,.18);
        overflow: hidden;
    }

    .cart-scope table th {
        background: linear-gradient(90deg, #8c6b1f, #c9a24d, #8c6b1f);
        color: #ffffff;
        font-size: 14px;
        font-weight: 800;
        white-space: nowrap;
    }

    .cart-scope table td {
        font-size: 14px;
        vertical-align: middle;
        color: #2a3b55;
    }

    .cart-scope table img {
        width: 72px;
        height: 72px;
        border-radius: 12px;
        object-fit: cover;
        border: 1px solid #e6d3a3;
    }*/

    /* Hide cards on desktop */
    /*.cart-scope .cart-card {
        display: none;
    }*/

/* =========================
   MOBILE CARDS
========================= */
/*@media (max-width: 767.98px) {

    .cart-scope .table-responsive {
        display: none;
    }

    .cart-scope .cart-card {
        display: grid;
        grid-template-columns: 72px 1fr;
        gap: 12px;
        background: #ffffff;
        border-radius: 18px;
        padding: 12px;
        margin-bottom: 12px;
        border: 1px solid #e6d3a3;
        box-shadow: 0 6px 18px rgba(140,107,31,.18);
    }

        .cart-scope .cart-card img {
            width: 72px;
            height: 72px;
            border-radius: 14px;
            object-fit: cover;
            border: 1px solid #e6d3a3;
        }

        .cart-scope .cart-card .info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

            .cart-scope .cart-card .info h6 {
                font-size: 14px;
                font-weight: 800;
                margin: 0;
                color: #2a3b55;
            }

            .cart-scope .cart-card .info small {
                font-size: 12px;
                color: #6b6b6b;
            }

            .cart-scope .cart-card .info strong {
                font-size: 15px;
                font-weight: 900;
                color: #8c6b1f;
            }*/

        /* Actions */
        /*.cart-scope .cart-card .actions {
            grid-column: 1 / -1;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px dashed #e6d3a3;
        }

            .cart-scope .cart-card .actions button {
                width: 40px;
                height: 40px;
                border-radius: 10px;
                border: 1px solid #c9a24d;
                background: rgba(201,162,77,.15);
                font-size: 16px;
                font-weight: 800;
                color: #8c6b1f;
                transition: .2s ease;
            }

                .cart-scope .cart-card .actions button:hover {
                    background: rgba(201,162,77,.3);
                }

            .cart-scope .cart-card .actions span {
                min-width: 32px;
                text-align: center;
                font-size: 14px;
                font-weight: 800;
            }

            .cart-scope .cart-card .actions .remove {
                margin-inline-start: auto;
                background: none;
                border: none;
                color: #b91c1c;
                font-size: 13px;
                font-weight: 800;
            }
}*/

/* =========================
   CHECKOUT BAR (MOBILE)
========================= */
/*@media (max-width: 767.98px) {
    .cart-scope .checkout-bar {
        padding: 8px 12px;
        gap: 10px;
        background: #ffffff;
        border-top: 1px solid #e6d3a3;
        box-shadow: 0 -6px 20px rgba(140,107,31,.2);
    }

    .cart-scope .checkout-total small {
        font-size: 11px;
        color: #6b6b6b;
    }

    .cart-scope .checkout-total strong {
        font-size: 14px;
        font-weight: 900;
        color: #8c6b1f;
    }

    .cart-scope .checkout-btn {
        height: 40px;
        min-width: 100px;
        font-size: 13px;
        font-weight: 800;
        border-radius: 10px;
        padding: 0 14px;
        background: linear-gradient(90deg, #8c6b1f, #c9a24d);
        color: #ffffff;
        border: none;
        box-shadow: 0 4px 14px rgba(140,107,31,.35);
    }



    .cart-page {
        min-height: 100vh;
        padding-bottom: 150px;
    }




}*/

/* Hide checkout bar on desktop */
/*@media (min-width: 768px) {
    .cart-scope .checkout-bar {
        display: none !important;
    }

    .cart-page {
        min-height: 100vh;
        padding-bottom: 150px;
    }


}*/

/* =========================
   UNDO BAR
========================= */





/*.undo-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(70px + env(safe-area-inset-bottom));
    background: linear-gradient(90deg, #8c6b1f, #c9a24d);
    color: #111827;
    padding: 8px 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1250;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}


    .undo-bar.hide {
        transform: translateY(120%);
        opacity: 0;
        transition: 0.3s ease;
    }





    .undo-bar .btn {
        color: #111827 !important;*/ /* dark text, not white */
        /*background: rgba(255, 255, 255, 0.75);*/ /* soft contrast */
        /*padding: 4px 10px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 8px;
    }

.undo-bar {
    padding: 8px 12px;
    font-size: 13px;
}*/
















/* =========================
   CONFIRM DIALOG
========================= */
/*.confirm-backdrop {
    position: fixed !important;
    left: 0;
    right: 0;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(2px);
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.confirm-box {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    padding: 20px;
    border: 1px solid #e6d3a3;
    box-shadow: 0 24px 50px rgba(140,107,31,.35);
}

    .confirm-box h5 {
        font-weight: 900;
        color: #8c6b1f;
    }

    .confirm-box .summary {
        margin-top: 12px;
        border-top: 1px solid #e6d3a3;
        border-bottom: 1px solid #e6d3a3;
        padding: 10px 0;
    }

        .confirm-box .summary div {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            padding: 4px 0;
        }

        .confirm-box .summary .total strong {
            color: #8c6b1f;
            font-size: 16px;
            font-weight: 900;
        }

    .confirm-box .btn {
        height: 44px;
        font-size: 14px;
        font-weight: 800;
        border-radius: 12px;
        background: linear-gradient(90deg, #8c6b1f, #c9a24d);
        color: #ffffff;
        border: none;
        box-shadow: 0 4px 14px rgba(140,107,31,.35);
    }


.btn.btn-outline-primary {
    color: #111827 !important;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #111827;
    font-weight: 600;
    border-radius: 10px;
}

    .btn.btn-outline-primary:hover {
        background: rgba(255, 255, 255, 0.95);
        color: #000;
    }


.btn.btn-primary {
    background: #111827;
    border-color: #111827;
    color: #f9fafb;
    font-weight: 700;
    border-radius: 12px;
}

    .btn.btn-primary:hover {
        background: #0b1220;
    }






.confirm-box {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}*/





/* =================================================
   CART – SHOP THEME MATCH (COLORS + FONT ONLY)
================================================= */
.cart-scope[b-25ieryy32a] {
    font-family: 'Alexandria', sans-serif;
    background: #F9F3E6;
    color: #231F20;
}

.cart-page[b-25ieryy32a] {
    min-height: 100vh;
    padding-bottom: 100px;
}

/* =========================
   DESKTOP TABLE
========================= */
.cart-scope .table-responsive[b-25ieryy32a] {
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #231F20;
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
    overflow: hidden;
}

.cart-scope table th[b-25ieryy32a] {
    background: #F9D78A;
    color: #231F20;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    border-bottom: 1.5px solid #231F20;
}

.cart-scope table td[b-25ieryy32a] {
    font-size: 14px;
    vertical-align: middle;
    color: #231F20;
}

.cart-scope table img[b-25ieryy32a] {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    border: 1.5px solid #231F20;
}

/* Hide cards on desktop */
.cart-scope .cart-card[b-25ieryy32a] {
    display: none;
}

/* =========================
   MOBILE CARDS
========================= */
@media (max-width: 767.98px) {

    .cart-scope .table-responsive[b-25ieryy32a] {
        display: none;
    }

    .cart-scope .cart-card[b-25ieryy32a] {
        display: grid;
        grid-template-columns: 72px 1fr;
        gap: 12px;
        background: #ffffff;
        border-radius: 18px;
        padding: 12px;
        margin-bottom: 12px;
        border: 1.5px solid #231F20;
        box-shadow: 0 6px 18px rgba(0,0,0,.15);
    }

        .cart-scope .cart-card img[b-25ieryy32a] {
            width: 72px;
            height: 72px;
            border-radius: 14px;
            object-fit: cover;
            border: 1.5px solid #231F20;
        }

        .cart-scope .cart-card .info[b-25ieryy32a] {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

            .cart-scope .cart-card .info h6[b-25ieryy32a] {
                font-size: 14px;
                font-weight: 800;
                margin: 0;
                color: #231F20;
            }

            .cart-scope .cart-card .info small[b-25ieryy32a] {
                font-size: 12px;
                color: #6b6b6b;
            }

            .cart-scope .cart-card .info strong[b-25ieryy32a] {
                font-size: 15px;
                font-weight: 900;
                color: #231F20;
            }

        /* Actions */
        .cart-scope .cart-card .actions[b-25ieryy32a] {
            grid-column: 1 / -1;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px dashed #231F20;
        }

            .cart-scope .cart-card .actions button[b-25ieryy32a] {
                width: 40px;
                height: 40px;
                border-radius: 10px;
                border: 1.5px solid #231F20;
                background: #F9F3E6;
                font-size: 16px;
                font-weight: 800;
                color: #231F20;
                transition: .2s ease;
            }

                .cart-scope .cart-card .actions button:hover[b-25ieryy32a] {
                    background: rgba(249,215,138,.45);
                }

            .cart-scope .cart-card .actions span[b-25ieryy32a] {
                min-width: 32px;
                text-align: center;
                font-size: 14px;
                font-weight: 800;
            }

            .cart-scope .cart-card .actions .remove[b-25ieryy32a] {
                margin-inline-start: auto;
                background: none;
                border: none;
                color: #b91c1c;
                font-size: 13px;
                font-weight: 800;
            }
}

/* =========================
   CHECKOUT BAR (MOBILE)
========================= */
@media (max-width: 767.98px) {

    .cart-scope .checkout-bar[b-25ieryy32a] {
        padding: 8px 12px;
        gap: 10px;
        background: #ffffff;
        border-top: 1.5px solid #231F20;
        box-shadow: 0 -6px 18px rgba(0,0,0,.2);
    }

    .cart-scope .checkout-total small[b-25ieryy32a] {
        font-size: 11px;
        color: #6b6b6b;
    }

    .cart-scope .checkout-total strong[b-25ieryy32a] {
        font-size: 14px;
        font-weight: 900;
        color: #231F20;
    }

    .cart-scope .checkout-btn[b-25ieryy32a] {
        height: 40px;
        min-width: 100px;
        font-size: 13px;
        font-weight: 800;
        border-radius: 10px;
        padding: 0 14px;
        background: #231F20;
        color: #F9F3E6;
        border: none;
        box-shadow: 0 4px 14px rgba(0,0,0,.35);
    }

    .cart-page[b-25ieryy32a] {
        min-height: 100vh;
        padding-bottom: 150px;
    }
}

/* Hide checkout bar on desktop */
@media (min-width: 768px) {

    .cart-scope .checkout-bar[b-25ieryy32a] {
        display: none !important;
    }

    .cart-page[b-25ieryy32a] {
        min-height: 100vh;
        padding-bottom: 150px;
    }
}

/* =========================
   UNDO BAR
========================= */
.undo-bar[b-25ieryy32a] {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(70px + env(safe-area-inset-bottom));
    background: #F9D78A;
    color: #231F20;
    padding: 8px 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1250;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

    .undo-bar.hide[b-25ieryy32a] {
        transform: translateY(120%);
        opacity: 0;
        transition: 0.3s ease;
    }

    .undo-bar .btn[b-25ieryy32a] {
        color: #231F20 !important;
        background: rgba(255,255,255,.75);
        padding: 4px 10px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 8px;
    }

/* =========================
   CONFIRM DIALOG
========================= */
.confirm-backdrop[b-25ieryy32a] {
    position: fixed !important;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(2px);
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.confirm-box[b-25ieryy32a] {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    padding: 20px;
    border: 1.5px solid #231F20;
    box-shadow: 0 24px 50px rgba(0,0,0,.35);
}

    .confirm-box h5[b-25ieryy32a] {
        font-weight: 900;
        color: #231F20;
    }

    .confirm-box .summary[b-25ieryy32a] {
        margin-top: 12px;
        border-top: 1.5px solid #231F20;
        border-bottom: 1.5px solid #231F20;
        padding: 10px 0;
    }

        .confirm-box .summary div[b-25ieryy32a] {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            padding: 4px 0;
        }

        .confirm-box .summary .total strong[b-25ieryy32a] {
            color: #231F20;
            font-size: 16px;
            font-weight: 900;
        }

    .confirm-box .btn[b-25ieryy32a] {
        height: 44px;
        font-size: 14px;
        font-weight: 800;
        border-radius: 12px;
        background: #231F20;
        color: #F9F3E6;
        border: none;
        box-shadow: 0 4px 14px rgba(0,0,0,.35);
    }


/* /Pages/AdminPage/ClientItem_pages/ClientItemList.razor.rz.scp.css */
/* =====================================================
   LOADING SYSTEM — GLOBAL (CLEAN & CONSISTENT)
===================================================== */

/* Full screen overlay (page loading) */
.loading-overlay[b-kp7i3719rt] {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

/* Inline loading (inside sections / cards) */
.loading-inline[b-kp7i3719rt] {
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Shared container */
.loading-container[b-kp7i3719rt] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    color: #1e3a8a;
}

/* Logo */
.loading-logo[b-kp7i3719rt] {
    width: 120px;
    opacity: 0.9;
}

/* Spinner */
.loading-spinner[b-kp7i3719rt] {
    width: 2.5rem;
    height: 2.5rem;
}

/* Text */
.loading-text[b-kp7i3719rt] {
    font-size: 14px;
    font-weight: 500;
}

/* =====================================================
   MOBILE OPTIMIZATION
===================================================== */
@media (max-width: 768px) {

    .loading-logo[b-kp7i3719rt] {
        width: 90px;
    }

    .loading-spinner[b-kp7i3719rt] {
        width: 2rem;
        height: 2rem;
    }

    .loading-text[b-kp7i3719rt] {
        font-size: 13px;
    }
}
/* /Pages/AdminPage/ClientItem_pages/ClientItemsShop.razor.rz.scp.css */
/* ===============================
   BASE
================================ */
html[b-l9ms6wq8ci], body[b-l9ms6wq8ci] {
    margin: 0;
    padding: 0;
    font-family: 'Alexandria';
    background: #F9F3E6;
    color: #231F20;
 
}

/* ===============================
   HEADER
================================ */
.shop-header[b-l9ms6wq8ci] {
    position: sticky;
    top: 105px;
    z-index: 100;
    background: #fbf6eb;
   width:100%;

    border-bottom: 1.3px solid #231F20;
    padding: 12px 16px 4px 4px;
}

.shop-header-line1[b-l9ms6wq8ci] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-title[b-l9ms6wq8ci] {
    font-size: 1.1rem;
    font-weight: 700;
}

.header-actions[b-l9ms6wq8ci] {
    display: flex;
    gap: 8px;
}

/* ===============================
   SEARCH
================================ */
.search-box[b-l9ms6wq8ci] {
    margin-top: 10px;
}

/* ===============================
   LAYOUT
================================ */
.main-shop[b-l9ms6wq8ci] {
    padding: 16px;
}







/* =============================== 
   DESKTOP SIDEBAR
================================ */

.category-card[b-l9ms6wq8ci] {
    
    top: 210px;
    background: #F9D78A;
    /* border: 1.5px solid #231F20;*/
    border-radius: 14px; /* smoother */
    padding: 14px 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); /* subtle depth */
}

    /* Title */
    .category-card h5[b-l9ms6wq8ci] {
        font-size: 0.95rem;
        margin-bottom: 12px;
        font-weight: 700;
        color: #231F20;
        letter-spacing: 0.3px;
    }

/* List */
.category-list[b-l9ms6wq8ci] {
    display: flex;
    flex-direction: column;
    gap: 4px; /* clean spacing */
}

    .category-list .list-group-item[b-l9ms6wq8ci] {
        background: transparent;
        border: none;
        padding: 8px 12px;
        cursor: pointer;
        border-radius: 8px;
        color: #231F20;
        font-size: 0.85rem;
        font-weight:bolder;
        transition: background 0.2s ease, transform 0.15s ease;
    }

        /* Hover (same palette, softer) */
        .category-list .list-group-item:hover[b-l9ms6wq8ci] {
            background: rgba(249, 215, 138, 0.45);
        }

        /* Active */
        .category-list .list-group-item.active[b-l9ms6wq8ci] {
            background: #F9F3E6;
            color: #231F20;
            font-weight: 700;
            box-shadow: inset 0 0 0 1px #231F20;
        }
















/* ===============================
   PRODUCTS GRID
================================ */
.products-grid[b-l9ms6wq8ci] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

/* ===============================
   PRODUCT CARD
================================ */
.product-card[b-l9ms6wq8ci] {
    background: #fff;
    border: 1.5px solid #231F20;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* 🔥 مهم */
}
.product-body[b-l9ms6wq8ci] {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* 🔥 */
}

.product-media img[b-l9ms6wq8ci] {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-body[b-l9ms6wq8ci] {
    padding: 12px;
}

.product-name[b-l9ms6wq8ci] {
    font-size: 0.9rem;
    font-weight: 600;
}

.product-price[b-l9ms6wq8ci] {
    margin-top: 6px;
    font-weight: 700;
}




/* =============================== 
   PAGINATION
================================ */

.custom-pagination-wrapper[b-l9ms6wq8ci] {
    margin: 18px 0;
    display: flex;
    justify-content: center;
}

/* Pagination container */
.pagination[b-l9ms6wq8ci] {
    background: #F9F3E6;
    padding: 5px 9px;
    border-radius: 12px;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

    /* Pagination buttons */
    .pagination .page-item .page-link[b-l9ms6wq8ci] {
        background-color: #F9D78A;
        color: #231F20;
        border: 1.5px solid #231F20;
       /* border: none;*/
        border-radius: 8px;
        padding: 4px 9px;
        font-weight: 600;
        transition: background-color 0.2s ease, transform 0.15s ease;
    }

        /* Hover */
        .pagination .page-item .page-link:hover[b-l9ms6wq8ci] {
            background-color: #f3cc6d;
            color: #231F20;
            transform: translateY(-1px);
        }

    /* Active page */
    .pagination .page-item.active .page-link[b-l9ms6wq8ci] {
        background-color: #231F20;
        color: #F9F3E6;
    }

    /* Disabled */
    .pagination .page-item.disabled .page-link[b-l9ms6wq8ci] {
        background-color: #eee3c9;
        color: #9a8f78;
        pointer-events: none;
        opacity: 0.7;
    }













/* ===============================
   MOBILE ONLY
================================ */
@media (max-width: 991px) {

    aside[b-l9ms6wq8ci] {
        display: none;
    }

    .products-grid[b-l9ms6wq8ci] {
        grid-template-columns: repeat(2, 1fr);
    }

   

    .mobile-category-scroll[b-l9ms6wq8ci] {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 10px 6px;
        scrollbar-width: none; /* Firefox */
    }

        .mobile-category-scroll[b-l9ms6wq8ci]::-webkit-scrollbar {
            display: none; /* Chrome/Safari */
        }

        /* Buttons */
        .mobile-category-scroll .btn[b-l9ms6wq8ci] {
            white-space: nowrap;
            border-radius: 20px;
            border: 1.2px solid #231F20;
            background: #F9F3E6;
            color: #231F20;
            font-size: 0.8rem;
            font-weight: 800;
            padding: 6px 14px;
            transition: background 0.2s ease, transform 0.15s ease;
        }

            /* Hover / tap feedback */
            .mobile-category-scroll .btn:hover[b-l9ms6wq8ci] {
                background: rgba(249, 215, 138, 0.45);
            }

            /* Active */
            .mobile-category-scroll .btn.active[b-l9ms6wq8ci] {
                background: #F9D78A;
                color: #231F20;
                border-color: #231F20;
                box-shadow: inset 0 0 0 1px #231F20;
            }










}



.item-media[b-l9ms6wq8ci] {
    display: flex;
    align-items: center;
}

    /* Image */
    .item-media img[b-l9ms6wq8ci] {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        display: block; /* no layout jump */
    }

    /* 🔹 When NO image exists */
    .item-media.no-image[b-l9ms6wq8ci] {
        padding-right: 5px; /* corrected to exact 2px */
    }

    /* Item name fallback */
    .item-media .item-name[b-l9ms6wq8ci] {
        font-size: 0.85rem;
        font-weight: 600;
        color: #231F20;
        white-space: nowrap;
    }

/* ===============================
   MOBILE HEADER FIX
================================ */
@media (max-width: 768px) {

    .shop-header[b-l9ms6wq8ci] {
        top: 55px; /* ✅ smaller top for mobile */
        padding: 8px 12px; /* ✅ compact height */
    }

    .shop-title[b-l9ms6wq8ci] {
        font-size: 0.95rem; /* slightly smaller title */
    }
}

@media (max-width: 400px) {
    .shop-header[b-l9ms6wq8ci] {
        top: 45px;
        padding: 6px 10px;
    }
}




@media (min-width: 540px) {

    .shop-header[b-l9ms6wq8ci] {
        top: 58px; /* ✅ smaller top for mobile */
        padding: 10px 14px; /* ✅ compact height */
    }
}




@media (max-width: 520px) {

    .shop-header[b-l9ms6wq8ci] {
        top: 80px; /* ✅ smaller top for mobile */
        padding: 8px 12px; /* ✅ compact height */
    }

    
}










/* ===============================
   PRODUCT ACTION BAR (STABLE)
================================ */

/* Product body must push actions to bottom */
.product-body[b-l9ms6wq8ci] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Action container */
.product-actions[b-l9ms6wq8ci] {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    flex-wrap: nowrap; /* 🔥 NEVER wrap horizontally */
    min-height: 44px; /* 🔥 reserve space */
}

/* ===============================
   QUANTITY CONTROLS (FIXED WIDTH)
================================ */

.qty-controls[b-l9ms6wq8ci] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto; /* 🔥 do NOT grow */
    min-width: 86px; /* 🔥 prevents squeezing */

    border: 1.4px solid #231F20;
    border-radius: 999px;
    padding: 4px 8px;
    background: #F9F3E6;
}

.qty-btn[b-l9ms6wq8ci] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-value[b-l9ms6wq8ci] {
    min-width: 22px;
    text-align: center;
    font-weight: 700;
}

/* ===============================
   ADD TO CART BUTTON (FLEX SAFE)
================================ */

.add-to-cart[b-l9ms6wq8ci] {
    flex: 1 1 auto; /* 🔥 grow AND shrink */
    min-width: 0; /* 🔥 allow flexbox shrink */

    height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    border: none;
    background: #231F20;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap; /* 🔥 prevent text wrapping */
}

/* ===============================
   TABLET & SMALL DESKTOP
================================ */

@media (max-width: 768px) {
    .product-actions[b-l9ms6wq8ci] {
        gap: 6px;
    }

    .add-to-cart[b-l9ms6wq8ci] {
        height: 34px;
        font-size: 0.85rem;
    }
}

/* ===============================
   VERY SMALL PHONES (≤360px)
   STACK VERTICALLY — NEVER BREAK
================================ */



@media (max-width: 476px) {

    .product-actions[b-l9ms6wq8ci] {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        min-height: unset;
    }

    .qty-controls[b-l9ms6wq8ci] {
        justify-content: center;
    }

    .add-to-cart[b-l9ms6wq8ci] {
        width: 100%;
        height: 38px;
        font-size: 0.9rem;
    }
}











@media (max-width: 360px) {

    .product-actions[b-l9ms6wq8ci] {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        min-height: unset;
    }

    .qty-controls[b-l9ms6wq8ci] {
        justify-content: center;
    }

    .add-to-cart[b-l9ms6wq8ci] {
        width: 100%;
        height: 38px;
        font-size: 0.9rem;
    }
}

/* ===============================
   LARGE DESKTOP
================================ */

@media (min-width: 1024px) {
    .add-to-cart[b-l9ms6wq8ci] {
        height: 38px;
    }
}
/* /Pages/AdminPage/ClientItem_pages/ClientOrderHistory.razor.rz.scp.css */


/* =====================================================
   CLIENT ORDER HISTORY — CRUSTIQUE GOLD THEME
===================================================== */

/*.client-orders-scope {
    font-family: 'Tajawal', sans-serif;
    background-color: #f7f1e3;*/ /* cream */
    /*color: #2a3b55;
}
.history-page {
   
    min-height: 100vh;
    padding-bottom: 100px;
}*/
/* =====================================================
   LOADING STATE
===================================================== */
/*.client-orders-scope .loading-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .client-orders-scope .loading-logo {
        width: 90px;
        opacity: 0.9;
    }*/

    /* =====================================================
   HEADER
===================================================== */
    /*.client-orders-scope h3 {
        font-weight: 900;
        font-size: 1.4rem;
        background: linear-gradient(90deg, #8c6b1f, #c9a24d, #8c6b1f);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .client-orders-scope p {
        font-size: 14px;
        color: #6b6b6b;
    }*/

    /* =====================================================
   FILTERS — MOBILE FIRST
===================================================== */
    /*.client-orders-scope .row.g-2 > div {
        width: 100%;
    }

    .client-orders-scope .form-control {
        border-radius: 12px;
        border: 1px solid #e6d3a3;
        font-size: 14px;
        padding: 10px 12px;
        background: #ffffff;
        color: #2a3b55;
    }

        .client-orders-scope .form-control:focus {
            border-color: #c9a24d;
            box-shadow: 0 0 0 2px rgba(201,162,77,0.3);
            outline: none;
        }

    .client-orders-scope .btn {
        border-radius: 12px;
        font-size: 14px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }*/

    /* =====================================================
   MOBILE — ORDERS AS CARDS
===================================================== */
    /*.client-orders-scope table thead {
        display: none;
    }

    .client-orders-scope table,
    .client-orders-scope tbody,
    .client-orders-scope tr,
    .client-orders-scope td {
        display: block;
        width: 100%;
    }

        .client-orders-scope table tbody tr {
            background: #ffffff;
            border-radius: 18px;
            padding: 14px;
            margin-bottom: 14px;
            border: 1px solid #e6d3a3;
            box-shadow: 0 6px 18px rgba(140,107,31,0.18);
        }

            .client-orders-scope table tbody tr td {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 6px 0;
                border-bottom: 1px dashed #e6d3a3;
                font-size: 14px;
                color: #2a3b55;
            }

                .client-orders-scope table tbody tr td:last-child {
                    border-bottom: none;
                    margin-top: 10px;
                }

                .client-orders-scope table tbody tr td::before {
                    content: attr(data-label);
                    font-weight: 800;
                    font-size: 13px;
                    color: #8c6b1f;
                }*/

    /* =====================================================
   BADGES & ACTIONS
===================================================== */
    /*.client-orders-scope .badge {
        font-size: 12px;
        padding: 6px 12px;
        border-radius: 999px;
        font-weight: 800;
    }

    .client-orders-scope td[data-label="التفاصيل"] .btn {
        width: 100%;
        height: 42px;
        font-size: 14px;
        font-weight: 800;
        background: linear-gradient(90deg, #8c6b1f, #c9a24d);
        color: #ffffff;
        border: none;
        border-radius: 12px;
        box-shadow: 0 4px 14px rgba(140,107,31,0.35);
    }*/

/* =====================================================
   DESKTOP — TABLE MODE
===================================================== */
/*@media (min-width: 768px) {
    .history-page {
        min-height: 100vh;
        min-height: 100svh;
        padding-bottom: 150px;
    }
    .client-orders-scope .container {
        max-width: 1100px;
    }

    .client-orders-scope table {
        display: table;
    }

        .client-orders-scope table thead {
            display: table-header-group;
        }

        .client-orders-scope table tbody tr {
            display: table-row;
            box-shadow: none;
            padding: 0;
        }

            .client-orders-scope table tbody tr td {
                display: table-cell;
                border-bottom: 1px solid #e6d3a3;
                text-align: center;
                padding: 10px;
            }

                .client-orders-scope table tbody tr td::before {
                    display: none;
                }

        .client-orders-scope table thead th {
            background: linear-gradient(90deg, #8c6b1f, #c9a24d, #8c6b1f);
            color: #ffffff;
            font-size: 13px;
            font-weight: 700;
            text-align: center;
            position: sticky;
            top: 0;
            z-index: 2;
        }

        .client-orders-scope table tbody tr:hover {
            background-color: rgba(201,162,77,0.15);
        }*/

    /* Filters row desktop layout */
    /*.client-orders-scope .row.g-2 > div {
        width: auto;
    }
}*/

/* =====================================================
   ROW HIGHLIGHT
===================================================== */
/*.client-orders-scope .highlight-order {
    animation: highlight-row 1.2s ease-out;
}

@keyframes highlight-row {
    from {
        background-color: rgba(201,162,77,0.35);
    }

    to {
        background-color: transparent;
    }
}*/



/* =====================================================
   CLIENT ORDER HISTORY — SHOP THEME
===================================================== */

.client-orders-scope[b-rq7q69qb0a] {
    font-family: 'Alexandria', sans-serif;
    background-color: #F9F3E6;
    color: #231F20;
}

.history-page[b-rq7q69qb0a] {
    min-height: 100vh;
    padding-bottom: 100px;
}

/* =====================================================
   LOADING STATE
===================================================== */
.client-orders-scope .loading-container[b-rq7q69qb0a] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.client-orders-scope .loading-logo[b-rq7q69qb0a] {
    width: 90px;
    opacity: 0.9;
}

/* =====================================================
   HEADER
===================================================== */
.client-orders-scope h3[b-rq7q69qb0a] {
    font-weight: 900;
    font-size: 1.4rem;
    background: linear-gradient(90deg, #231F20, #F9D78A, #231F20);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.client-orders-scope p[b-rq7q69qb0a] {
    font-size: 14px;
    color: #6b6b6b;
}

/* =====================================================
   FILTERS — MOBILE FIRST
===================================================== */
.client-orders-scope .row.g-2 > div[b-rq7q69qb0a] {
    width: 100%;
}

.client-orders-scope .form-control[b-rq7q69qb0a] {
    border-radius: 12px;
    border: 1.5px solid #231F20;
    font-size: 14px;
    padding: 10px 12px;
    background: #ffffff;
    color: #231F20;
}

    .client-orders-scope .form-control:focus[b-rq7q69qb0a] {
        border-color: #231F20;
        box-shadow: 0 0 0 2px rgba(35,31,32,0.25);
        outline: none;
    }

.client-orders-scope .btn[b-rq7q69qb0a] {
    border-radius: 12px;
    font-size: 14px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* =====================================================
   MOBILE — ORDERS AS CARDS
===================================================== */
.client-orders-scope table thead[b-rq7q69qb0a] {
    display: none;
}

.client-orders-scope table[b-rq7q69qb0a],
.client-orders-scope tbody[b-rq7q69qb0a],
.client-orders-scope tr[b-rq7q69qb0a],
.client-orders-scope td[b-rq7q69qb0a] {
    display: block;
    width: 100%;
}

    .client-orders-scope table tbody tr[b-rq7q69qb0a] {
        background: #ffffff;
        border-radius: 18px;
        padding: 14px;
        margin-bottom: 14px;
        border: 1.5px solid #231F20;
        box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    }

        .client-orders-scope table tbody tr td[b-rq7q69qb0a] {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 0;
            border-bottom: 1px dashed #231F20;
            font-size: 14px;
            color: #231F20;
        }

            .client-orders-scope table tbody tr td:last-child[b-rq7q69qb0a] {
                border-bottom: none;
                margin-top: 10px;
            }

            .client-orders-scope table tbody tr td[b-rq7q69qb0a]::before {
                content: attr(data-label);
                font-weight: 800;
                font-size: 13px;
                color: #231F20;
            }

/* =====================================================
   BADGES & ACTIONS
===================================================== */
.client-orders-scope .badge[b-rq7q69qb0a] {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 800;
}

.client-orders-scope td[data-label="التفاصيل"] .btn[b-rq7q69qb0a] {
    width: 100%;
    height: 42px;
    font-size: 14px;
    font-weight: 800;
    background: #231F20;
    color: #F9F3E6;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

/* =====================================================
   DESKTOP — TABLE MODE
===================================================== */
@media (min-width: 768px) {

    .history-page[b-rq7q69qb0a] {
        min-height: 100vh;
        min-height: 100svh;
        padding-bottom: 150px;
    }

    .client-orders-scope .container[b-rq7q69qb0a] {
        max-width: 1100px;
    }

    .client-orders-scope table[b-rq7q69qb0a] {
        display: table;
    }

        .client-orders-scope table thead[b-rq7q69qb0a] {
            display: table-header-group;
        }

        .client-orders-scope table tbody tr[b-rq7q69qb0a] {
            display: table-row;
            box-shadow: none;
            padding: 0;
        }

            .client-orders-scope table tbody tr td[b-rq7q69qb0a] {
                display: table-cell;
                border-bottom: 1px solid #231F20;
                text-align: center;
                padding: 10px;
            }

                .client-orders-scope table tbody tr td[b-rq7q69qb0a]::before {
                    display: none;
                }

        .client-orders-scope table thead th[b-rq7q69qb0a] {
            background: #F9D78A;
            color: #231F20;
            font-size: 13px;
            font-weight: 700;
            text-align: center;
            position: sticky;
            top: 0;
            z-index: 2;
            border-bottom: 1.5px solid #231F20;
        }

        .client-orders-scope table tbody tr:hover[b-rq7q69qb0a] {
            background-color: rgba(249,215,138,0.35);
        }

    .client-orders-scope .row.g-2 > div[b-rq7q69qb0a] {
        width: auto;
    }
}

/* =====================================================
   ROW HIGHLIGHT
===================================================== */
.client-orders-scope .highlight-order[b-rq7q69qb0a] {
    animation: highlight-row-b-rq7q69qb0a 1.2s ease-out;
}

@keyframes highlight-row-b-rq7q69qb0a {
    from {
        background-color: rgba(249,215,138,0.45);
    }

    to {
        background-color: transparent;
    }
}
/* /Pages/AdminPage/ClientItem_pages/OrderConfirmation.razor.rz.scp.css */

/*body {
    background-color: #f7f1e3;*/ /* cream */
    /*font-family: 'Tajawal', sans-serif;
    color: #2a3b55;
}


.Confirmation-page {
  
    min-height: 100vh;
    padding-bottom: 100px;
}*/
/* =========================
   ORDER HEADER
========================= */
/*.order-header {
    text-align: center;
    margin-bottom: 1rem;
}

    .order-header h3 {
        font-weight: 800;
        background: linear-gradient(90deg, #8c6b1f, #c9a24d, #8c6b1f);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .order-header p {
        margin: 2px 0;
        font-size: 14px;
        color: #6b6b6b;
    }*/

/* =========================
   DESKTOP TABLE
========================= */
/*.table-responsive {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6d3a3;
    box-shadow: 0 8px 24px rgba(140,107,31,0.18);
}

.table th {
    background: linear-gradient(90deg, #8c6b1f, #c9a24d, #8c6b1f);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    vertical-align: middle;
}

.table td {
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #e6d3a3;
    font-size: 14px;
    color: #2a3b55;
}*/

/* Item image */
/*.item-image {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #e6d3a3;
}*/

/* =========================
   MOBILE ORDER CARDS
========================= */
/*@media (max-width: 768px) {

    .order-card {
        display: flex;
        gap: 12px;
        background: #ffffff;
        border-radius: 18px;
        padding: 12px;
        margin-bottom: 12px;
        border: 1px solid #e6d3a3;
        box-shadow: 0 6px 18px rgba(140,107,31,0.18);
        align-items: center;
    }

        .order-card img {
            width: 80px;
            height: 80px;
            border-radius: 14px;
            object-fit: cover;
            flex-shrink: 0;
            border: 1px solid #e6d3a3;
        }

        .order-card .info {
            flex: 1;
        }

            .order-card .info h6 {
                font-size: 14px;
                font-weight: 800;
                margin-bottom: 4px;
                color: #2a3b55;
            }

            .order-card .info small {
                display: block;
                font-size: 12px;
                color: #6b6b6b;
                line-height: 1.5;
            }


    .Confirmation-page {
        min-height: 100vh;
        min-height: 100svh;
        padding-bottom: 150px;
    }






}*/

/* =========================
   ORDER SUMMARY
========================= */
/*.order-summary-card {
    background: #ffffff;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid #e6d3a3;
    box-shadow: 0 6px 18px rgba(140,107,31,0.18);
    margin-bottom: 12px;
    font-size: 14px;
}

    .order-summary-card div {
        display: flex;
        justify-content: space-between;
        margin-bottom: 6px;
        font-weight: 700;
        color: #2a3b55;
    }

    .order-summary-card .total {
        font-size: 15px;
        color: #8c6b1f;
        border-top: 1px solid #e6d3a3;
        padding-top: 6px;
        font-weight: 900;
    }*/

/* =========================
   DESKTOP ACTION BUTTONS
========================= */
/*@media (min-width: 769px) {

    .d-md-flex.gap-2 .btn {
        height: 36px;
        font-size: 13px;
        padding: 4px 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-weight: 700;
    }

    .Confirmation-page {
        min-height: 100vh;
        min-height: 100svh;
        padding-bottom: 150px;
    }
}*/

/* =========================
   MOBILE ACTION BUTTONS
========================= */
/*@media (max-width: 768px) {

    .mobile-actions {
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }

        .mobile-actions .btn {
            flex: 1;
            height: 44px;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            font-weight: 800;
        }

    .Confirmation-page {
        min-height: 100vh;
        min-height: 100svh;
        padding-bottom: 150px;
    }
}*/




body[b-ol3i5oke0h] {
    background-color: #F9F3E6;
    font-family: 'Alexandria', sans-serif;
    color: #231F20;
}

.Confirmation-page[b-ol3i5oke0h] {
    min-height: 100vh;
    padding-bottom: 100px;
}

/* =========================
   ORDER HEADER
========================= */
.order-header[b-ol3i5oke0h] {
    text-align: center;
    margin-bottom: 1rem;
}

    .order-header h3[b-ol3i5oke0h] {
        font-weight: 800;
        background: linear-gradient(90deg, #231F20, #F9D78A, #231F20);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .order-header p[b-ol3i5oke0h] {
        margin: 2px 0;
        font-size: 14px;
        color: #6b6b6b;
    }

/* =========================
   DESKTOP TABLE
========================= */
.table-responsive[b-ol3i5oke0h] {
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid #231F20;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.table th[b-ol3i5oke0h] {
    background: #F9D78A;
    color: #231F20;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1.5px solid #231F20;
}

.table td[b-ol3i5oke0h] {
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #231F20;
    font-size: 14px;
    color: #231F20;
}

/* Item image */
.item-image[b-ol3i5oke0h] {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    border: 1.5px solid #231F20;
}

/* =========================
   MOBILE ORDER CARDS
========================= */
@media (max-width: 768px) {

    .order-card[b-ol3i5oke0h] {
        display: flex;
        gap: 12px;
        background: #ffffff;
        border-radius: 18px;
        padding: 12px;
        margin-bottom: 12px;
        border: 1.5px solid #231F20;
        box-shadow: 0 6px 18px rgba(0,0,0,0.18);
        align-items: center;
    }

        .order-card img[b-ol3i5oke0h] {
            width: 80px;
            height: 80px;
            border-radius: 14px;
            object-fit: cover;
            flex-shrink: 0;
            border: 1.5px solid #231F20;
        }

        .order-card .info[b-ol3i5oke0h] {
            flex: 1;
        }

            .order-card .info h6[b-ol3i5oke0h] {
                font-size: 14px;
                font-weight: 800;
                margin-bottom: 4px;
                color: #231F20;
            }

            .order-card .info small[b-ol3i5oke0h] {
                display: block;
                font-size: 12px;
                color: #6b6b6b;
                line-height: 1.5;
            }

    .Confirmation-page[b-ol3i5oke0h] {
        min-height: 100vh;
        min-height: 100svh;
        padding-bottom: 150px;
    }
}

/* =========================
   ORDER SUMMARY
========================= */
.order-summary-card[b-ol3i5oke0h] {
    background: #ffffff;
    padding: 12px;
    border-radius: 16px;
    border: 1.5px solid #231F20;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    margin-bottom: 12px;
    font-size: 14px;
}

    .order-summary-card div[b-ol3i5oke0h] {
        display: flex;
        justify-content: space-between;
        margin-bottom: 6px;
        font-weight: 700;
        color: #231F20;
    }

    .order-summary-card .total[b-ol3i5oke0h] {
        font-size: 15px;
        color: #231F20;
        border-top: 1.5px solid #231F20;
        padding-top: 6px;
        font-weight: 900;
    }

/* =========================
   DESKTOP ACTION BUTTONS
========================= */
@media (min-width: 769px) {

    .d-md-flex.gap-2 .btn[b-ol3i5oke0h] {
        height: 36px;
        font-size: 13px;
        padding: 4px 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-weight: 700;
    }

    .Confirmation-page[b-ol3i5oke0h] {
        min-height: 100vh;
        min-height: 100svh;
        padding-bottom: 150px;
    }
}

/* =========================
   MOBILE ACTION BUTTONS
========================= */
@media (max-width: 768px) {

    .mobile-actions[b-ol3i5oke0h] {
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }

        .mobile-actions .btn[b-ol3i5oke0h] {
            flex: 1;
            height: 44px;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            font-weight: 800;
        }

    .Confirmation-page[b-ol3i5oke0h] {
        min-height: 100vh;
        min-height: 100svh;
        padding-bottom: 150px;
    }
}



/* /Pages/AdminPage/Client_pages/Clientlist.razor.rz.scp.css */
/* =====================================================
   CLIENT LIST — TOP ACTION BUTTONS
===================================================== */

/* Desktop polish */
@media (min-width: 769px) {
    .client-actions[b-uxl9z4vzpl] {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
    }

        .client-actions .btn[b-uxl9z4vzpl] {
            height: 34px;
            padding: 4px 12px;
            font-size: 13px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
        }

            .client-actions .btn i[b-uxl9z4vzpl] {
                font-size: 14px;
                margin-inline-end: 5px;
            }
}

/* Mobile stack */
@media (max-width: 768px) {
    .client-actions[b-uxl9z4vzpl] {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        text-align: center;
        margin-top: 10px;
    }

        .client-actions .btn[b-uxl9z4vzpl] {
            width: 100%;
            height: 44px;
            font-size: 14px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
}

/* =====================================================
   CLIENT LIST — DESKTOP TABLE
===================================================== */

.client-table th[b-uxl9z4vzpl],
.client-table td[b-uxl9z4vzpl] {
    vertical-align: middle;
    padding: 0.65rem 0.75rem;
    white-space: nowrap;
}

    .client-table th i.bi[b-uxl9z4vzpl] {
        font-size: 0.9rem;
        margin-inline-start: 4px;
    }

.client-table tbody tr:hover[b-uxl9z4vzpl] {
    background-color: #f8fafc;
}

/* =====================================================
   CLIENT LIST — MOBILE TABLE → CARDS
===================================================== */

@media (max-width: 768px) {

    .client-table thead[b-uxl9z4vzpl] {
        display: none;
    }

    .client-table[b-uxl9z4vzpl],
    .client-table tbody[b-uxl9z4vzpl],
    .client-table tr[b-uxl9z4vzpl],
    .client-table td[b-uxl9z4vzpl] {
        display: block;
        width: 100%;
    }

        .client-table tr[b-uxl9z4vzpl] {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            padding: 14px;
            margin-bottom: 16px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.06);
        }

        .client-table td[b-uxl9z4vzpl] {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 0;
            border: none;
            font-size: 14px;
            gap: 10px;
        }

            /* ===== LABELS (BY COLUMN ORDER) ===== */

            .client-table td:nth-child(1)[b-uxl9z4vzpl]::before {
                content: "رقم العميل";
            }

            .client-table td:nth-child(2)[b-uxl9z4vzpl]::before {
                content: "اسم العميل";
            }

            .client-table td:nth-child(3)[b-uxl9z4vzpl]::before {
                content: "العنوان";
            }

            .client-table td:nth-child(4)[b-uxl9z4vzpl]::before {
                content: "الشخص المسؤول";
            }

            .client-table td:nth-child(5)[b-uxl9z4vzpl]::before {
                content: "الهاتف";
            }

            .client-table td:nth-child(6)[b-uxl9z4vzpl]::before {
                content: "البريد الإلكتروني";
            }

            .client-table td:nth-child(7)[b-uxl9z4vzpl]::before {
                content: "يدفع كاش";
            }

            .client-table td:nth-child(8)[b-uxl9z4vzpl]::before {
                content: "رسوم التوصيل";
            }

            .client-table td:nth-child(9)[b-uxl9z4vzpl]::before {
                content: "الحساب المالي";
            }

            .client-table td:nth-child(10)[b-uxl9z4vzpl]::before {
                content: "الحالة";
            }

            .client-table td[b-uxl9z4vzpl]::before {
                font-weight: 600;
                font-size: 13px;
                color: #374151;
                flex: 0 0 45%;
            }

            .client-table td > *[b-uxl9z4vzpl] {
                flex: 1;
                text-align: start;
            }

            /* ===== ACTION BUTTONS ===== */

            .client-table td:nth-child(11)[b-uxl9z4vzpl] {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
                margin-top: 14px;
            }

                .client-table td:nth-child(11)[b-uxl9z4vzpl]::before {
                    display: none;
                }

                .client-table td:nth-child(11) .btn[b-uxl9z4vzpl] {
                    width: 100%;
                    height: 44px;
                    font-size: 14px;
                    padding: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                    .client-table td:nth-child(11) .btn i[b-uxl9z4vzpl] {
                        font-size: 16px;
                        margin-inline-end: 6px;
                    }
}

/* =====================================================
   CLIENT LIST — PAGINATION (MOBILE COMPACT)
===================================================== */

.pagination[b-uxl9z4vzpl] {
    gap: 6px;
}

    .pagination .page-link[b-uxl9z4vzpl] {
        font-size: 14px;
        padding: 8px 12px;
    }

@media (max-width: 576px) {
    .pagination[b-uxl9z4vzpl] {
        gap: 2px;
        flex-wrap: wrap;
    }

        .pagination .page-link[b-uxl9z4vzpl] {
            font-size: 12px;
            padding: 4px 8px;
            min-width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
}

/* =====================================================
   CLIENT LIST — MODALS (MOBILE)
===================================================== */

@media (max-width: 768px) {
    #clientModal .modal-dialog[b-uxl9z4vzpl],
    #deleteModal .modal-dialog[b-uxl9z4vzpl] {
        max-width: 95%;
        margin: auto;
    }

    #clientModal .modal-title[b-uxl9z4vzpl],
    #deleteModal .modal-title[b-uxl9z4vzpl] {
        font-size: 16px;
    }

    #clientModal .btn[b-uxl9z4vzpl],
    #deleteModal .btn[b-uxl9z4vzpl] {
        height: 42px;
        font-size: 14px;
    }
}


/* =====================================================
   LOADING OVERLAY
===================================================== */

.overlay-loader[b-uxl9z4vzpl] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loading-container[b-uxl9z4vzpl] {
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #1e3a8a;
}

.loading-logo[b-uxl9z4vzpl] {
    width: 72px;
    animation: pulse-b-uxl9z4vzpl 1.4s infinite ease-in-out;
}

@keyframes pulse-b-uxl9z4vzpl {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.85;
    }
}
/* /Pages/AdminPage/Item_pages/ItemList.razor.rz.scp.css */
/* =====================================================
   ITEM LIST — DESKTOP TABLE
===================================================== */

.item-table th[b-iiuao1mey4],
.item-table td[b-iiuao1mey4] {
    vertical-align: middle;
    padding: 0.65rem 0.75rem;
    white-space: nowrap;
}

    .item-table th i.bi[b-iiuao1mey4] {
        font-size: 0.9rem;
        margin-inline-start: 4px;
    }

.item-table tbody tr:hover[b-iiuao1mey4] {
    background-color: #f8fafc;
}

/* =====================================================
   ITEM IMAGE
===================================================== */

.img-table[b-iiuao1mey4] {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: transform 0.25s ease;
}

@media (min-width: 768px) {
    .img-table:hover[b-iiuao1mey4] {
        transform: scale(1.8);
        position: relative;
        z-index: 1000;
    }
}

/* =====================================================
   ITEM LIST — MOBILE TABLE → CARDS
===================================================== */

@media (max-width: 768px) {

    /* Hide header */
    .item-table thead[b-iiuao1mey4] {
        display: none;
    }

    /* Block layout */
    .item-table[b-iiuao1mey4],
    .item-table tbody[b-iiuao1mey4],
    .item-table tr[b-iiuao1mey4],
    .item-table td[b-iiuao1mey4] {
        display: block;
        width: 100%;
    }

        /* Card */
        .item-table tr[b-iiuao1mey4] {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            padding: 14px;
            margin-bottom: 16px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.06);
        }

        /* Row */
        .item-table td[b-iiuao1mey4] {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 0;
            border: none;
            font-size: 14px;
            gap: 10px;
        }

            /* ================= LABELS ================= */

            .item-table td:nth-child(1)[b-iiuao1mey4]::before {
                content: "الصورة";
            }

            .item-table td:nth-child(2)[b-iiuao1mey4]::before {
                content: "رقم الصنف";
            }

            .item-table td:nth-child(3)[b-iiuao1mey4]::before {
                content: "اسم الصنف";
            }

            .item-table td:nth-child(4)[b-iiuao1mey4]::before {
                content: "الوصف";
            }

            .item-table td:nth-child(5)[b-iiuao1mey4]::before {
                content: "السعر الأساسي";
            }

            .item-table td:nth-child(6)[b-iiuao1mey4]::before {
                content: "التصنيف";
            }

            .item-table td:nth-child(7)[b-iiuao1mey4]::before {
                content: "رقم الحساب المالي";
            }

            .item-table td:nth-child(8)[b-iiuao1mey4]::before {
                content: "تاريخ الإنشاء";
            }

            .item-table td[b-iiuao1mey4]::before {
                font-weight: 600;
                font-size: 13px;
                color: #374151;
                flex: 0 0 45%;
            }

            .item-table td > *[b-iiuao1mey4] {
                flex: 1;
                text-align: start;
            }

            /* ================= ACTION BUTTONS ================= */

            .item-table td:nth-child(9)[b-iiuao1mey4] {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
                margin-top: 14px;
            }

                .item-table td:nth-child(9)[b-iiuao1mey4]::before {
                    display: none;
                }

                .item-table td:nth-child(9) .btn[b-iiuao1mey4] {
                    width: 100%;
                    height: 44px;
                    font-size: 14px;
                    padding: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                    .item-table td:nth-child(9) .btn i[b-iiuao1mey4] {
                        font-size: 16px;
                        margin-inline-end: 6px;
                    }
}

/* =====================================================
   ITEM LIST — TOP ACTIONS (IMPORT / ADD) — MOBILE
===================================================== */

@media (max-width: 768px) {

    .row.mb-4 .col-md-6.text-end[b-iiuao1mey4] {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        text-align: center;
    }

    .row.mb-4 .btn[b-iiuao1mey4],
    .row.mb-4 .btn-group[b-iiuao1mey4] {
        width: 100%;
    }

    .row.mb-4 .btn[b-iiuao1mey4] {
        height: 44px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* =====================================================
   PAGINATION (TOUCH FRIENDLY)
===================================================== */

.pagination[b-iiuao1mey4] {
    gap: 6px;
}

    .pagination .page-link[b-iiuao1mey4] {
        font-size: 14px;
        padding: 8px 12px;
    }

@media (max-width: 576px) {
    .pagination .page-link[b-iiuao1mey4] {
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* =====================================================
   MODALS (MOBILE FRIENDLY)
===================================================== */

@media (max-width: 768px) {

    #itemModal .modal-dialog[b-iiuao1mey4],
    #deleteModal .modal-dialog[b-iiuao1mey4] {
        max-width: 95%;
        margin: auto;
    }

    #itemModal .modal-title[b-iiuao1mey4],
    #deleteModal .modal-title[b-iiuao1mey4] {
        font-size: 16px;
    }

    #itemModal .btn[b-iiuao1mey4],
    #deleteModal .btn[b-iiuao1mey4] {
        height: 42px;
        font-size: 14px;
    }
}

/* =====================================================
   PAGINATION — MOBILE COMPACT FIX (IMPORTANT)
===================================================== */
@media (max-width: 576px) {

    .pagination[b-iiuao1mey4] {
        gap: 2px; /* tighter spacing */
        flex-wrap: wrap; /* avoid overflow */
    }

        .pagination .page-link[b-iiuao1mey4] {
            font-size: 12px; /* smaller text */
            padding: 4px 8px; /* smaller button */
            min-width: 32px; /* keep tap target */
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Optional: make text buttons lighter */
        .pagination .page-link[b-iiuao1mey4] {
            line-height: 1;
        }
}




/* =====================================================
   TOP ACTION BUTTONS — DESKTOP POLISH
   (EXPORT / ADD BUTTONS)
===================================================== */
@media (min-width: 769px) {

    /* Container alignment */
    .row.mb-4 .col-md-6.text-end[b-iiuao1mey4] {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 8px; /* nice spacing */
    }

    /* Normal desktop button size */
    .row.mb-4 .btn[b-iiuao1mey4],
    .row.mb-4 .btn-group > .btn[b-iiuao1mey4] {
        height: 34px; /* FIX: smaller height */
        padding: 4px 12px; /* FIX: compact padding */
        font-size: 13px; /* admin-style size */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

        /* Dropdown button icon spacing */
        .row.mb-4 .btn i[b-iiuao1mey4] {
            font-size: 14px;
            margin-inline-end: 5px;
        }

    /* Dropdown menu alignment */
    .row.mb-4 .dropdown-menu[b-iiuao1mey4] {
        font-size: 13px;
        min-width: 180px;
    }

    .row.mb-4 .dropdown-item[b-iiuao1mey4] {
        padding: 6px 12px;
    }
}

/* =====================================================
   LOADING OVERLAY
===================================================== */

.overlay-loader[b-iiuao1mey4] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loading-container[b-iiuao1mey4] {
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #1e3a8a;
}

.loading-logo[b-iiuao1mey4] {
    width: 72px;
    animation: pulse-b-iiuao1mey4 1.4s infinite ease-in-out;
}

@keyframes pulse-b-iiuao1mey4 {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.85;
    }
}

/* ===============================
   MOBILE CART IMAGE FIX
   =============================== */
@media (max-width: 767.98px) {

    .cart-scope .cart-card[b-iiuao1mey4] {
        grid-template-columns: 56px 1fr; /* 🔽 أصغر */
        align-items: center;
    }

        .cart-scope .cart-card img[b-iiuao1mey4] {
            width: 56px;
            height: 56px;
            max-width: 56px;
            max-height: 56px;
            object-fit: contain; /* 🔥 shrink & fit */
            border-radius: 10px;
            background: #f8fafc; /* يحسّن شكل الصور الشفافة */
        }
}

/* =========================================
   MOBILE ITEM CARD IMAGE — CLEAN FIX
   ========================================= */
@media (max-width: 768px) {

    /* اجعل عمود الصورة أصغر */
    .item-table tr td:first-child[b-iiuao1mey4] {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        /* الصورة نفسها */
        .item-table tr td:first-child img[b-iiuao1mey4] {
            width: 48px;
            height: 48px;
            max-width: 48px;
            max-height: 48px;
            object-fit: contain; /* 🔥 autofit بدون قص */
            background: #f3f4f6; /* خلفية نظيفة */
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            padding: 4px; /* يمنع الالتصاق */
        }
}

/* Horizontal scroll ONLY for tables */
.table-scroll[b-iiuao1mey4] {
    width: 100%;
    overflow-x: auto!important;
    overflow-y: visible!important;
    -webkit-overflow-scrolling: touch!important;
}
    /* أجبر الجدول يكون أعرض من الشاشة */
    .table-scroll table[b-iiuao1mey4] {
        min-width: 900px; /* عدّل حسب الحاجة */
        white-space: nowrap;
    }
/* /Pages/AdminPage/SystemSetup_pages/SystemSetupList.razor.rz.scp.css */
/* =====================================================
   SYSTEM SETUP — TOP ACTION BUTTONS (MOBILE)
===================================================== */
/*@media (max-width: 768px) {

    .system-setup-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }

        .system-setup-actions .btn {
            width: 100%;
            height: 44px;
            font-size: 14px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
        }

            .system-setup-actions .btn i {
                font-size: 16px;
                margin-inline-end: 6px;
            }
}*/

/* =====================================================
   SYSTEM SETUP — TABLE (DESKTOP)
===================================================== */

/*.system-setup-table th,
.system-setup-table td {
    vertical-align: middle;
    padding: 0.65rem 0.75rem;
}

.system-setup-table th {
    white-space: nowrap;
}

.system-setup-table tbody tr:hover {
    background-color: #f8fafc;
}*/

/* =====================================================
   SYSTEM SETUP — MOBILE TABLE → CARDS (CSS ONLY)
===================================================== */

/*@media (max-width: 768px) {*/

    /* Hide header */
    /*.system-setup-table thead {
        display: none;
    }*/

    /* Block layout */
    /*.system-setup-table,
    .system-setup-table tbody,
    .system-setup-table tr,
    .system-setup-table td {
        display: block;
        width: 100%;
    }*/

        /* Card */
        /*.system-setup-table tr {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            padding: 14px;
            margin-bottom: 16px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.06);
        }*/

        /* Row */
        /*.system-setup-table td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 0;
            border: none;
            font-size: 14px;
            gap: 10px;
        }*/

            /* ================= LABELS (FIXED) ================= */

            /*.system-setup-table td:nth-child(1)::before {
                content: "من الساعة";
            }

            .system-setup-table td:nth-child(2)::before {
                content: "إلى الساعة";
            }

            .system-setup-table td:nth-child(3)::before {
                content: "حساب المبيعات";
            }

            .system-setup-table td:nth-child(4)::before {
                content: "حساب النقدية";
            }

            .system-setup-table td:nth-child(5)::before {
                content: "حساب الائتمان";
            }

            .system-setup-table td:nth-child(6)::before {
                content: "نشط الآن؟";
            }

            .system-setup-table td::before {
                font-weight: 600;
                font-size: 13px;
                color: #374151;
                flex: 0 0 45%;
            }

            .system-setup-table td > * {
                flex: 1;
                text-align: start;
            }*/

            /* ================= ACTION BUTTONS ================= */

            /*.system-setup-table td:nth-child(7) {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
                margin-top: 14px;
            }

                .system-setup-table td:nth-child(7)::before {
                    display: none;
                }

                .system-setup-table td:nth-child(7) .btn {
                    width: 100%;
                    height: 44px;
                    font-size: 14px;
                    padding: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                    .system-setup-table td:nth-child(7) .btn i {
                        font-size: 16px;
                        margin-inline-end: 6px;
                    }
}*/

/* =====================================================
   SYSTEM SETUP — MODALS (MOBILE)
===================================================== */

/*@media (max-width: 768px) {

    #systemSetupModal .modal-dialog,
    #deleteModal .modal-dialog {
        max-width: 95%;
        margin: auto;
    }

    #systemSetupModal .modal-title,
    #deleteModal .modal-title {
        font-size: 16px;
    }

    #systemSetupModal .btn,
    #deleteModal .btn {
        height: 42px;
        font-size: 14px;
    }
}*/


/* =====================================================
   SYSTEM SETUP — TOP ACTION BUTTONS (MOBILE)
===================================================== */
@media (max-width: 768px) {

    .system-setup-actions[b-t6u20v94uz] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }

        .system-setup-actions .btn[b-t6u20v94uz] {
            width: 100%;
            height: 44px;
            font-size: 14px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            background: linear-gradient(135deg, #c9a24d, #8c6b1f);
            color: #ffffff;
            border: 1px solid #e6d3a3;
        }

            .system-setup-actions .btn i[b-t6u20v94uz] {
                font-size: 16px;
                margin-inline-end: 6px;
            }
}

/* =====================================================
   SYSTEM SETUP — TABLE (DESKTOP)
===================================================== */

.system-setup-table th[b-t6u20v94uz],
.system-setup-table td[b-t6u20v94uz] {
    vertical-align: middle;
    padding: 0.65rem 0.75rem;
    color: #2b2b2b;
}

.system-setup-table th[b-t6u20v94uz] {
    white-space: nowrap;
    background-color: #fbf6eb;
    border-bottom: 1px solid #e6d3a3;
}

.system-setup-table tbody tr:hover[b-t6u20v94uz] {
    background-color: #f7f1e3;
}

/* =====================================================
   SYSTEM SETUP — MOBILE TABLE → CARDS (CSS ONLY)
===================================================== */

@media (max-width: 768px) {

    /* Hide header */
    .system-setup-table thead[b-t6u20v94uz] {
        display: none;
    }

    /* Block layout */
    .system-setup-table[b-t6u20v94uz],
    .system-setup-table tbody[b-t6u20v94uz],
    .system-setup-table tr[b-t6u20v94uz],
    .system-setup-table td[b-t6u20v94uz] {
        display: block;
        width: 100%;
    }

        /* Card */
        .system-setup-table tr[b-t6u20v94uz] {
            background: #ffffff;
            border: 1px solid #e6d3a3;
            border-radius: 14px;
            padding: 14px;
            margin-bottom: 16px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.06);
        }

        /* Row */
        .system-setup-table td[b-t6u20v94uz] {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 0;
            border: none;
            font-size: 14px;
            gap: 10px;
            color: #2b2b2b;
        }

            /* ================= LABELS (FIXED) ================= */

            .system-setup-table td:nth-child(1)[b-t6u20v94uz]::before {
                content: "من الساعة";
            }

            .system-setup-table td:nth-child(2)[b-t6u20v94uz]::before {
                content: "إلى الساعة";
            }

            .system-setup-table td:nth-child(3)[b-t6u20v94uz]::before {
                content: "حساب المبيعات";
            }

            .system-setup-table td:nth-child(4)[b-t6u20v94uz]::before {
                content: "حساب النقدية";
            }

            .system-setup-table td:nth-child(5)[b-t6u20v94uz]::before {
                content: "حساب الائتمان";
            }

            .system-setup-table td:nth-child(6)[b-t6u20v94uz]::before {
                content: "نشط الآن؟";
            }

            .system-setup-table td[b-t6u20v94uz]::before {
                font-weight: 600;
                font-size: 13px;
                color: #6b6b6b;
                flex: 0 0 45%;
            }

            .system-setup-table td > *[b-t6u20v94uz] {
                flex: 1;
                text-align: start;
            }

            /* ================= ACTION BUTTONS ================= */

            .system-setup-table td:nth-child(7)[b-t6u20v94uz] {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
                margin-top: 14px;
            }

                .system-setup-table td:nth-child(7)[b-t6u20v94uz]::before {
                    display: none;
                }

                .system-setup-table td:nth-child(7) .btn[b-t6u20v94uz] {
                    width: 100%;
                    height: 44px;
                    font-size: 14px;
                    padding: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background: linear-gradient(135deg, #c9a24d, #8c6b1f);
                    color: #ffffff;
                    border: 1px solid #e6d3a3;
                }

                    .system-setup-table td:nth-child(7) .btn i[b-t6u20v94uz] {
                        font-size: 16px;
                        margin-inline-end: 6px;
                    }
}

/* =====================================================
   SYSTEM SETUP — MODALS (MOBILE)
===================================================== */

@media (max-width: 768px) {

    #systemSetupModal .modal-dialog[b-t6u20v94uz],
    #deleteModal .modal-dialog[b-t6u20v94uz] {
        max-width: 95%;
        margin: auto;
    }

    #systemSetupModal .modal-title[b-t6u20v94uz],
    #deleteModal .modal-title[b-t6u20v94uz] {
        font-size: 16px;
        color: #2b2b2b;
    }

    #systemSetupModal .btn[b-t6u20v94uz],
    #deleteModal .btn[b-t6u20v94uz] {
        height: 42px;
        font-size: 14px;
        background: linear-gradient(135deg, #c9a24d, #8c6b1f);
        color: #ffffff;
        border: 1px solid #e6d3a3;
    }
}

/* /Pages/Admin/ManageUserAccounts.razor.rz.scp.css */
/* =====================================================
   GENERAL SAFE TWEAKS (DO NOT BREAK BOOTSTRAP)
===================================================== */

/* Slightly reduce table icons on small screens only */
@media (max-width: 768px) {
    .table th i.bi[b-62k6uzpoxb] {
        font-size: 0.85rem;
    }
}

/* =====================================================
   LOADING OVERLAY
===================================================== */
.overlay-loader[b-62k6uzpoxb] {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loading-container[b-62k6uzpoxb] {
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #1e3a8a;
    text-align: center;
}

.loading-logo[b-62k6uzpoxb] {
    width: 72px;
    animation: pulse-b-62k6uzpoxb 1.4s infinite ease-in-out;
}

@keyframes pulse-b-62k6uzpoxb {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.85;
    }
}

/* =====================================================
   MODAL — COMPACT BUT USABLE (ALL SCREENS)
===================================================== */
.modal-sm-mobile .modal-dialog[b-62k6uzpoxb] {
    max-width: 420px;
}

.modal-sm-mobile .modal-content[b-62k6uzpoxb] {
    border-radius: 14px;
}

.modal-sm-mobile .modal-header[b-62k6uzpoxb],
.modal-sm-mobile .modal-body[b-62k6uzpoxb],
.modal-sm-mobile .modal-footer[b-62k6uzpoxb] {
    padding: 12px 16px;
}

.modal-sm-mobile label[b-62k6uzpoxb] {
    font-size: 14px;
    font-weight: 600;
}

.modal-sm-mobile .form-control[b-62k6uzpoxb],
.modal-sm-mobile .form-select[b-62k6uzpoxb] {
    font-size: 14px;
    padding: 8px 10px;
}

.modal-sm-mobile .btn[b-62k6uzpoxb] {
    font-size: 14px;
    padding: 6px 14px;
}

/* =====================================================
   MOBILE OPTIMIZATION (MAX 768px)
===================================================== */
@media (max-width: 768px) {

    /* Page title */
    h3[b-62k6uzpoxb] {
        font-size: 18px;
        margin-bottom: 12px;
    }

    /* Search & top actions */
    .form-control[b-62k6uzpoxb] {
        font-size: 14px;
    }

    /* Mobile user cards */
    .user-card[b-62k6uzpoxb] {
        border-radius: 14px;
        border: 1px solid #e5e7eb;
        background-color: #ffffff;
    }

        .user-card .card-body[b-62k6uzpoxb] {
            padding: 12px;
        }

        .user-card .fw-bold[b-62k6uzpoxb] {
            font-size: 15px;
        }

        .user-card .text-muted[b-62k6uzpoxb] {
            font-size: 13px;
        }

        .user-card .btn[b-62k6uzpoxb] {
            font-size: 13px;
            padding: 6px 10px;
        }

    /* Modal adjustments */
    .modal-sm-mobile .modal-dialog[b-62k6uzpoxb] {
        max-width: 95%;
        margin: auto;
    }

    .modal-sm-mobile .modal-header[b-62k6uzpoxb] {
        padding-bottom: 8px;
    }

    .modal-sm-mobile .modal-title[b-62k6uzpoxb] {
        font-size: 15px;
    }

    .modal-sm-mobile img[b-62k6uzpoxb] {
        width: 72px;
        height: 72px;
        object-fit: cover;
    }

    /* Loading */
    .loading-container[b-62k6uzpoxb] {
        height: 150px;
    }

    .loading-logo[b-62k6uzpoxb] {
        width: 60px;
    }
}

/* =====================================================
   DESKTOP TABLE IMPROVEMENTS (OPTIONAL POLISH)
===================================================== */
@media (min-width: 768px) {
    .table th[b-62k6uzpoxb],
    .table td[b-62k6uzpoxb] {
        vertical-align: middle;
    }

    .table-hover tbody tr:hover[b-62k6uzpoxb] {
        background-color: #f8fafc;
    }
}
/* /Pages/Admin/OrdersDashboard.razor.rz.scp.css */

.summary-card:hover[b-ehsbdh7qe2] {
    background-color: #f5f9ff;
    transition: 0.2s;
}

.icon-box[b-ehsbdh7qe2] {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

/* /Pages/Admin/OrdersList.razor.rz.scp.css */
/* =====================================================
   TABLE ROW HIGHLIGHT — CLEAN & CONSISTENT
===================================================== */

/* Highlight animation (new / updated row) */
.table-highlight[b-n8o9cmsfjm] {
    animation: row-highlight-b-n8o9cmsfjm 1.8s ease-out;
    background-color: #fff3cd;
}

/* Animation keyframes */
@keyframes row-highlight-b-n8o9cmsfjm {
    0% {
        background-color: #ffe8a1;
    }

    60% {
        background-color: #fff3cd;
    }

    100% {
        background-color: transparent;
    }
}

/* Respect reduced motion (accessibility) */
@media (prefers-reduced-motion: reduce) {
    .table-highlight[b-n8o9cmsfjm] {
        animation: none;
        background-color: #fff3cd;
    }
}

/* =====================================================
   NEW BADGE — COMPACT & RESPONSIVE
===================================================== */

.new-badge[b-n8o9cmsfjm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    margin-inline-end: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
    background-color: #ff5722;
    border-radius: 999px;
    line-height: 1.4;
    vertical-align: middle;
}

/* Mobile refinement */
@media (max-width: 768px) {
    .new-badge[b-n8o9cmsfjm] {
        font-size: 10px;
        padding: 2px 6px;
    }
}
/* /Pages/Admin/PrintProductionReport.razor.rz.scp.css */
/* ===============================
   PRINT PRODUCTION REPORT FIX
================================ */

/* Screen behavior */
.table-scroll-wrapper.print-safe[b-zqyvq243f7] {
    overflow-x: auto;
}

/* Print behavior */
@media print {
    .table-scroll-wrapper.print-safe[b-zqyvq243f7] {
        overflow: visible !important;
    }

    .stock-table[b-zqyvq243f7] {
        min-width: auto !important;
        white-space: normal !important;
    }

    body[b-zqyvq243f7] {
        background: white !important;
    }

    table[b-zqyvq243f7] {
        page-break-inside: auto;
    }

    tr[b-zqyvq243f7] {
        page-break-inside: avoid;
        page-break-after: auto;
    }
}

@media print {
    table[b-zqyvq243f7] {
        font-size: 12px;
    }
}

@page {
    size: landscape;
}
/* /Pages/Admin/ProductionHistory.razor.rz.scp.css */
/* ===============================
   ADMIN TABLE HORIZONTAL SCROLL
================================ */

.table-scroll-wrapper[b-3x4a8yhuwf] {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

.stock-table[b-3x4a8yhuwf] {
    min-width: 900px; /* forces horizontal scroll on small screens */
    white-space: nowrap;
}

/* Optional scrollbar styling */
.table-scroll-wrapper[b-3x4a8yhuwf]::-webkit-scrollbar {
    height: 8px;
}

.table-scroll-wrapper[b-3x4a8yhuwf]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

.table-scroll-wrapper[b-3x4a8yhuwf]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 8px;
}

    .table-scroll-wrapper[b-3x4a8yhuwf]::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

/* Sticky header (nice for long reports) */
.stock-table thead th[b-3x4a8yhuwf] {
    position: sticky;
    top: 0;
    z-index: 2;
}

/* ===============================
   PRINT FIX
================================ */
@media print {
    .table-scroll-wrapper[b-3x4a8yhuwf] {
        overflow: visible !important;
    }

    .stock-table[b-3x4a8yhuwf] {
        min-width: auto !important;
        white-space: normal !important;
    }
}


/* ===============================
   RESPONSIVE DATE FILTER BAR
================================ */

.filter-bar[b-3x4a8yhuwf] {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap; /* 🔥 يسمح بالكسر */
}

    /* inputs wrapper */
    .filter-bar > div[b-3x4a8yhuwf] {
        min-width: 160px;
    }

    /* search button */
    .filter-bar .btn[b-3x4a8yhuwf] {
        white-space: nowrap;
    }

/* ===============================
   MOBILE FIX
================================ */
@media (max-width: 576px) {

    .filter-bar[b-3x4a8yhuwf] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

        .filter-bar > div[b-3x4a8yhuwf] {
            width: 100%;
        }

        .filter-bar .btn[b-3x4a8yhuwf] {
            width: 100%;
        }
}
/* /Pages/Admin/StockUsage.razor.rz.scp.css */
/* ===============================
   HORIZONTAL SCROLL TABLE
================================ */

/* Scroll container */
.table-scroll-wrapper[b-ct1w6e5jvn] {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* smooth on iOS */
    border-radius: 8px;
}

/* Prevent table from shrinking */
.stock-table[b-ct1w6e5jvn] {
    min-width: 900px; /* force horizontal scroll on small screens */
    white-space: nowrap;
}

/* Optional: nicer scrollbar (WebKit) */
.table-scroll-wrapper[b-ct1w6e5jvn]::-webkit-scrollbar {
    height: 8px;
}

.table-scroll-wrapper[b-ct1w6e5jvn]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

.table-scroll-wrapper[b-ct1w6e5jvn]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 8px;
}

    .table-scroll-wrapper[b-ct1w6e5jvn]::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

/* ===============================
   PRINT FIX (VERY IMPORTANT)
================================ */
@media print {
    .table-scroll-wrapper[b-ct1w6e5jvn] {
        overflow: visible !important;
    }

    .stock-table[b-ct1w6e5jvn] {
        min-width: auto !important;
        white-space: normal !important;
    }
}
/* /Pages/AuthClient.razor.rz.scp.css */


/* =========================
   HERO SECTION
========================= */

header.hero[b-uki83o1uo8] {
 
    background: #fbf6eb;
    color: #231F20;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
    padding: 6rem 1rem;
}

/* =========================
   LOGO + TITLE
========================= */

.hero-logo-title[b-uki83o1uo8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-img[b-uki83o1uo8] {
    height: 110px;
    max-width: 90vw;
    /* background: #ffffff;*/
    padding: 14px 20px;
    /*  border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);*/
}






.hero-title[b-uki83o1uo8] {
    font-size: 2.1rem;
    font-weight: 700;
    text-align: center;
    color: #231F20; /* dark gold */
}

.hero-subtitle[b-uki83o1uo8] {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: #6b6b6b; /* muted text */
}

/* =========================
   SECTION TITLES
========================= */

.section-title[b-uki83o1uo8] {
    color: #231F20; /* gold */
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 3rem;
    display: inline-block;
    position: relative;
}

    .section-title[b-uki83o1uo8]::after {
        content: "";
        display: block;
        height: 4px;
        width: 60%;
        background: #231F20; /* logo gold */
        margin-top: 0.6rem;
        border-radius: 4px;
    }



.card-custom[b-uki83o1uo8] {
    background: #F9D78A;
    border: 2px solid #111; /* thick-ish black border */
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}







    .card-custom:hover[b-uki83o1uo8] {
        transform: translateY(-6px);
        box-shadow: 0 18px 35px rgba(0,0,0,0.12);
    }

.icon[b-uki83o1uo8] {
    color: #c9a24d;
    font-size: 2.4rem;
}

/* =========================
   CTA SECTION
========================= */

.cta-section[b-uki83o1uo8] {
    background: #fbf6eb;
    border-radius: 2.5rem;
    padding: 4rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

    .cta-section h2[b-uki83o1uo8] {
        color: #231F20;
    }

    .cta-section p[b-uki83o1uo8] {
        color: #6b6b6b;
    }

/* =========================
   FOOTER
========================= */

footer[b-uki83o1uo8] {
    background: #fbf6eb;
    padding: 2rem 0;
    border-top: 1px solid #e6d3a3;
}

    footer p[b-uki83o1uo8] {
        margin: 0;
        font-size: 0.9rem;
        color: #231F20;
    }

/* =========================
   LOADING SCREEN
========================= */

.loading-container[b-uki83o1uo8] {
    height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-logo[b-uki83o1uo8] {
    width: 130px;
    animation: pulse-b-uki83o1uo8 1.5s infinite;
}

@keyframes pulse-b-uki83o1uo8 {
    0% {
        transform: scale(1);
        opacity: .85;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: .85;
    }
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

    header.hero[b-uki83o1uo8] {
        padding: 3.5rem 1rem;
    }

    .logo-img[b-uki83o1uo8] {
        height: 70px;
    }

    .hero-title[b-uki83o1uo8] {
        font-size: 1.4rem;
    }

    .hero-subtitle[b-uki83o1uo8] {
        font-size: 0.9rem;
        max-width: 90%;
    }

    .section-title[b-uki83o1uo8] {
        font-size: 1.6rem;
    }
}

@media (max-width: 360px) {

    .logo-img[b-uki83o1uo8] {
        height: 60px;
        padding: 10px 14px;
    }

    .hero-title[b-uki83o1uo8] {
        font-size: 1.2rem;
    }

    header.hero[b-uki83o1uo8] {
        padding: 3rem 0.8rem;
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
    }
}


.clickable-card[b-uki83o1uo8] {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .clickable-card:hover[b-uki83o1uo8] {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }
/* /Pages/AuthManage.razor.rz.scp.css */
/* =========================
   GLOBAL
========================= */

html[b-np70rdkv6s], body[b-np70rdkv6s] {
    font-family: 'Alexandria';
    max-width: 100%;
    overflow-x: hidden;
    background-color: #F9F3E6;
    color: #231F20;
}

/* =========================
   HERO SECTION
========================= */

header.hero[b-np70rdkv6s] {
    background: #fbf6eb;
    color: #231F20;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
    padding: 6rem 1rem;
}

/* =========================
   LOGO + TITLE
========================= */

.hero-logo-title[b-np70rdkv6s] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-img[b-np70rdkv6s] {
    height: 110px;
    max-width: 90vw;
    /* background: #ffffff;*/
    padding: 14px 20px;
    /*  border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);*/
}






.hero-title[b-np70rdkv6s] {
    font-size: 2.1rem;
    font-weight: 700;
    text-align: center;
    color: #231F20; /* dark gold */
}

.hero-subtitle[b-np70rdkv6s] {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: #6b6b6b; /* muted text */
}

/* =========================
   SECTION TITLES
========================= */

.section-title[b-np70rdkv6s] {
    color: #231F20; /* gold */
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 3rem;
    display: inline-block;
    position: relative;
}

    .section-title[b-np70rdkv6s]::after {
        content: "";
        display: block;
        height: 4px;
        width: 60%;
        background: #231F20; /* logo gold */
        margin-top: 0.6rem;
        border-radius: 4px;
    }

/* =========================
   CARDS (PRODUCT STYLE)
========================= */

/*.card-custom {
    background: #ffffff;
    border: 1px solid #e6d3a3;*/ /* soft gold border */
/*border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}*/


.card-custom[b-np70rdkv6s] {
    background: #F9D78A;
    border: 2px solid #111; /* thick-ish black border */
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}







    .card-custom:hover[b-np70rdkv6s] {
        transform: translateY(-6px);
        box-shadow: 0 18px 35px rgba(0,0,0,0.12);
    }

.icon[b-np70rdkv6s] {
    color: #c9a24d;
    font-size: 2.4rem;
}

/* =========================
   CTA SECTION
========================= */

.cta-section[b-np70rdkv6s] {
    background: #fbf6eb;
    border-radius: 2.5rem;
    padding: 4rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

    .cta-section h2[b-np70rdkv6s] {
        color: #231F20;
    }

    .cta-section p[b-np70rdkv6s] {
        color: #6b6b6b;
    }

/* =========================
   FOOTER
========================= */

footer[b-np70rdkv6s] {
    background: #fbf6eb;
    padding: 2rem 0;
    border-top: 1px solid #e6d3a3;
}

    footer p[b-np70rdkv6s] {
        margin: 0;
        font-size: 0.9rem;
        color: #231F20;
    }

/* =========================
   LOADING SCREEN
========================= */

.loading-container[b-np70rdkv6s] {
    height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-logo[b-np70rdkv6s] {
    width: 130px;
    animation: pulse-b-np70rdkv6s 1.5s infinite;
}

@keyframes pulse-b-np70rdkv6s {
    0% {
        transform: scale(1);
        opacity: .85;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: .85;
    }
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

    header.hero[b-np70rdkv6s] {
        padding: 3.5rem 1rem;
    }

    .logo-img[b-np70rdkv6s] {
        height: 70px;
    }

    .hero-title[b-np70rdkv6s] {
        font-size: 1.4rem;
    }

    .hero-subtitle[b-np70rdkv6s] {
        font-size: 0.9rem;
        max-width: 90%;
    }

    .section-title[b-np70rdkv6s] {
        font-size: 1.6rem;
    }
}

@media (max-width: 360px) {

    .logo-img[b-np70rdkv6s] {
        height: 60px;
        padding: 10px 14px;
    }

    .hero-title[b-np70rdkv6s] {
        font-size: 1.2rem;
    }

    header.hero[b-np70rdkv6s] {
        padding: 3rem 0.8rem;
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
    }
}
/* /Pages/DeliveryDashboard.razor.rz.scp.css */
/* =========================================================
   1) MOBILE UI (SCREEN ONLY)
   ========================================================= */
@media screen and (max-width: 768px) {
    body[b-2432b5zrmg] {
        font-size: 0.7rem;
    }

    h3[b-2432b5zrmg] {
        font-size: 0.9rem;
    }

    h5[b-2432b5zrmg] {
        font-size: 0.8rem;
    }

    .card[b-2432b5zrmg] {
        padding: 10px !important;
    }

    .form-control[b-2432b5zrmg] {
        font-size: 0.6rem;
        height: calc(1.5em + 0.5rem + 2px);
    }

    .btn[b-2432b5zrmg] {
        font-size: 0.6rem;
        padding: 0.35rem 0.6rem;
    }

    .table th[b-2432b5zrmg],
    .table td[b-2432b5zrmg] {
        font-size: 0.6rem;
        padding: 0.3rem 0.5rem;
    }

    .table img[b-2432b5zrmg] {
        width: 40px;
        height: 40px;
    }

    input.form-control[b-2432b5zrmg] {
        width: 150px !important;
    }

    .btn-success[b-2432b5zrmg] {
        padding: 0.25rem 0.5rem;
        font-size: 0.6rem;
    }

    .d-flex.gap-2[b-2432b5zrmg] {
        gap: 0.3rem !important;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 576px) {
    .modal-dialog[b-2432b5zrmg] {
        max-width: 95%;
        margin: 1.5rem auto;
    }

    .modal-body p[b-2432b5zrmg] {
        font-size: 0.6rem;
    }

    .modal-footer .btn[b-2432b5zrmg] {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }
}



/* /Pages/Home.razor.rz.scp.css */
/* =========================
   GLOBAL
========================= */

html[b-3byxsbo6i0], body[b-3byxsbo6i0] {
    font-family: 'Alexandria';
    max-width: 100%;
    overflow-x: hidden;
    background-color: #F9F3E6;
    color: #231F20;
}

/* =========================
   HERO SECTION
========================= */

header.hero[b-3byxsbo6i0] {
    background: #fbf6eb;
    color: #231F20;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
    padding: 6rem 1rem;
}

/* =========================
   LOGO + TITLE
========================= */

.hero-logo-title[b-3byxsbo6i0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-img[b-3byxsbo6i0] {
    height: 110px;
    max-width: 90vw;
    /* background: #ffffff;*/
    padding: 14px 20px;
    /*  border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);*/
}






.hero-title[b-3byxsbo6i0] {
    font-size: 2.1rem;
    font-weight: 700;
    text-align: center;
    color: #231F20; /* dark gold */
}

.hero-subtitle[b-3byxsbo6i0] {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: #6b6b6b; /* muted text */
}

/* =========================
   SECTION TITLES
========================= */

.section-title[b-3byxsbo6i0] {
    color: #231F20; /* gold */
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 3rem;
    display: inline-block;
    position: relative;
}

    .section-title[b-3byxsbo6i0]::after {
        content: "";
        display: block;
        height: 4px;
        width: 60%;
        background: #231F20; /* logo gold */
        margin-top: 0.6rem;
        border-radius: 4px;
    }

/* =========================
   CARDS (PRODUCT STYLE)
========================= */

/*.card-custom {
    background: #ffffff;
    border: 1px solid #e6d3a3;*/ /* soft gold border */
    /*border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}*/


.card-custom[b-3byxsbo6i0] {
    background: #F9D78A;
    border: 2px solid #111; /* thick-ish black border */
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}







    .card-custom:hover[b-3byxsbo6i0] {
        transform: translateY(-6px);
        box-shadow: 0 18px 35px rgba(0,0,0,0.12);
    }

.icon[b-3byxsbo6i0] {
    color: #c9a24d;
    font-size: 2.4rem;
}

/* =========================
   CTA SECTION
========================= */

.cta-section[b-3byxsbo6i0] {
    background: #fbf6eb;
    border-radius: 2.5rem;
    padding: 4rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

    .cta-section h2[b-3byxsbo6i0] {
        color: #231F20;
    }

    .cta-section p[b-3byxsbo6i0] {
        color: #6b6b6b;
    }

/* =========================
   FOOTER
========================= */

footer[b-3byxsbo6i0] {
    background: #fbf6eb;
    padding: 2rem 0;
    border-top: 1px solid #e6d3a3;
}

    footer p[b-3byxsbo6i0] {
        margin: 0;
        font-size: 0.9rem;
        color: #231F20;
    }

/* =========================
   LOADING SCREEN
========================= */

.loading-container[b-3byxsbo6i0] {
    height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-logo[b-3byxsbo6i0] {
    width: 130px;
    animation: pulse-b-3byxsbo6i0 1.5s infinite;
}

@keyframes pulse-b-3byxsbo6i0 {
    0% {
        transform: scale(1);
        opacity: .85;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: .85;
    }
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

    header.hero[b-3byxsbo6i0] {
        padding: 3.5rem 1rem;
    }

    .logo-img[b-3byxsbo6i0] {
        height: 70px;
    }

    .hero-title[b-3byxsbo6i0] {
        font-size: 1.4rem;
    }

    .hero-subtitle[b-3byxsbo6i0] {
        font-size: 0.9rem;
        max-width: 90%;
    }

    .section-title[b-3byxsbo6i0] {
        font-size: 1.6rem;
    }
}

@media (max-width: 360px) {

    .logo-img[b-3byxsbo6i0] {
        height: 60px;
        padding: 10px 14px;
    }

    .hero-title[b-3byxsbo6i0] {
        font-size: 1.2rem;
    }

    header.hero[b-3byxsbo6i0] {
        padding: 3rem 0.8rem;
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
    }
}
/* /Pages/MobileBottomBar.razor.rz.scp.css */




/* ===============================
   HARD MOBILE RESET
================================ */
html[b-0jwgqoofvo], body[b-0jwgqoofvo] {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* ===============================
   MOBILE BOTTOM BAR (APP STYLE)
================================ */
.bottom-bar[b-0jwgqoofvo] {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    height: 70px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 1000;
}

    /* ===============================
   BUTTON RESET + LAYOUT
================================ */
    .bottom-bar button[b-0jwgqoofvo] {
        all: unset; /* 🔥 kill default button styles */
        flex: 1;
        min-width: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        cursor: pointer;
        font-family: inherit;
        color: #6b7280;
        transition: color 0.2s ease, transform 0.15s ease;
    }

        /* ===============================
   ICON
================================ */
        .bottom-bar button i[b-0jwgqoofvo] {
            font-size: 22px;
            line-height: 1;
        }

        /* ===============================
   LABEL
================================ */
        .bottom-bar button span[b-0jwgqoofvo] {
            font-size: 11px;
            font-weight: 600;
            line-height: 1;
        }

        /* ===============================
   ACTIVE STATE
================================ */
        .bottom-bar button.active[b-0jwgqoofvo] {
            color: #c9a24d;
        }

        /* ===============================
   TAP FEEDBACK (MOBILE FEEL)
================================ */
        .bottom-bar button:active:not(:disabled)[b-0jwgqoofvo] {
            transform: scale(0.92);
        }

        /* ===============================
   DISABLED (OUT OF HOURS)
================================ */
        .bottom-bar button:disabled[b-0jwgqoofvo] {
            opacity: 0.35;
            pointer-events: none;
        }

/* ===============================
   DESKTOP HIDE
================================ */
@media (min-width: 992px) {
    .bottom-bar[b-0jwgqoofvo] {
        display: none;
    }
}
/* /Pages/ProductionDashboardQty.razor.rz.scp.css */
/* =====================================================
   PRODUCTION DASHBOARD — PERFECT PAGE CSS
   Scope: ProductionDashboardQty ONLY
===================================================== */

/* ===== ROOT ===== */
.production-scope[b-jqhgpiqquk] {
    font-family: 'Alexandria', system-ui, sans-serif;
    color: #1f2937;
    width: 100%;
    padding: 1rem;
}

/* ===== PAGE SCROLL (RELIES ON main { overflow:auto }) ===== */
.production-scroll[b-jqhgpiqquk] {
    display: block;
    width: 100%;
}

/* ===== PAGE TITLE ===== */
.production-scope h3[b-jqhgpiqquk] {
    font-weight: 800;
    font-size: 1.35rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

/* ===== ALERT (DATE BAR) ===== */
.production-scope .alert[b-jqhgpiqquk] {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* =====================================================
   TABLE — RESPONSIVE & STABLE
===================================================== */

/* Wrapper controls horizontal scroll ONLY */
.production-table-wrapper[b-jqhgpiqquk] {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Main table */
.production-scope table[b-jqhgpiqquk] {
    width: 100%;
    min-width: 900px; /* forces scroll on tablets */
    border-collapse: collapse;
    font-size: 0.85rem;
}

/* Table header */
.production-scope thead th[b-jqhgpiqquk] {
    background-color: #1f2937;
    color: #231F20;
    font-weight: 700;
    white-space: nowrap;
}

/* Table cells */
.production-scope th[b-jqhgpiqquk],
.production-scope td[b-jqhgpiqquk] {
    padding: 0.6rem 0.75rem;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

    /* Action buttons column */
    .production-scope td[data-label="الإجراء"][b-jqhgpiqquk] {
        white-space: normal;
    }

        .production-scope td[data-label="الإجراء"] .btn[b-jqhgpiqquk] {
            margin: 0.15rem;
        }

/* Expanded details table */
.production-scope table table[b-jqhgpiqquk] {
    min-width: 100%;
    font-size: 0.8rem;
}

/* =====================================================
   STATUS & BADGES
===================================================== */

.production-scope .badge[b-jqhgpiqquk] {
    font-size: 0.7rem;
    padding: 0.25rem 0.45rem;
    vertical-align: middle;
}

/* =====================================================
   MODALS — CLEAN & CONSISTENT
===================================================== */

.modal[b-jqhgpiqquk] {
    background: rgba(0, 0, 0, 0.5);
}

.modal-dialog[b-jqhgpiqquk] {
    max-width: 520px;
    margin: 1.75rem auto;
}

.modal-content[b-jqhgpiqquk] {
    border-radius: 14px;
}

.modal-header h5[b-jqhgpiqquk] {
    font-weight: 700;
    font-size: 1rem;
}

.modal-body[b-jqhgpiqquk] {
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-footer .btn[b-jqhgpiqquk] {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
}

/* =====================================================
   MOBILE TUNING
===================================================== */

@media (max-width: 768px) {

    .production-scope[b-jqhgpiqquk] {
        padding: 0.75rem;
    }

        .production-scope h3[b-jqhgpiqquk] {
            font-size: 1.1rem;
        }

        .production-scope table[b-jqhgpiqquk] {
            font-size: 0.75rem;
        }

        .production-scope th[b-jqhgpiqquk],
        .production-scope td[b-jqhgpiqquk] {
            padding: 0.45rem 0.5rem;
        }

            .production-scope td[data-label="الإجراء"] .btn[b-jqhgpiqquk] {
                font-size: 0.65rem;
                padding: 0.25rem 0.5rem;
            }
}

/* =====================================================
   TABLET TUNING
===================================================== */

@media (min-width: 769px) and (max-width: 1024px) {

    .production-scope table[b-jqhgpiqquk] {
        min-width: 1000px;
    }

    .production-scope h3[b-jqhgpiqquk] {
        font-size: 1.25rem;
    }
}
