/* =========================================================
   DevCart - Admin Panel
   ========================================================= */

:root {
    --brand: #f2521d;
    --brand-dark: #d8430f;
    --navy: #121a3a;
    --text: #1f2333;
    --muted: #5c6070;
    --border: #dcdfe6;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-brand: 'Black Ops One', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text);
}

a {
    text-decoration: none;
}

/* ---------- Auth page ---------- */
.admin-auth-body {
    background: #f6f7fb;
}

/* Left intro panel */
.admin-intro {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 5%, #fde3d6 0, #fde3d6 18%, transparent 18.2%),
        radial-gradient(circle at -5% 32%, #fdeee5 0, #fdeee5 10%, transparent 10.2%),
        linear-gradient(180deg, #fff8f3 0%, #fdf1e8 100%);
}

.admin-intro-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 48px 8% 48px 16%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admin-brand,
.admin-card-brand {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 12px;
    color: var(--navy);
}

.admin-brand img {
    height: 60px;
}

.admin-brand strong,
.admin-card-brand strong {
    display: block;
    font-family: var(--font-brand);
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1;
    color: var(--navy);
}

.admin-brand small {
    display: block;
    font-size: 15px;
    margin-top: 6px;
    color: var(--text);
}

.admin-intro h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin: 30px 0 18px;
}

.admin-intro h1 span {
    color: var(--brand);
}

.admin-intro-text {
    font-size: 19px;
    color: var(--muted);
    max-width: 500px;
    line-height: 1.55;
    margin-bottom: 26px;
}

.admin-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
    max-width: 640px;
}

.admin-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.af-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 10px;
    font-size: 26px;
}

.af-orange { background: #fde3d8; color: var(--brand); }
.af-green  { background: #dcf3e6; color: #1f9d55; }
.af-blue   { background: #dfe9fb; color: #1a3fc4; }
.af-purple { background: #ece3fb; color: #7b3fe4; }

.admin-feature strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
}

.admin-feature small {
    font-size: 14.5px;
    color: var(--muted);
}

/* Right login column */
.admin-login-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.admin-login-card {
    width: 100%;
    max-width: 624px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(20, 30, 60, 0.07);
    padding: 44px 56px 36px;
}

.admin-card-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.admin-card-brand img {
    height: 72px;
}

.admin-card-brand small {
    display: block;
    text-align: center;
    font-size: 17px;
    color: var(--muted);
    margin-top: 8px;
}



.admin-login-card .form-label {
    font-size: 17px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 8px;
}

.admin-input {
    position: relative;
}

.admin-input > i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #4a4f5e;
    pointer-events: none;
}

.admin-input .form-control {
    font-size: 17px;
    padding: 14px 52px 14px 58px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.admin-input .form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(242, 82, 29, 0.15);
}

.admin-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    font-size: 22px;
    color: #4a4f5e;
    padding: 4px 10px;
}

.admin-link {
    color: var(--brand);
    font-size: 16px;
    font-weight: 500;
}

.admin-link:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.admin-check {
    margin-bottom: 22px;
    font-size: 17px;
}

.admin-check .form-check-input {
    width: 21px;
    height: 21px;
    margin-top: 2px;
    margin-right: 10px;
}

.admin-check .form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.admin-btn {
    background: linear-gradient(90deg, #f26522, #ff4a12);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 14px;
    font-size: 20px;
    font-weight: 500;
}

.admin-btn:hover,
.admin-btn:focus {
    background: var(--brand-dark);
    color: #fff;
}





.admin-copy {
    text-align: center;
    font-size: 15px;
    color: var(--muted);
    margin: 40px 0 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1399.98px) {
    .admin-intro-inner {
        padding-left: 9%;
    }

    .admin-intro h1 {
        font-size: 42px;
    }

    .admin-login-card {
        padding: 38px 42px 32px;
    }
}

@media (max-width: 1199.98px) {
    .admin-features {
        grid-template-columns: 1fr;
    }

    .admin-intro h1 {
        font-size: 36px;
    }

    .admin-intro-text {
        font-size: 17px;
    }
}

@media (max-width: 575.98px) {
    .admin-login-col {
        padding: 20px 14px;
    }

    .admin-login-card {
        padding: 28px 20px 24px;
        border-radius: 12px;
    }

    .admin-card-brand img {
        height: 54px;
    }

    .admin-card-brand strong {
        font-size: 28px;
    }



    .admin-login-card .form-label,
    .admin-check {
        font-size: 15px;
    }

    .admin-input .form-control {
        font-size: 15px;
        padding: 12px 48px 12px 50px;
    }

    .admin-btn {
        font-size: 18px;
        padding: 12px;
    }

    .admin-copy {
        font-size: 13px;
        margin-top: 28px;
    }
}

/* =========================================================
   Admin layout: sidebar, header, footer
   ========================================================= */

.admin-body {
    background: #f6f7fb;
    --sidebar-w: 230px;
    --sidebar-bg: #13203f;
}

.admin-shell {
    display: flex;
    min-height: 100vh;
}

/* ---------- Sidebar ---------- */
/* !important: Bootstrap makes .offcanvas-lg transparent on large screens. */
.admin-sidebar {
    background-color: var(--sidebar-bg) !important;
    color: #fff;
}

@media (min-width: 992px) {
    .admin-sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        width: var(--sidebar-w);
        flex-shrink: 0;
        overflow-y: auto;
        transition: width 0.2s ease;
    }
}

@media (max-width: 991.98px) {
    .admin-sidebar.offcanvas-lg {
        width: 270px;
        background: var(--sidebar-bg);
    }
}

.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    height: 66px;
    padding: 0 18px;
    border-bottom: 1px solid #eceef3;
}

.sidebar-brand a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
}

.sidebar-brand img {
    height: 44px;
}

.sidebar-brand span {
    font-family: var(--font-brand);
    font-size: 25px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.sidebar-nav {
    padding: 14px 8px 24px;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav > ul > li + li {
    margin-top: 6px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 11px 18px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    transition: background 0.15s;
}

.sidebar-link > .bi:first-child {
    font-size: 22px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-link span {
    flex: 1;
}

.sidebar-link:hover,
.sidebar-link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.sidebar-link.active {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 12px rgba(242, 82, 29, 0.35);
}

.sidebar-link.is-open {
    background: rgba(255, 255, 255, 0.08);
}

.sidebar-caret {
    font-size: 13px;
    transition: transform 0.2s;
}

.sidebar-link:not(.collapsed) .sidebar-caret {
    transform: rotate(90deg);
}

.sidebar-submenu {
    padding: 4px 0 6px 58px !important;
}

.sidebar-submenu a {
    display: block;
    padding: 7px 10px;
    border-radius: 4px;
    color: #b9c0d6;
    font-size: 14.5px;
}

.sidebar-submenu a:hover {
    color: #fff;
}

.sidebar-submenu a.active {
    color: var(--brand);
    font-weight: 600;
}

/* Collapsed (desktop, icons only) */
@media (min-width: 992px) {
    .sidebar-collapsed {
        --sidebar-w: 76px;
    }

    .sidebar-collapsed .sidebar-brand span,
    .sidebar-collapsed .sidebar-link span,
    .sidebar-collapsed .sidebar-caret,
    .sidebar-collapsed .sidebar-submenu {
        display: none !important;
    }

    .sidebar-collapsed .sidebar-brand {
        justify-content: center;
        padding: 0;
    }

    .sidebar-collapsed .sidebar-brand img {
        height: 36px;
    }

    .sidebar-collapsed .sidebar-link {
        justify-content: center;
        padding: 11px 0;
    }
}

/* ---------- Main column ---------- */
.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.admin-content {
    flex: 1;
    padding: 24px 24px 30px;
}

/* ---------- Header ---------- */
.admin-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    gap: 18px;
    height: 66px;
    padding: 0 24px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(20, 30, 60, 0.05);
}

.header-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: none;
    font-size: 26px;
    color: var(--navy);
    padding: 4px;
}

.header-search {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.header-search > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #4a4f5e;
    font-size: 17px;
}

.header-search .form-control {
    background: #f1f2f6;
    border: 0;
    border-radius: 6px;
    padding: 10px 14px 10px 46px;
    font-size: 14.5px;
}

.header-search .form-control:focus {
    background: #fff;
    box-shadow: 0 0 0 0.2rem rgba(242, 82, 29, 0.15);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.header-bell {
    position: relative;
    border: 0;
    background: none;
    font-size: 24px;
    color: var(--navy);
    padding: 4px;
}

.bell-count {
    position: absolute;
    top: -2px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 19px;
    text-align: center;
    border: 2px solid #fff;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    background: none;
    padding: 0;
    color: var(--navy);
}

.header-user::after {
    margin-left: 10px;
}

.user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #3a4a6b;
    color: #fff;
    font-size: 22px;
}

.user-meta {
    text-align: left;
    line-height: 1.2;
}

.user-meta strong {
    display: block;
    font-size: 16px;
}

.user-meta small {
    font-size: 13px;
    color: var(--muted);
}

/* ---------- Footer ---------- */
.admin-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 24px;
    background: #fff;
    border-top: 1px solid #eceef3;
    font-size: 13.5px;
    color: var(--muted);
}

.admin-footer a,
.admin-footer span {
    color: var(--muted);
}

.admin-footer a:hover {
    color: var(--brand);
}

/* ---------- Shared page pieces ---------- */
.admin-page-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.admin-page-head h1 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.admin-page-head p {
    font-size: 16px;
    color: var(--muted);
    margin: 0;
}

.admin-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(20, 30, 60, 0.05);
    padding: 22px;
}

.admin-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

.admin-empty i {
    font-size: 40px;
    color: #c4c8d4;
}

.admin-empty p {
    margin: 10px 0 0;
}

@media (max-width: 767.98px) {
    .admin-header {
        padding: 0 14px;
        gap: 12px;
    }

    .header-search {
        display: none;
    }

    .user-meta {
        display: none;
    }

    .admin-content {
        padding: 18px 14px 24px;
    }

    .admin-page-head h1 {
        font-size: 30px;
    }

    .admin-footer {
        justify-content: center;
        text-align: center;
        padding: 14px;
    }
}

/* ---------- Login messages ---------- */
.admin-error {
    color: #d93025;
    font-size: 14px;
    margin-top: 6px;
}

.admin-alert {
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 15px;
    margin-bottom: 20px;
}

.admin-alert-success {
    background: #eaf8ee;
    color: #1f7a45;
}

/* =========================================================
   Admin CRUD pages (list, forms)
   ========================================================= */

.admin-btn-primary {
    background: var(--brand);
    border: 1px solid var(--brand);
    color: #fff;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 6px;
}

.admin-btn-primary:hover,
.admin-btn-primary:focus {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.admin-btn-outline {
    background: #fff;
    border: 1px solid #d5d8e0;
    color: var(--navy);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 6px;
}

.admin-btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: #fff;
}

.admin-flash {
    border-radius: 8px;
    font-size: 15px;
}

.admin-alert-box {
    border-radius: 8px;
    font-size: 14.5px;
}

.admin-breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 4px;
    font-size: 14px;
    color: var(--muted);
}

.admin-breadcrumb li + li::before {
    content: "/";
    margin: 0 8px;
}

.admin-breadcrumb a {
    color: var(--brand);
}

/* Filters */
.admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #eceef3;
}

.admin-filter-search {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 420px;
}

.admin-filter-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

.admin-filters .admin-filter-search .form-control {
    padding-left: 40px;
}

.admin-filters .form-control,
.admin-filters .form-select {
    border-color: #d5d8e0;
    border-radius: 6px;
    font-size: 14.5px;
    height: 44px;
}

.admin-filters .form-select {
    width: auto;
    min-width: 150px;
}

.admin-filters .btn {
    height: 44px;
    padding-top: 0;
    padding-bottom: 0;
}

.admin-clear {
    color: var(--muted);
    align-self: center;
}

/* Table */
.admin-table {
    font-size: 14.5px;
}

.admin-table thead th {
    background: #f6f7fb;
    color: #4a4f5e;
    font-weight: 600;
    font-size: 13.5px;
    border-bottom: 0;
    padding: 12px 16px;
    white-space: nowrap;
}

.admin-table tbody td {
    padding: 12px 16px;
    border-color: #eceef3;
}

.admin-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
}

.admin-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.admin-item strong {
    display: block;
    color: var(--navy);
}

.admin-item small {
    color: var(--muted);
    font-size: 12.5px;
}

.admin-badge {
    display: inline-block;
    background: #fff1e8;
    color: var(--brand);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.status-pill {
    border: 0;
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

.status-pill.is-active {
    background: #dcf3e6;
    color: #1f7a45;
}

.status-pill.is-inactive {
    background: #eceef3;
    color: #5c6070;
}

.admin-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e1e4ea;
    border-radius: 6px;
    background: #fff;
    color: var(--navy);
    font-size: 16px;
    margin-left: 4px;
}

.admin-icon-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.admin-icon-btn.is-danger:hover {
    border-color: #d93025;
    color: #d93025;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    color: var(--muted);
    border-top: 1px solid #eceef3;
}

.admin-pagination nav > div:first-child {
    display: none !important;
}

.admin-pagination .pagination {
    margin: 0;
}

.admin-pagination .page-link {
    color: var(--navy);
}

.admin-pagination .page-item.active .page-link {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.delete-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fde8e7;
    color: #d93025;
    font-size: 28px;
}

/* Forms */
.admin-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
}

.admin-card .form-label {
    font-weight: 500;
    font-size: 14.5px;
    color: var(--navy);
}

.admin-card .form-control,
.admin-card .form-select {
    border-color: #d5d8e0;
    border-radius: 6px;
    font-size: 15px;
    padding: 10px 14px;
}

.admin-card .form-control:focus,
.admin-card .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(242, 82, 29, 0.15);
}

.req {
    color: var(--brand);
}

.image-drop {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border: 2px dashed #d5d8e0;
    border-radius: 10px;
    background: #fafbfd;
    overflow: hidden;
    cursor: pointer;
}

.image-drop.is-invalid {
    border-color: #d93025;
}

.image-drop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-drop-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
}

.image-drop-hint i {
    font-size: 36px;
    color: var(--brand);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.gallery-grid:empty {
    display: none;
}

.gallery-tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e1e4ea;
    margin: 0;
}

.gallery-tile.is-new {
    border: 2px solid #1f9d55;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-remove {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    background: rgba(18, 26, 58, 0.75);
    color: #fff;
    font-size: 12.5px;
    cursor: pointer;
}

.gallery-tile:has(input:checked) img {
    opacity: 0.35;
}

.gallery-tile:has(input:checked) .gallery-remove {
    background: #d93025;
}

.admin-switch .form-check-input {
    width: 44px;
    height: 24px;
    margin-right: 10px;
    cursor: pointer;
}

.admin-switch .form-check-input:checked {
    background-color: #1f9d55;
    border-color: #1f9d55;
}

.admin-switch .form-check-label {
    padding-top: 2px;
}

.admin-form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

@media (max-width: 767.98px) {
    .admin-filters {
        padding: 14px;
    }

    .admin-filter-search {
        max-width: none;
        flex-basis: 100%;
    }

    .admin-filters .form-select {
        flex: 1;
    }

    .admin-pagination {
        justify-content: center;
        text-align: center;
    }
}

.featured-flag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #b7791f;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* =========================================================
   Admin: customers & enquiries
   ========================================================= */

a.header-bell {
    display: inline-flex;
    color: var(--navy);
}

a.header-bell:hover {
    color: var(--brand);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.admin-stats-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(20, 30, 60, 0.05);
    padding: 18px;
}

.admin-stat small {
    display: block;
    font-size: 13.5px;
    color: var(--muted);
}

.admin-stat strong {
    font-size: 24px;
    color: var(--navy);
    line-height: 1.2;
}

.as-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
}

.as-blue   { background: #dfe9fb; color: #1a3fc4; }
.as-green  { background: #dcf3e6; color: #1f9d55; }
.as-red    { background: #fde8e7; color: #d93025; }
.as-orange { background: #fde3d8; color: var(--brand); }

.admin-person {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    min-width: 220px;
}

.admin-person strong {
    display: block;
    color: var(--navy);
}

a.admin-person:hover strong {
    color: var(--brand);
}

.admin-person small {
    color: var(--muted);
    font-size: 12.5px;
}

.person-avatar {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fde3d8;
    color: var(--brand);
    font-weight: 700;
    font-size: 16px;
}

.person-avatar-lg {
    width: 84px;
    height: 84px;
    font-size: 34px;
}

.status-pill.is-blocked {
    background: #fde8e7;
    color: #b3261e;
}

.status-pill.is-new {
    background: #fde3d8;
    color: var(--brand);
}

.admin-table tr.is-unread td {
    background: #fffaf6;
}

.admin-table tr.is-unread strong {
    font-weight: 700;
}

.enquiry-snippet {
    max-width: 320px;
    color: var(--muted);
}

/* Customer profile */
.customer-profile {
    text-align: center;
}

.customer-profile h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin: 12px 0 6px;
}

.customer-info {
    list-style: none;
    padding: 0;
    margin: 20px 0 12px;
    text-align: left;
    font-size: 14.5px;
}

.customer-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #eceef3;
    word-break: break-word;
}

.customer-info li:last-child {
    border-bottom: 0;
}

.customer-info i {
    color: var(--brand);
    font-size: 16px;
}

.customer-info a {
    color: var(--navy);
}

.order-status {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    background: #eceef3;
    color: #4a4f5e;
}

.order-status.st-pending    { background: #fff4d6; color: #a86b00; }
.order-status.st-processing { background: #fde3d8; color: var(--brand); }
.order-status.st-shipped    { background: #dfe9fb; color: #1a3fc4; }
.order-status.st-delivered  { background: #dcf3e6; color: #1f7a45; }
.order-status.st-cancelled  { background: #fde8e7; color: #b3261e; }

.enquiry-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eceef3;
    color: inherit;
}

.enquiry-row:last-child {
    border-bottom: 0;
}

.enquiry-row strong {
    display: block;
    color: var(--navy);
}

.enquiry-row:hover strong {
    color: var(--brand);
}

.enquiry-row small {
    color: var(--muted);
}

.enquiry-meta {
    font-size: 13.5px;
    color: var(--muted);
    margin: 4px 0 16px;
}

.enquiry-message {
    white-space: pre-line;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: #f8f9fc;
    border-radius: 8px;
    padding: 18px 20px;
}

@media (max-width: 1199.98px) {
    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .admin-stats,
    .admin-stats-3 {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Orders: tracker, timeline, payment badge (shared by site & admin)
   ========================================================= */

.order-tracker {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.order-tracker li {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    color: #8a8fa0;
}

.order-tracker li + li::before {
    content: "";
    position: absolute;
    top: 21px;
    right: 50%;
    width: 100%;
    height: 3px;
    background: #e3e5eb;
}

.order-tracker li.done + li::before,
.order-tracker li.done + li.current::before {
    background: #1f9d55;
}

.tracker-dot {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f2f6;
    color: #8a8fa0;
    font-size: 19px;
    margin-bottom: 4px;
}

.order-tracker li.done .tracker-dot,
.order-tracker li.current .tracker-dot {
    background: #1f9d55;
    color: #fff;
}

.order-tracker li.current .tracker-dot {
    box-shadow: 0 0 0 5px rgba(31, 157, 85, 0.18);
}

.order-tracker strong {
    font-size: 14.5px;
    color: #4a4f5e;
}

.order-tracker li.done strong,
.order-tracker li.current strong {
    color: #121a3a;
}

.order-tracker small {
    font-size: 12.5px;
}

.tracker-cancelled {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fde8e7;
    color: #b3261e;
    border-radius: 8px;
    padding: 14px 18px;
}

.tracker-cancelled i {
    font-size: 26px;
}

.tracker-cancelled strong {
    display: block;
}

.tracker-cancelled span {
    font-size: 13.5px;
}

.tracker-shipping,
.ship-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #eef4ff;
    color: #1a3fc4;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 18px;
    font-size: 14.5px;
}

.tracker-shipping i,
.ship-box i {
    font-size: 22px;
}

.order-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-timeline li {
    position: relative;
    display: flex;
    gap: 14px;
    padding-bottom: 18px;
}

.order-timeline li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 16px;
    bottom: 0;
    width: 2px;
    background: #e3e5eb;
}

.tl-dot {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-top: 3px;
    background: #8a8fa0;
    box-shadow: 0 0 0 3px #fff;
}

.tl-pending .tl-dot    { background: #e0a100; }
.tl-processing .tl-dot { background: #f2521d; }
.tl-shipped .tl-dot    { background: #1a3fc4; }
.tl-delivered .tl-dot  { background: #1f9d55; }
.tl-cancelled .tl-dot  { background: #d93025; }

.order-timeline strong {
    display: block;
    font-size: 15px;
    color: #121a3a;
}

.order-timeline small {
    color: #5c6070;
    font-size: 12.5px;
}

.order-timeline p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #1f2333;
}

.pay-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.pay-unpaid   { background: #fff4d6; color: #a86b00; }
.pay-paid     { background: #dcf3e6; color: #1f7a45; }
.pay-refunded { background: #dfe9fb; color: #1a3fc4; }

@media (max-width: 575.98px) {
    .order-tracker strong {
        font-size: 12px;
    }

    .order-tracker small {
        font-size: 10.5px;
    }

    .tracker-dot {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .order-tracker li + li::before {
        top: 17px;
    }
}

/* ---------- Admin orders ---------- */
.order-status-tiles {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.ost {
    display: block;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(20, 30, 60, 0.05);
    padding: 14px 16px;
    border-top: 3px solid #c4c8d4;
    color: var(--navy);
}

.ost small {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.ost strong {
    font-size: 22px;
}

a.ost:hover {
    transform: translateY(-2px);
    color: var(--navy);
}

.ost.active {
    box-shadow: 0 0 0 2px var(--brand), 0 2px 12px rgba(20, 30, 60, 0.05);
}

.ost-pending    { border-top-color: #e0a100; }
.ost-processing { border-top-color: var(--brand); }
.ost-shipped    { border-top-color: #1a3fc4; }
.ost-delivered  { border-top-color: #1f9d55; }
.ost-cancelled  { border-top-color: #d93025; }
.ost-revenue    { border-top-color: var(--navy); }

.admin-filters .admin-date {
    width: auto;
    max-width: 160px;
}

.order-link {
    color: var(--brand);
}

.order-link:hover {
    text-decoration: underline;
    color: var(--brand-dark);
}

.order-status-lg {
    font-family: var(--font-body);
    font-size: 14px;
    padding: 5px 14px;
}

.order-totals {
    margin-left: auto;
    max-width: 340px;
    padding: 16px 24px 20px;
    font-size: 15px;
}

.order-totals > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.order-totals .grand {
    border-top: 2px solid var(--navy);
    margin-top: 6px;
    padding-top: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

.status-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.status-choice {
    margin: 0;
    cursor: pointer;
}

.status-choice input {
    position: absolute;
    opacity: 0;
}

.status-choice span {
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid #e1e4ea;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--navy);
}

.status-choice input:focus-visible + span {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.status-choice input:checked + span {
    border-color: var(--brand);
    background: #fff1e8;
    color: var(--brand);
}

.sc-cancelled input:checked + span {
    border-color: #d93025;
    background: #fde8e7;
    color: #b3261e;
}

@media (max-width: 1399.98px) {
    .order-status-tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .order-status-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-filters .admin-date {
        max-width: none;
        flex: 1;
    }
}

/* ---------- Quotations ---------- */
.q-status {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #eceef3;
    color: #4a4f5e;
}
.q-status.q-draft { background: #fff4d6; color: #a86b00; }
.q-status.q-sent { background: #e5e0fb; color: #4a2fc4; }
.q-status.q-accepted { background: #dcf3e6; color: #1f7a45; }
.q-status.q-rejected { background: #fde8e7; color: #b3261e; }

.q-items th { font-size: 12px; text-transform: uppercase; color: #6b7080; font-weight: 600; white-space: nowrap; }
.q-items td { vertical-align: top; }
.q-items .q-no { padding-top: 18px; }
.q-items .q-amount { padding-top: 18px; white-space: nowrap; }
.q-items .q-remove { margin-top: 4px; }

.q-totals { margin: 0; }
.q-totals > div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #e3e5eb; }
.q-totals dt { font-weight: 500; color: #5c6070; }
.q-totals dd { margin: 0; font-weight: 600; }
.q-totals .q-grand { border-bottom: 0; border-top: 2px solid #121a3a; margin-top: 4px; padding-top: 10px; font-size: 18px; }
.q-totals .q-grand dt, .q-totals .q-grand dd { color: #121a3a; font-weight: 700; }

/* ---------- Employees ---------- */
.role-pill {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #e8ecfb;
    color: #1a3fc4;
}
.perm-table th { font-size: 12px; text-transform: uppercase; color: #6b7080; font-weight: 600; white-space: nowrap; }
.perm-table .form-check-input { width: 1.15em; height: 1.15em; cursor: pointer; }
.perm-table .form-check-input:disabled { cursor: not-allowed; }

/* ---------- Invoices ---------- */
.q-status.inv-draft { background: #fff4d6; color: #a86b00; }
.q-status.inv-issued { background: #e5e0fb; color: #4a2fc4; }
.q-status.inv-cancelled { background: #eceef3; color: #6b7080; }
.q-status.inv-overdue { background: #fde8e7; color: #b3261e; }
.q-status.pay-unpaid { background: #fde8e7; color: #b3261e; }
.q-status.pay-partial { background: #fff0d9; color: #b35a00; }
.q-status.pay-paid { background: #dcf3e6; color: #1f7a45; }
.q-status.type-advance { background: #e5e0fb; color: #4a2fc4; }
.q-status.type-part { background: #e8ecfb; color: #1a3fc4; }
.q-status.type-final { background: #dcf3e6; color: #1f7a45; }
.inv-progress { height: 22px; background: #eceef3; border-radius: 11px; }
.inv-progress .progress-bar { background: #f2521d; font-size: 12px; font-weight: 600; }
.inv-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid #e3e5eb; }
.inv-timeline li { position: relative; padding: 0 0 16px 14px; }
.inv-timeline li:last-child { padding-bottom: 0; }
.inv-timeline li::before { content: ""; position: absolute; left: -22px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #f2521d; border: 2px solid #fff; box-shadow: 0 0 0 1px #e3e5eb; }

/* ---------- Invoice orders: extra fulfilment stages ---------- */
.order-status.st-confirmed     { background: #e5e0fb; color: #4a2fc4; }
.order-status.st-in_production { background: #fde3d8; color: var(--brand); }
.order-status.st-quality_check { background: #fff0d9; color: #b35a00; }
.order-status.st-packed        { background: #dff3f5; color: #0b7285; }
.ost-confirmed     { border-top-color: #4a2fc4; }
.ost-in_production { border-top-color: var(--brand); }
.ost-quality_check { border-top-color: #b35a00; }
.ost-packed        { border-top-color: #0b7285; }
.pay-partial { background: #fff0d9; color: #b35a00; }
.order-source { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; background: #eceef3; color: #4a4f5e; }
.order-source.is-invoice { background: #e8ecfb; color: #1a3fc4; }
.chain { list-style: none; margin: 0; padding: 0; }
.chain li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed #e3e5eb; }
.chain li:last-child { border-bottom: 0; }
.chain .bi { font-size: 18px; color: var(--brand); margin-top: 2px; }

/* ---------- Delivery tracking ---------- */
.d-status { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; background: #eceef3; color: #6b7080; }
.d-status.ds-in_progress { background: #fff4d6; color: #a86b00; }
.d-status.ds-packed { background: #dff3f5; color: #0b7285; }
.d-status.ds-ready_for_dispatch { background: #e5e0fb; color: #4a2fc4; }
.d-status.ds-on_the_way { background: #dfe9fb; color: #1a3fc4; }
.d-status.ds-out_for_delivery { background: #fde3d8; color: var(--brand); }
.d-status.ds-delivered { background: #dcf3e6; color: #1f7a45; }
.d-status.ds-failed { background: #fde8e7; color: #b3261e; }
.d-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.d-steps li { flex: 1; text-align: center; position: relative; font-size: 11.5px; color: #8a8fa3; }
.d-steps li::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: #e3e5eb; z-index: 0; }
.d-steps li:first-child::before { display: none; }
.d-steps li.done::before { background: #1f9d55; }
.d-dot { position: relative; z-index: 1; display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; border: 2px solid #e3e5eb; font-weight: 600; font-size: 12px; }
.d-steps li.done .d-dot { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.d-steps li.current .d-dot { box-shadow: 0 0 0 4px rgba(31, 157, 85, .2); }
.d-steps li.current { color: #1f7a45; font-weight: 600; }
.d-label { display: block; margin-top: 6px; line-height: 1.25; }
@media (max-width: 575.98px) { .d-steps { gap: 0; } .d-steps li { font-size: 10px; } }


/* Choice buttons (invoice type, payment mode, dispatch method) use the brand colour. */
.admin-content .btn-outline-primary {
    --bs-btn-color: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--brand);
    --bs-btn-active-border-color: var(--brand);
    font-weight: 600;
}
.dispatch-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.dispatch-methods .btn { border-radius: .5rem !important; }

/* ---------- Page changes without reloads (admin-ajax.js) ---------- */
#admin-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--brand);
    z-index: 2000;
    opacity: 0;
    transition: width .35s ease, opacity .25s ease;
    pointer-events: none;
}
.admin-content { transition: opacity .15s ease; }
.admin-content.is-loading { opacity: .55; pointer-events: none; }

/* ---------- Header live search ---------- */
.header-search { position: relative; }
.search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e3e5eb;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(18, 26, 58, .16);
    padding: 6px;
    z-index: 1100;
}
.search-results .sr-group { padding: 8px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #8a8fa3; }
.search-results .sr-group i { margin-right: 4px; color: var(--brand); }
.search-results .sr-item { display: flex; flex-direction: column; padding: 7px 10px; border-radius: 8px; color: #1f2333; text-decoration: none; }
.search-results .sr-item strong { font-size: 14px; }
.search-results .sr-item small { color: #6b7080; font-size: 12px; }
.search-results .sr-item:hover, .search-results .sr-item.active { background: #fff1ea; }
.search-results .sr-empty { padding: 14px; text-align: center; color: #6b7080; font-size: 14px; }

/* ---------- Quotation / invoice items on phones: one card per item instead of a cramped table ---------- */
@media (max-width: 767.98px) {
    .q-items.table thead { display: none; }
    .q-items.table,
    .q-items.table tbody { display: block; width: 100%; }

    .q-items.table tbody tr.q-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 12px;
        position: relative;
        padding: 14px 0 16px;
        border-bottom: 1px solid #e3e5eb;
    }
    .q-items.table tbody tr.q-row > td {
        display: block;
        padding: 0;
        border: 0;
        min-width: 0;
    }

    /* "Item 1" heading, remove button at the top right. */
    .q-items.table tbody tr.q-row > td.q-no {
        grid-column: 1 / -1;
        padding: 0 44px 0 0;
        font-weight: 700;
        color: var(--navy);
    }
    .q-items.table tbody tr.q-row > td.q-no::before { content: "Item "; }
    .q-items.table tbody tr.q-row > td:last-child { position: absolute; top: 8px; right: 0; }
    .q-items .q-remove { margin-top: 0; }

    /* Name + details use the full width. */
    .q-items.table tbody tr.q-row > td:nth-child(2) { grid-column: 1 / -1; }

    /* Qty and unit price side by side, each with its own label and a comfortable field. */
    .q-items.table tbody tr.q-row > td:nth-child(3)::before,
    .q-items.table tbody tr.q-row > td:nth-child(4)::before {
        display: block;
        margin-bottom: 4px;
        font-size: 12px;
        font-weight: 600;
        color: #6b7080;
        text-transform: uppercase;
    }
    .q-items.table tbody tr.q-row > td:nth-child(3)::before { content: "Qty"; }
    .q-items.table tbody tr.q-row > td:nth-child(4)::before { content: "Unit Price (\20B9)"; }
    .q-items .q-qty,
    .q-items .q-price { width: 100%; min-width: 0; font-size: 16px; }

    /* Amount on its own line. */
    .q-items.table tbody tr.q-row > td.q-amount {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding-top: 4px;
        font-size: 16px;
    }
    .q-items.table tbody tr.q-row > td.q-amount::before { content: "Amount"; font-size: 12px; font-weight: 600; color: #6b7080; text-transform: uppercase; }
}

/* ---------- Leads ---------- */
.q-status.ls-new { background: #e8ecfb; color: #1a3fc4; }
.q-status.ls-contacted { background: #dff3f5; color: #0b7285; }
.q-status.ls-interested { background: #fff4d6; color: #a86b00; }
.q-status.ls-meeting { background: #e5e0fb; color: #4a2fc4; }
.q-status.ls-quotation_sent { background: #fde3d8; color: var(--brand); }
.q-status.ls-negotiation { background: #fff0d9; color: #b35a00; }
.q-status.ls-won { background: #dcf3e6; color: #1f7a45; }
.q-status.ls-lost { background: #fde8e7; color: #b3261e; }
.pri { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.pri::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #adb2c2; }
.pri-high::before { background: #d93025; }
.pri-medium::before { background: #f0a000; }
.pri-low::before { background: #1f9d55; }
.fu-overdue { color: #b3261e; font-weight: 600; }
.fu-today { color: var(--brand); font-weight: 600; }
.lead-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.lead-tabs a { padding: 6px 14px; border-radius: 20px; background: #fff; border: 1px solid #e3e5eb; color: #4a4f5e; font-weight: 600; font-size: 13px; text-decoration: none; }
.lead-tabs a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.lead-bulk { display: none; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; background: #fff1ea; border-bottom: 1px solid #f6d3c3; }
.lead-bulk.show { display: flex; }
.lead-timeline { list-style: none; margin: 0; padding: 0; }
.lead-timeline li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #e3e5eb; }
.lead-timeline li:last-child { border-bottom: 0; }
.lead-timeline .lt-icon { flex: 0 0 34px; height: 34px; border-radius: 50%; background: #fff1ea; color: var(--brand); display: flex; align-items: center; justify-content: center; }
.lead-timeline .lt-icon.is-bad { background: #fde8e7; color: #b3261e; }
.lead-timeline .lt-icon.is-good { background: #dcf3e6; color: #1f7a45; }
.lead-timeline .lt-body { min-width: 0; }
.lead-timeline .lt-note { margin: 4px 0 0; white-space: pre-line; }
.lead-timeline .lt-meta { font-size: 12px; color: #6b7080; }
.progress.lead-progress { height: 10px; background: #eceef3; border-radius: 5px; min-width: 90px; }
.progress.lead-progress .progress-bar { background: #1f9d55; }
.progress.lead-progress.is-low .progress-bar { background: #d93025; }
.progress.lead-progress.is-mid .progress-bar { background: #f0a000; }

/* Badges inside page headings keep the body font, and never break onto two lines. */
.q-status { white-space: nowrap; }
.admin-page-head h1 .q-status,
.admin-page-head h1 .pri { font-family: var(--bs-body-font-family, 'Inter', sans-serif); letter-spacing: 0; }

/* ---------- Order readiness ---------- */
.ready-percent { font-size: 34px; font-weight: 700; line-height: 1; }
.ready-percent.is-done { color: #1f7a45; }
.ready-percent.is-mid { color: #b35a00; }
.ready-percent.is-low { color: #b3261e; }
.progress.ready-progress { height: 14px; background: #eceef3; border-radius: 7px; }
.progress.ready-progress .progress-bar { background: #d93025; }
.progress.ready-progress.is-mid .progress-bar { background: #f0a000; }
.progress.ready-progress.is-done .progress-bar { background: #1f9d55; }
.q-status.rc-ready { background: #dcf3e6; color: #1f7a45; }
.q-status.rc-short { background: #fff0d9; color: #b35a00; }
.q-status.rc-missing { background: #fde8e7; color: #b3261e; }
