.filament-custom-section header {
    background-color: var(--color-white) !important;
    /*background-color: #00acac !important;*/
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.filament-custom-section header h3 {
    color: inherit;
}

.filament-custom-section header p {
    color: inherit;
}

.fi-sidebar-nav {
    /*background-color: #fff;*/
}

.fi-sidebar-nav-groups {
    row-gap: 10px !important;
}

.fi-sidebar-item-active a {
    border: #00acac solid 1px !important;
}
/* svg{
    width: 24px;
    height: 24px;
} */
.flex{
    display: flex;
}
/* .fi-section-content-ctn, .fi-section-content-ctn p {
    margin-top: 10px;
    margin-bottom:10px;
} */
.fi-section-content h3{
    display: flex;
    gap: 10px;
    height: 25px;
}
.fi-section-content button{
    margin-right: 10px;
    /*margin-top: 10px;*/
    font-weight: 600;
}

.operations-btns{
    background-color: #41AFD3;
    cursor: pointer;
}
.fi-fo-field-label-content{
    font-weight: 600;
}
.user-detail{
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: max-content;
}
.user-detail h2{
    font-weight: 600;
}
.action_view{
    background-color: white !important;
}
.checklist_images{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.image-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    width: 170px;
    height: 170px;
    position: relative;
}
.image-card img{
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}
.gate_label{
    margin-bottom: 10px;
    font-weight: 600;
}
.gate-grid{
    margin-bottom: 20px;
}
.hidden{
    display: none;
}
.edit-icon-btn{
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    color: #00acac;
}

/* Operations dashboard */
.fi-page.operations-dashboard-page {
    padding: 0 !important;
}

.fi-page.operations-dashboard-page .fi-page-header {
    display: none !important;
}

.fi-page.operations-dashboard-page .fi-page-content {
    padding: 0 !important;
    gap: 0 !important;
}

.operations-dashboard {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100dvh - 8rem);
    padding: 2rem 1.5rem;
    overflow: visible;
    box-sizing: border-box;
}

.operations-dashboard::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 47, 73, 0.35) 0%, rgba(15, 23, 42, 0.55) 100%),
        url('/dashboard_background.jpg') center center / cover no-repeat;
    z-index: 0;
}

.operations-dashboard__card {
    position: relative;
    z-index: 1;
    width: min(100%, 920px);
    padding: 2.5rem 2rem 2.25rem;
    overflow: visible;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.operations-dashboard__welcome {
    margin: 0 0 2rem;
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.operations-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem 1.25rem;
    padding-top: 1.75rem;
    overflow: visible;
}

.operations-dashboard__tile {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 108px;
    height: auto !important;
    margin-top: 1.75rem;
    padding: 2rem 0.75rem 1.25rem !important;
    border-radius: 12px;
    background: linear-gradient(180deg, #5fc0e3 0%, #41afd3 55%, #2a97b9 100%) !important;
    border-bottom: 3px solid rgba(0, 0, 0, 0.12);
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    overflow: visible;
}

.operations-dashboard__tile-icon-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    width: 62px;
    height: 48px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.operations-dashboard__tile-icon {
    display: block;
    width: 62px;
    height: 48px;
    object-fit: contain;
}

.operations-dashboard__tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    filter: brightness(1.05);
}

.operations-dashboard__tile-label {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.operations-dashboard__redirecting {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #7dd3fc;
}

@media (max-width: 768px) {
    .operations-dashboard__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1rem;
    }

    .operations-dashboard__tile {
        margin-top: 1.5rem;
        min-height: 100px;
        padding: 1.75rem 0.65rem 1.15rem !important;
    }

    .operations-dashboard__tile-icon-wrap,
    .operations-dashboard__tile-icon {
        width: 54px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .operations-dashboard__grid {
        grid-template-columns: 1fr;
    }
}

/* Order Management wizard */
.order-mgmt-wizard {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.order-mgmt-tabs {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #d1d5db;
}

.order-mgmt-tabs__tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    background: #fff;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.order-mgmt-tabs__tab--active {
    background: #e8f6fc;
    border-bottom-color: #41afd3;
}

.order-mgmt-tabs__icon {
    width: 20px;
    height: 20px;
    display: block;
}

.order-mgmt-tabs__label {
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    color: #104050;
}

.order-mgmt-tabs__tab--active .order-mgmt-tabs__label {
    color: #41afd3;
}

.order-mgmt-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #e8f6fc;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #104050;
}

.order-mgmt-info-banner__dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 0.35rem;
    border-radius: 50%;
    border: 2px solid #41afd3;
    background: #fff;
}

.order-mgmt-section__title {
    font-size: 1rem;
    font-weight: 700;
    color: #104050;
    margin-bottom: 1rem;
}

.order-mgmt-upload__inner--compact {
    min-height: 120px;
    border-color: #d1d5db;
    background: #fafafa;
}

.order-mgmt-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

.order-mgmt-input {
    display: block;
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.order-mgmt-upload {
    display: block;
    width: 100%;
}

.order-mgmt-upload__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 160px;
    padding: 1.5rem;
    border: 2px dashed #41AFD3;
    border-radius: 0.75rem;
    background: #f8fcfe;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.order-mgmt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.order-mgmt-btn--primary {
    background: #41AFD3;
    color: #fff;
}

.order-mgmt-btn--primary:hover {
    background: #3699b8;
}

.order-mgmt-btn--outline {
    border: 1px solid #41AFD3;
    color: #41AFD3;
    background: #fff;
}

.order-mgmt-section {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    background: #fff;
}

.order-mgmt-table th,
.order-mgmt-table td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem;
}

.order-mgmt-table th {
    background: #f3f4f6;
    font-weight: 600;
    text-align: left;
}

.order-mgmt-gate-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #ecfdf5;
    border: 1px solid #86efac;
    border-radius: 0.5rem;
    color: #166534;
}

.order-mgmt-gate-alert__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: #16a34a;
}

.order-mgmt-gate-alert__title {
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.order-mgmt-gate-alert__text {
    font-size: 0.8125rem;
    line-height: 1.4;
}

.order-mgmt-processed-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 140px;
    padding: 2rem 1.5rem;
    border: 2px dashed #41afd3;
    border-radius: 0.75rem;
    background: #f8fcfe;
    text-align: center;
}

.order-mgmt-processed-box__icon {
    width: 3rem;
    height: 3rem;
    color: #16a34a;
}

.order-mgmt-processed-box__text {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #16a34a;
}

.order-mgmt-packing-title {
    font-size: 1rem;
    font-weight: 700;
    color: #104050;
    margin-bottom: 0.75rem;
}

.order-mgmt-packing-table {
    border-collapse: collapse;
}

.order-mgmt-packing-table th,
.order-mgmt-packing-table td {
    border: 1px solid #e5e7eb;
    padding: 0.625rem 0.75rem;
    text-align: left;
}

.order-mgmt-packing-table th {
    background: #f3f4f6;
    font-weight: 700;
    color: #104050;
    font-size: 0.8125rem;
}

.order-mgmt-packing-table__row--alt {
    background: #f0f9ff;
}

.order-mgmt-packing-table__empty {
    text-align: center;
    color: #6b7280;
    padding: 1.5rem !important;
}

