@import url("reset.css");

body {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #333;
    margin: 0;
}

ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

li {
    list-style-type: none;
}

h1, h2, h3 {
    font-size: 15px;
    margin: 0;
}


img, li, a {
    border: 0px;
}

    a:link, a:visited {
        color: #00999f;
        text-decoration: none;
        text-transform: capitalize;
        font-size: 14px;
    }

    a:hover {
        color: #ff940a;
        text-decoration: none;
    }

p {
    margin-bottom: 3px;
    font-size: small;
}

.price b {
    font-weight: 500;
    color: #ff940a;
    font-size: small;
}

* {
    margin: 0;
    padding: 0;
}

* html .clearfix {
    height: 1%;
    overflow: visible;
}
/* float clearing for IE7*/

* + html .clearfix {
    min-height: 1%;
}
    /* float clearing for everyone else */

    .clearfix:after {
        clear: both;
        content: ".";
        display: block;
        height: 0;
        visibility: hidden;
        font-size: 0;
    }


.heading-total {
    background-color: #161616;
    padding: 20px;
}

    .heading-total h3 {
        font-size: 18px;
        font-weight: 600;
    }

.tLogo {
    color: #ff6600;
}

.heading-total2 {
    background-color: #104861;
    padding: 20px;
}

    .heading-total2 h3 {
        font-size: 18px;
        font-weight: 600;
    }

.tMerit {
    color: #ffff00;
}

#datetime1, #datetime2 {
    color: #44b3e1;
}

.table-customer thead tr {
    background-color: #fbe2d5;
    color: #c00000;
}

.table-customer > thead > tr > th, .table-customer > tbody > tr > td {
    border: 1px solid #000;
}

.table-customer tr {
    background-color: #ccffff;
    color: #000;
    border: 1px solid #000;
}

.table-customer > tbody > tr:nth-of-type(odd) {
    background-color: #f2f2f2;
}

.table-customer td:nth-child(2) {
    color: #190a74;
}

.table-customer td:nth-child(5) {
    font-weight: bold;
}

.table-customer .progress.done {
    color: green;
    font-weight: bold;
}

.table-customer .progress.preparing {
    color: #be5014;
    font-weight: bold;
}

.table-customer .progress.producing {
    color: #ff0017;
    font-weight: bold;
}

.table-customer .progress.none {
    color: gray;
    font-style: italic;
}


.shift-morning {
    color: #ff7a00;
    font-weight: 700;
}

.shift-afternoon {
    color: #0077c8;
    font-weight: 700;
}

.shift-night {
    color: #6f42c1;
    font-weight: 700;
}

.status-preparing {
    color: #ff7a00;
    font-weight: 700;
}

.status-producing {
    color: #d90429;
    font-weight: 700;
}

.status-done {
    color: #2a9d8f;
    font-weight: 700;
}

.status-none {
    color: #6c757d;
    font-style: italic;
}

.wh-done {
    color: #1a7f37;
    font-weight: 700;
}

.wh-notdone {
    color: #c1121f;
    font-weight: 700;
}

.wh-late {
    color: #b45309;
    font-weight: 700;
}

.wh-cancel {
    color: #6c757d;
    font-weight: 700;
}

.prog-done {
    color: #1a7f37;
    font-weight: 700;
}

.prog-notdone {
    color: #c1121f;
    font-weight: 700;
}

.prog-late {
    color: #b45309;
    font-weight: 700;
}

.prog-cancel {
    color: #6c757d;
    font-weight: 700;
}

.table-customer td:nth-child(8) {
    background: #e9f8f6;
}


.boxTongSo {
    position: absolute;
    right: 0;
    top: 0;
    width: 190px;
    text-align: center;
    border: 1px solid #000;
    font-size: 17px;
}

    .boxTongSo > div {
        padding: 10px;
    }

    .boxTongSo .box-tongsochuyen {
        background-color: #c9edfb;
        color: #5f2464;
        font-weight: 600;
        font-size: 20px;
    }

    .boxTongSo .box-dathuchien {
        background-color: #393939;
        color: #42d062;
    }

.box-sochuyenconlai {
    background-color: #7ce48f;
    color: #af561e;
}

.title-tongsochuyen {
    color: #004d6b;
    font-size: 50px;
}

.title-dathuchien {
    color: #407b11;
    font-size: 30px;
}

.title-sochuyenconlai {
    color: #fb6a00;
    font-size: 30px;
}

.pagination > .active {
    padding: 0px;
    border-radius: 4px;
}

.pagination {
    margin-top: 0;
}


.table-customer th.action-col, .table-customer td.action-col {
    width: 90px;
    white-space: nowrap;
}

/* ====== Admin Menu – clean card style ====== */
:root {
    --menu-primary: #0ea5e9;
    --menu-text: #1f2937;
    --menu-border: #e5e7eb;
    --menu-bg: #ffffff;
    --menu-bg-hover: #f8fafc;
}

@media (prefers-color-scheme: dark) {
    :root {
        --menu-text: #e5e7eb;
        --menu-border: #2b2f36;
        --menu-bg: #111827;
        --menu-bg-hover: #0b1220;
    }
}

.func_member {
    margin-bottom: 16px;
}

.admin-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

    .admin-menu li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 12px;
        border: 1px solid var(--menu-border);
        background: var(--menu-bg);
        color: var(--menu-text);
        font-weight: 600;
        text-decoration: none;
        line-height: 1.2;
        box-shadow: 0 1px 2px rgba(0,0,0,.04);
        transition: border-color .2s, color .2s, box-shadow .2s, transform .15s, background .2s;
    }

        .admin-menu li a:hover,
        .admin-menu li a:focus-visible {
            background: var(--menu-bg-hover);
            border-color: var(--menu-primary);
            color: var(--menu-primary);
            transform: translateY(-1px);
            box-shadow: 0 6px 14px rgba(2,132,199,.15);
            outline: none;
        }

        .admin-menu li a.active,
        .admin-menu li a[aria-current="page"] {
            background: var(--menu-primary);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 6px 14px rgba(2,132,199,.25);
        }

@media (max-width: 575.98px) {
    .admin-menu {
        grid-template-columns: 1fr;
    }
}

.admin-menu li a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    opacity: .25;
}

.admin-menu li a:hover::before,
.admin-menu li a.active::before {
    opacity: .6;
}


.member-ttl {
    text-transform: uppercase;
    color: #0077c8;
    margin-bottom: 15px;
    border-bottom: 4px solid orange;
    padding-bottom: 10px;
    font-weight: 600;
    font-size: 17px;
}



/*.login {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 24px;
}

.card {
    width: min(440px,100%);
    background: var(--card);
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(2,6,23,.08);
}


    .card h1 {
        margin: 0 0 12px;
        font-size: 24px;
    }

label {
    display: block;
    margin: 14px 0 8px;
    font-weight: 700;
    color: var(--muted);
}


.input {
    width: 100%;
    height: 46px;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: var(--bg);
    color: #0f172a;
    font-size: 15px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

    .input::placeholder {
        color: #64748b;
        opacity: .9;
    }

    .input:hover {
        border-color: #94a3b8;
    }

    .input:focus {
        background: #fff;
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(14,165,233,.18);
    }


.btn {
    width: 100%;
    margin-top: 18px;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 20px rgba(14,165,233,.28);
}

    .btn:hover {
        filter: brightness(1.07);
    }


.error {
    display: none;
    color: #dc2626;
    font-size: 13px;
    margin-top: 8px;
}

.input.is-invalid + .error {
    display: block;
}*/
