﻿:root {
    --color-primary: #330000;
    --table-header-bgcolor: var(--color-primary);
    --table-header-color: #FFFFFF;
    --color-secondary: #f2f2f2;
    --color-info: var(--color-primary);
    --color-green: #6e7e1b;
    --color-green-2: #6ca342;
    --color-green-3: #D1CAC2;
    --color-yellow: #F9E79F;
    --color-gray: #d7d7d7;
    --color-gray-2: #d8d8d8;
    --color-gray-3: #797979;
    --color-gray-4: #565051;
    --color-gray-5: #837E7C;
    --color-cream: #C9C0BB;
    --color-blue-1: #2E86C1;
    --color-blue-2: #34495E;
    --color-alert: #FFD100;
    --border-radius: 4px;
    --border-radius-top: 4px 4px 0 0;
}

.DownloadPODs {
    text-transform: none !important;
}

main {
    min-height: 72vh;
}

.loadercentered {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 9999;
    cursor: progress;
    color: whitesmoke;
}

.loaderImg {
    height: 50px;
    z-index: 1057;
}

.breakupboxClass {
    height: 40px;
    width: 385px;
    background-color: #5e544b;
    color: #fff;
}

.input-group > input[type="text"]:disabled {
    color: #330000;
}

.textalignright {
    text-align: right;
}

.width-auto {
    width: auto !important;
}

button:focus:not(:focus-visible) {
    outline: 0;
    box-shadow: none;
}


.dropdown-arrow {
    display: inline-block;
    margin-left: 10px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid white; 
}



nav.appbar ul:first-child > li select {
    width: 100% !important;
    display: inline-block;
    color: white;
    background-color: var(--navapp-item-bgcolor);
    text-decoration: none;
    padding: 2px 1px;
    min-width: 130px;
    white-space: nowrap;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: left;
    border: none;
}

    nav.appbar ul:first-child > li select option {
        position: absolute;
        min-width: 20%;
        background-color: var(--navapp-item-bgcolor);
        border-radius: 0 0 4px 4px;
        box-shadow: 2px 2px 3px 0 var(--color-black-35);
    }

:focus-visible {
    outline: -webkit-focus-ring-color auto 0px;
}

nav.appbar ul:first-child > li select.form-select {
    background-image: url("../img/icon-arrow-triangle-down-white.svg");
    margin-left: 20px;
}

.mobileAppsMenu .list-group li select {
    background-color: #5E544B;
    font-family: "Segoe UI", sans-serif;
    font-size: 1.5rem;
    font-weight: 350;
    font-style: normal;
    color: #fff;
    text-transform: uppercase;
    padding: 0;
    align-items: center;
    text-indent: 1rem;
    border: none;
    min-height: 50px;
}

    .mobileAppsMenu .list-group li select.form-select {
        background-image: url("../img/icon-arrow-triangle-down-white.svg");
    }

td a,
.btn-group a {
    padding: 8px;
    cursor: pointer;
    filter: invert(6%) sepia(52%) saturate(3526%) hue-rotate(351deg) brightness(105%) contrast(111%) !important;
}

    td a:hover,
    .btn-group a:hover {
        filter: invert(34%) sepia(66%) saturate(494%) hue-rotate(341deg) brightness(103%) contrast(91%) !important;
    }

.modal .default input,
.modal .default .form-select {
    text-transform: none;
}

.Iframe-width-height {
    width: 100%;
    position: relative;
    min-height:82vh;
    max-width: 100vw;
}

.copyright {
    float: left;
}

.social {
    float:right;
}

.topmargin{
    margin-top: 10px;
}

/* Loader Styles */
.bs_loader {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 120px;
    width: 120px;
}

.shader {
    width: 100%;
    height: 100%;
    background-color: black;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    opacity: 0.5;
    display: none;
    z-index: 1;
}

.custom_Loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: -75px 0 0 -75px;
    border: 16px solid transparent;
    border-top: 16px solid #FFD700;
    border-bottom: 16px solid transparent;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    animation: spin 2s linear infinite;
    z-index: 2;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


.welcome_message {
    font-size: 21px !important;
    text-align: center !important;
    font-weight: bold !important;
}

.btn-style {
    display: inline-block;
    padding: 10px 20px;
    background-color: #330000 !important;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}


body {
    overflow-x: hidden;
}


input::-webkit-calendar-picker-indicator {
    display: block !important;
}

.btn {
    background-color: #3e2723 !important;
}
.companyName {
    margin-top: 13px;
    margin-left: 5px;
    margin-right: 5px;
    color: white;
}
.dropdown-menu{
    margin-top:-3px !important;
}

.pagination .page-link.active {
    background-color: #939f54 !important;
}

th a {
    color: #fff;
}

.activeHeader {
    color: #6E7E1B;
}

table .btn {
    min-width: unset !important;
    margin:unset !important;
}

#modalPackageInfoBody h3 {
    text-align: center !important;
}

#modalPackageInfo .modal-content {
    height: 90vh;
}
#modalPackageInfoBody{
    overflow-y:scroll;
}


.form-check-input {
    border-bottom-style: groove !important;
}

input, select, textarea {
    border-style: unset !important;
    border-bottom-style: groove !important;
}


.floating-label {
    position: relative;
}

    .floating-label input,
    .floating-label select,
    .floating-label textarea {
        width: 100%;
        padding: 0.8rem 0.5rem 0.3rem;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .floating-label label {
        position: absolute;
        top: 0.9rem;
        left: 0.5rem;
        color: #999;
        font-size: 0.8rem;
        transition: all 0.2s ease-out;
        pointer-events: none;
    }

    .floating-label input:focus + label,
    .floating-label select:focus + label,
    .floating-label textarea:focus + label,
    .floating-label input:not(:placeholder-shown) + label,
    .floating-label select:not(:placeholder-shown) + label,
    .floating-label textarea:not(:placeholder-shown) + label {
        top: -0.6rem;
        left: 0.4rem;
        background: white;
        padding: 0 0.2rem;
        font-size: 0.8rem;
        color: #333;
    }



table {
    border-style: groove;
}

thead {
    text-transform: uppercase;
    background-color: #3e2723;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: none;
    border-width: 0;
}

.iconImages {
    width: 2em; /* scales with zoom */
    height: 1.5em; /* keeps proportions */
    vertical-align: middle;
}


.menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--navapp-item-bgcolor);
}

.menu-left,
.menu-right {
    display: flex;
    gap: 15px;
}

.menu-item {
    cursor: pointer;
    padding: 8px 12px;
    background-color: #ddd;
    border-radius: 4px;
}

    .menu-item:hover {
        background-color: #ccc;
    }

.hello-user-name {
    padding-right: 10px;
    color: white;
}
.alert-warning {
    background-color: var(--bs-warning-bg-subtle);
}

.no-data-found-bg {
    background-color: #ffffff;
}

.bi-check {
    font-size: x-large;
}

#loginEmailInputIndex {
    border: 2px solid #d1d5db !important; /* forces full border */
    border-radius: 10px;
    padding: 12px 16px;
    background-color: #ffffff;
    font-size: 1rem;
    color: #1f2937;
    transition: all 0.25s ease;
}
    /* Hover */
#loginEmailInputIndex:hover {
        border-color: #b8c2cc;
    }

    /* Focus */
#loginEmailInputIndex:focus {
        border-color: #3b82f6;       
        outline: none;
    }

#emailErrorBox {
    display:none; 
    color:red; 
    font-weight:500;
    margin-top:5px;
}

.login-container {
    border: 3px solid #d0d0d0;
    border-radius: 10px;
    background: #ffffff;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    min-height: 220px;
}

.auth-modal-header {
    background-color: #351c15;
}
.auth-modal-header .modal-title {
        color: white !important;
}
.auth-modal-header .btn-close {
        filter: invert(1);
}
.auth-modal-position .modal-dialog {
    align-items: flex-start !important; 
    margin-top: 200px; 
}
.auth-modal-body {
    padding: 30px 40px; /* adjust as needed */
}
.auth-modal-text {
    font-weight: 600; /* semi-bold */
}
#loggedInMessage {
    font-weight: 600 !important;
}
#welcomeMessage {
    font-size: 40px;
    font-weight: 700 !important;
    text-align:center;
    padding: 40px;
}
.auth-modal-position {   
    overflow: hidden;
}


/* Container inside navbar */
.searchable-select {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 40px; /* matches your navbar height */    
}

.ss-display {
    background: transparent;
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 50px;
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
    font-weight: 400;
    justify-content: space-between;
    padding-bottom: 2px;
    width: 300px;  
    border: 2px solid rgba(255,255,255,0.75);
}

.ss-dropdown {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;    
    width: 300px; 
    background: #2b2b2b;
    border: 1px solid #444;
    border-radius: 4px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);   
}

/* Search box */
.ss-search {
    width: 100%;
    padding: 8px 20px;
    background: white;
    color: black;
    border: none;
    outline: none;
    font-size: 14px;
}

/* Prevent flicker on long wrapped text */
.ss-select option {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;   
    line-height: 1.2em;
    padding: 6px 10px;   
    width: 100% !important;
    max-width: 100% !important;
}

    /* Prevent hover from changing width */
    .ss-select option:hover {
        width: 100% !important;
        max-width: 100% !important;
    }
/* Hover + selected highlight */
.ss-select option:hover,
.ss-select option:checked {
            background: #7169d8 !important;
}


/* Arrow */ .ss-display::after {
    content: "▼";
    font-size: 10px;
    margin-left: 10px;
    transition: transform 0.2s ease;
    opacity: 0.8;
}

.searchable-select .ss-select option {
    position: static !important;
    min-width: auto !important;
    background-color: #5e544b !important;
    box-shadow: none !important;
    color: white;
}

.searchable-select .ss-display:hover {
    background: rgba(255,255,255,0.25) !important;
}


.ss-select option:hover {
    background-color: #2196f3 !important;
    color: #fff;
    transition: background-color 0.15s ease-in-out;
    width: 300px;
}

.ss-select, .ss-select option {
    cursor: pointer !important;
}

.no-data {
    padding: 8px;
    color: black;
    font-size: 13px;
    text-align: center;
    background-color: white;
}

.table {
    width: 98vw !important; /* always fits the visible page */
    max-width: 98vw !important; /* prevents overflow */
    margin-left: calc(50% - 49vw); /* centers the table */  
}

.pagination {
    width: 98vw; /* expand table beyond container */
    margin-left: calc(50% - 49vw) /* pull left side outward */
}

.consignee-col {
    max-width: 150px; /* adjust as needed */    
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* allows wrapping */
    word-break: break-word; /* breaks long words if needed */
}


/* Scroll wrapper to prevent shrinking */
.table-responsive-wrapper {
    width: 150%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
}

.table-scroll-x {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    display: block;
}
.custom-table-wrapper {
    width: 98vw !important; /* always fits the visible page */
    max-width: 98vw !important; /* prevents overflow */
    margin-left: calc(50% - 49vw); /* centers the table */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    display: block;
}
/* Fixed-width table that stays readable */
.table-fixed {
    width: 1000px; /* <-- FIXED WIDTH */
    max-width: none;
    min-width: 1000px; /* prevents shrinking on zoom */
    border-collapse: collapse;
    background: rgb(0,0,0,0);
}

    /* Header styling */
    .table-fixed thead th {
        background: #330000;
        padding: 12px;
        font-weight: 600;
        border-bottom: 2px solid #e2e6ea;
        text-align: center;
        white-space: nowrap;
    }

    /* Body cells */
    .table-fixed tbody td {
        padding: 5px;
        border-bottom: 1px solid #eee;
        text-align: center;
        white-space: nowrap; /* prevents squeezing */
    }

    /* Allow wrapping only for long text columns */
    .table-fixed .wrap {
        white-space: normal;
        word-break: break-word;
    }

    td {
        white-space: nowrap;
    }

.table-fixed-batch {
    width: 500px; /* <-- FIXED WIDTH */
    max-width: none;
    min-width: 500px; /* prevents shrinking on zoom */
    border-collapse: collapse;
    background: rgb(0,0,0,0);
    margin-left: auto; /* centers horizontally */
    margin-right: auto;
}

.table-expand-zoom th,
.table-expand-zoom td {
    text-align: left !important;
}
    /* Center specific columns */
    .table-expand-zoom td.process,
    .table-expand-zoom th.process,
    .table-expand-zoom td.count,
    .table-expand-zoom th.count,
    .table-expand-zoom td.view,
    .table-expand-zoom th.view,
    .table-expand-zoom td.download,
    .table-expand-zoom th.download,
    .table-expand-zoom td.items,
    .table-expand-zoom th.items,
    .table-expand-zoom td.view,
    .table-expand-zoom th.view
    {
        text-align: center !important;
    }
    /* Force narrow columns */
    .table-expand-zoom th.upload-date,
    .table-expand-zoom td.upload-date,
    .table-expand-zoom th.name,
    .table-expand-zoom td.name,
    .table-expand-zoom th.items,
    .table-expand-zoom td.items,
    .table-expand-zoom th.status,
    .table-expand-zoom td.status {
        width: 200px !important;
    }

    .table-expand-zoom th.process,
    .table-expand-zoom td.process {
        width: 200px !important;
    }

    .table-expand-zoom th.flag-col,
    .table-expand-zoom td.flag-col {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
        text-align: center !important;
        white-space: nowrap;
    }

    .table-expand-zoom td.flag-col .flag-check {
        display: inline-block;
        width: 100%;
        text-align: center;
        line-height: 1;
    }

    /* Optional: reduce padding */
    .table-expand-zoom th.upload-date,
    .table-expand-zoom td.upload-date,
    .table-expand-zoom th.process,
    .table-expand-zoom td.process,
    .table-expand-zoom th.name,
    .table-expand-zoom td.name,
    .table-expand-zoom th.items,
    .table-expand-zoom td.items,
    .table-expand-zoom th.status,
    .table-expand-zoom td.status {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

