.customer-body {
    margin: 0;
    background: #f8f9fa;
}

.customer-menu {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 120px;
}

.customer-menu-header {
    margin-bottom: 24px;
    text-align: center;
}

    .customer-menu-header h1 {
        font-size: 2rem;
        font-weight: 700;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) );
    gap: 20px;
}

.product-card {
    border: 1px solid #dedede;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.product-card-body {
    padding: 20px;
}

.product-card h2 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.product-price {
    margin: 16px 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
}

.stock-message {
    margin-bottom: 16px;
    font-size: 0.9rem;
}

    .stock-message.available {
        color: #18733c;
    }

    .stock-message.restock {
        color: #9a6200;
    }

    .stock-message.unavailable {
        color: #b42318;
    }

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 150px;
}

.quantity-button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    font-size: 1.5rem;
}

.quantity-value {
    min-width: 30px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.order-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: grid;
    grid-template-columns: auto auto minmax(140px, 220px);
    align-items: center;
    gap: 24px;
    min-height: 76px;
    padding: 14px max( 20px, calc((100% - 1100px) / 2) );
    border-top: 1px solid #dedede;
    background: #ffffff;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
}

    .order-footer > div {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .order-footer #review-order-button {
        width: 100%;
    }

.confirmed-order-number {
    margin: 20px 0;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.bakery-order-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.bakery-order-card {
    padding: 20px;
    border: 2px solid #222222;
    border-radius: 14px;
    background: #ffffff;
}

.bakery-order-number {
    font-size: 3rem;
    font-weight: 700;
}

.bakery-order-time {
    margin-bottom: 16px;
    color: #666666;
}

.bakery-order-card ul {
    margin: 0 0 18px;
    padding-left: 20px;
}

.bakery-order-card li {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.bakery-order-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: #eeeeee;
    font-weight: 600;
}


.order-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
}

.order-column {
    border: 1px solid #dedede;
    border-radius: 14px;
    background: #f6f7f8;
    overflow: hidden;
}

.order-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #dedede;
    background: #ffffff;
}

    .order-column-header h2 {
        margin: 0;
        font-size: 1.25rem;
    }

.order-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 16px;
    background: #eeeeee;
    font-weight: 700;
}

.order-column-body {
    display: grid;
    gap: 14px;
    min-height: 160px;
    padding: 14px;
}

.bakery-order-card {
    padding: 18px;
    border: 1px solid #cccccc;
    border-radius: 12px;
    background: #ffffff;
}

.bakery-order-card-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.bakery-order-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.bakery-order-time {
    color: #666666;
    font-size: 0.9rem;
}

.bakery-order-items {
    margin: 18px 0;
    padding-left: 20px;
}

    .bakery-order-items li {
        margin-bottom: 8px;
    }

.bakery-order-actions {
    display: grid;
    gap: 10px;
}

    .bakery-order-actions .btn {
        width: 100%;
    }

@media (max-width: 1000px) {
    .order-board {
        grid-template-columns: 1fr;
    }
}

.inventory-page {
    max-width: 1400px;
    margin: 0 auto;
}

.inventory-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.inventory-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.inventory-summary-card {
    padding: 18px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #ffffff;
}

    .inventory-summary-card span {
        display: block;
        margin-bottom: 6px;
        color: #666666;
    }

    .inventory-summary-card strong {
        font-size: 2rem;
    }

.inventory-controls {
    max-width: 440px;
    margin-bottom: 20px;
}

.inventory-table-container,
.inventory-history-table-container {
    overflow-x: auto;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #ffffff;
}

.inventory-table {
    margin-bottom: 0;
}

    .inventory-table th,
    .inventory-table td {
        padding: 14px;
        vertical-align: middle;
    }

.inventory-status-badge {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

    .inventory-status-badge[data-status="Available"] {
        background: #d9fbe6;
        color: #176b3a;
    }

    .inventory-status-badge[data-status="Low stock"] {
        background: #fff1c2;
        color: #7a5000;
    }

    .inventory-status-badge[data-status="Out of stock"] {
        background: #fee4e2;
        color: #9b1c1c;
    }

    .inventory-status-badge[data-status="Inactive"] {
        background: #ececec;
        color: #555555;
    }

.inventory-history-section {
    margin-top: 36px;
}

    .inventory-history-section h2 {
        margin-bottom: 16px;
        font-size: 1.4rem;
    }

@media (max-width: 900px) {
    .inventory-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inventory-header {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .inventory-summary-grid {
        grid-template-columns: 1fr;
    }
}


.inventory-history-filters {
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
}

.inventory-history-results {
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
}

.inventory-history-page {
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px;
}

.inventory-history-results .table {
    margin-bottom: 0;
}

.inventory-history-results .pagination {
    margin-top: 24px;
    margin-bottom: 0;
}


@media (max-width: 600px) {
    .customer-menu {
        padding: 20px 14px 150px;
    }

    .order-footer {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px 14px;
    }

        .order-footer #review-order-button {
            grid-column: 1 / -1;
        }
}


#edit-product-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.inventory-product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}


.inventory-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#add-product-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}


/* Bakery orders operational board */

.bakery-orders-page {
    max-width: 1600px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.bakery-orders-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.bakery-orders-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.order-board-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.order-summary-card {
    padding: 16px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #ffffff;
}

    .order-summary-card span {
        display: block;
        margin-bottom: 4px;
        color: #666666;
        font-size: 0.9rem;
    }

    .order-summary-card strong {
        font-size: 1.8rem;
    }

.order-summary-delayed {
    border-color: #f2aaaa;
    background: #fff4f3;
}

    .order-summary-delayed strong {
        color: #b42318;
    }

.order-filter-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #ffffff;
}

    .order-filter-bar > div:first-child {
        width: min(100%, 320px);
    }

.order-sort-information {
    padding-bottom: 8px;
    color: #666666;
    font-size: 0.9rem;
}

.order-column-header small {
    color: #777777;
}

.order-column-body {
    position: relative;
}

.order-column-empty {
    padding: 30px 12px;
    color: #777777;
    text-align: center;
}

.order-column-hidden,
.order-filter-hidden {
    display: none !important;
}

.bakery-order-card {
    position: relative;
    border-left-width: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .bakery-order-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .bakery-order-card.order-wait-normal {
        border-left-color: #38a169;
    }

    .bakery-order-card.order-wait-warning {
        border-left-color: #d69e2e;
        background: #fffdf5;
    }

    .bakery-order-card.order-wait-critical {
        border-left-color: #d92d20;
        background: #fff5f4;
        box-shadow: 0 0 0 1px rgba(217, 45, 32, 0.12);
    }

.bakery-order-time-information {
    text-align: right;
}

.bakery-order-wait-time {
    margin-top: 4px;
    font-size: 0.9rem;
}

.order-wait-warning .order-wait-value {
    color: #9a6200;
}

.order-wait-critical .order-wait-value {
    color: #b42318;
}

.order-delay-indicator {
    display: inline-flex;
    margin-top: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #d92d20;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.bakery-order-status {
    margin-top: 4px;
    font-size: 0.8rem;
}

.bakery-order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0;
    padding-top: 12px;
    border-top: 1px solid #eeeeee;
}

@media (max-width: 1200px) {
    .order-board-summary {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .bakery-orders-header {
        flex-direction: column;
    }

    .order-board-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .order-filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

        .order-filter-bar > div:first-child {
            width: 100%;
        }
}

/* Platform administration */

.platform-page {
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.platform-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

    .platform-header h1 {
        margin-bottom: 6px;
    }

.platform-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.platform-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.platform-summary-grid-three {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
}

.platform-summary-card {
    padding: 18px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #ffffff;
}

    .platform-summary-card span {
        display: block;
        margin-bottom: 6px;
        color: #666666;
    }

    .platform-summary-card strong {
        display: block;
        margin-bottom: 6px;
        font-size: 2rem;
    }

    .platform-summary-card small {
        color: #777777;
    }

.platform-content-card {
    padding: 20px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #ffffff;
}

.platform-table-section {
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.platform-table-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #dedede;
}

.platform-table-container {
    width: 100%;
    overflow-x: auto;
}

    .platform-table-container .table th,
    .platform-table-container .table td {
        padding: 14px;
        vertical-align: middle;
    }

    .platform-table-container code {
        padding: 4px 7px;
        border-radius: 5px;
        background: #f2f3f5;
        color: #444444;
    }

.platform-empty-state {
    padding: 36px 20px;
    color: #777777;
    text-align: center;
}

.platform-summary-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid #eeeeee;
}

    .platform-summary-list > div:last-child {
        border-bottom: 0;
    }

.platform-summary-list dt,
.platform-summary-list dd {
    margin: 0;
}

.platform-summary-list dt {
    color: #666666;
    font-weight: 400;
}

.platform-summary-list dd {
    font-weight: 700;
}


.bakery-page {
    width: 100%;
}

.bakery-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

    .bakery-page-header h1 {
        margin: 0 0 0.35rem;
        font-size: 2rem;
        font-weight: 700;
    }

.bakery-page-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bakery-breadcrumb {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.bakery-content-card {
    height: 100%;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.06);
}

.bakery-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

    .bakery-section-header h2 {
        margin: 0 0 0.25rem;
        font-size: 1.125rem;
        font-weight: 700;
    }

    .bakery-section-header p {
        margin: 0;
        color: #6c757d;
        font-size: 0.925rem;
    }

.bakery-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    background: #eef4ff;
    color: #0d6efd;
    font-size: 0.875rem;
    font-weight: 700;
}

.bakery-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.bakery-form-group {
    min-width: 0;
}

.bakery-form-full {
    grid-column: 1 / -1;
}

.bakery-field-validation {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.875rem;
}

.bakery-role-information {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
}

    .bakery-role-information h3 {
        margin: 0 0 1rem;
        font-size: 1rem;
        font-weight: 700;
    }

    .bakery-role-information > div {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        margin-bottom: 0.9rem;
    }

        .bakery-role-information > div:last-child {
            margin-bottom: 0;
        }

    .bakery-role-information strong {
        font-size: 0.925rem;
    }

    .bakery-role-information span {
        color: #6c757d;
        font-size: 0.875rem;
        line-height: 1.45;
    }

.bakery-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.04);
}

.bakery-form-footer-information {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

    .bakery-form-footer-information span {
        color: #6c757d;
        font-size: 0.875rem;
    }

.bakery-form-footer-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 767.98px) {
    .bakery-page-header {
        flex-direction: column;
    }

    .bakery-page-header-actions {
        width: 100%;
    }

        .bakery-page-header-actions .btn {
            width: 100%;
        }

    .bakery-form-grid {
        grid-template-columns: 1fr;
    }

    .bakery-form-full {
        grid-column: auto;
    }

    .bakery-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .bakery-form-footer-actions {
        flex-direction: column-reverse;
    }

        .bakery-form-footer-actions .btn {
            width: 100%;
        }
}

.bakery-users-table-card {
    padding: 0;
    overflow: hidden;
}

    .bakery-users-table-card .bakery-section-header {
        padding: 1.5rem;
        margin-bottom: 0;
    }

.bakery-users-total {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f8f9fa;
    color: #495057;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.bakery-users-table {
    min-width: 900px;
}

    .bakery-users-table thead th {
        padding: 0.9rem 1rem;
        background: #f8f9fa;
        border-bottom: 1px solid #e5e7eb;
        color: #495057;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.025em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .bakery-users-table tbody td {
        padding: 1rem;
        border-bottom-color: #edf0f2;
        vertical-align: middle;
    }

    .bakery-users-table tbody tr:last-child td {
        border-bottom: 0;
    }

.bakery-user-identity {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 240px;
}

.bakery-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #eef4ff;
    color: #0d6efd;
    font-size: 0.8rem;
    font-weight: 700;
}

.bakery-user-identity-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .bakery-user-identity-text strong {
        color: #212529;
        font-size: 0.925rem;
    }

    .bakery-user-identity-text span {
        color: #6c757d;
        font-size: 0.825rem;
    }

.bakery-role-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #f1f3f5;
    color: #343a40;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.bakery-date-value {
    display: flex;
    flex-direction: column;
    color: #343a40;
    font-size: 0.875rem;
    white-space: nowrap;
}

    .bakery-date-value span {
        color: #6c757d;
        font-size: 0.8rem;
    }

.bakery-user-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    white-space: nowrap;
}

.bakery-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 1.5rem;
    text-align: center;
}

.bakery-empty-state-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #f1f3f5;
    font-size: 1.5rem;
}

.bakery-empty-state h3 {
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.bakery-empty-state p {
    max-width: 420px;
    margin-bottom: 1.25rem;
    color: #6c757d;
}

.bakery-information-panel {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid #cfe2ff;
    border-radius: 0.75rem;
    background: #f6f9ff;
}

.bakery-information-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    font-weight: 700;
}

.bakery-information-panel strong {
    display: block;
    margin-bottom: 0.25rem;
}

.bakery-information-panel p {
    margin: 0;
    color: #536170;
    font-size: 0.9rem;
    line-height: 1.55;
}

.bakery-user-created-card {
    padding: 2rem;
}

.bakery-created-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #d1e7dd;
    color: #146c43;
    font-size: 1.75rem;
    font-weight: 700;
}

.bakery-created-heading {
    margin-bottom: 2rem;
    text-align: center;
}

    .bakery-created-heading h2 {
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .bakery-created-heading p {
        margin: 0 auto;
        max-width: 580px;
        color: #6c757d;
    }

.bakery-created-user-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .bakery-created-user-summary > div {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding: 1rem;
        border: 1px solid #e5e7eb;
        border-radius: 0.65rem;
        background: #f8f9fa;
    }

    .bakery-created-user-summary span {
        color: #6c757d;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
    }

    .bakery-created-user-summary strong {
        overflow-wrap: anywhere;
    }

.bakery-temporary-password-panel {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ffe69c;
    border-radius: 0.75rem;
    background: #fff9e6;
}

.bakery-temporary-password-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .bakery-temporary-password-heading > div {
        display: flex;
        flex-direction: column;
    }

    .bakery-temporary-password-heading span:first-child {
        color: #6c757d;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
    }

.bakery-temporary-password-input {
    font-family: Consolas, Monaco, monospace;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.bakery-temporary-password-panel p {
    margin-top: 0.75rem;
    color: #6c5a1e;
    font-size: 0.875rem;
}

.bakery-copy-feedback {
    min-height: 1.25rem;
    margin-top: 0.5rem;
    color: #146c43;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .bakery-created-user-summary {
        grid-template-columns: 1fr;
    }

    .bakery-temporary-password-heading {
        flex-direction: column;
    }

    .bakery-temporary-password-panel .input-group {
        display: flex;
        flex-direction: column;
    }

        .bakery-temporary-password-panel .input-group > * {
            width: 100%;
            margin-left: 0;
            border-radius: 0.375rem !important;
        }

        .bakery-temporary-password-panel .input-group .btn {
            margin-top: 0.5rem;
        }
}

.bakery-category-information-panel {
    margin-top: 1.5rem;
}

.bakery-category-overview {
    display: flex;
    flex-direction: column;
}

.bakery-category-overview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #e5e7eb;
}

    .bakery-category-overview-item:first-child {
        padding-top: 0;
    }

    .bakery-category-overview-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .bakery-category-overview-item > span {
        color: #6c757d;
        font-size: 0.875rem;
    }

    .bakery-category-overview-item > strong {
        color: #212529;
        font-size: 0.95rem;
    }


.bakery-status-switch-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

    .bakery-status-switch-wrapper .form-check {
        min-height: auto;
    }

    .bakery-status-switch-wrapper .form-check-input {
        margin-top: 0;
        cursor: pointer;
    }

        .bakery-status-switch-wrapper .form-check-input:disabled {
            cursor: wait;
            opacity: 0.65;
        }

.bakery-status-switch-label {
    min-width: 52px;
    font-size: 0.875rem;
    font-weight: 600;
}

    .bakery-status-switch-label.is-active {
        color: #198754;
    }

    .bakery-status-switch-label.is-inactive {
        color: #6c757d;
    }




@media (max-width: 1000px) {
    .platform-summary-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 700px) {
    .platform-header {
        flex-direction: column;
    }

    .platform-header-actions {
        width: 100%;
    }

        .platform-header-actions .btn {
            flex: 1;
        }

    .platform-summary-grid,
    .platform-summary-grid-three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .order-board-summary {
        grid-template-columns: 1fr;
    }

    .bakery-orders-header-actions {
        width: 100%;
    }

        .bakery-orders-header-actions .btn {
            flex: 1;
        }
}

@media (max-width: 600px) {
    .inventory-header-actions {
        width: 100%;
    }

        .inventory-header-actions .btn {
            flex: 1;
        }
}


