:root {
    --theme-one-color: #ca171e;
    --theme-one-strix: #ca171e;
}
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    direction:rtl;
    box-sizing: border-box;
    font-family: 'Heebo', sans-serif;
    color: #050A30;
    color: rgb(73, 73, 73);
    font-size:14px;
}
input,select,textarea,button {
    font-family: 'Heebo', sans-serif;
}
main,
.main {
    display: flex;
    justify-content: flex-start;
    min-height: 100vh;
    /* max-width: 335px; */
    margin: auto;
    position: relative;
}
.ltr {
    direction: ltr;
    display: inline-block;
}
main nav,
.main nav {
    position: sticky;
    top: 0;
}

.bg-color {
    background-color: var(--theme-one-color);;
}

h1 {
    margin: 0;
    text-align: right;
    font-size: 22px;
}

a {
    text-decoration: none;
    color: #050A30;
    color: rgb(73, 73, 73)
}

.link {
    color: var(--theme-one-color);
    text-decoration: underline;
}

.page-container {
    /* padding-top: 49px; */
    width:100%;
    background-color: #fdfdfe;
    display: flex;
    position:absolute;
    top:0;
    right:0;
    min-height: 100%;
}
.page {
    /* padding-top: 49px;
    width:100%;
    background-color: #fdfdfe; */
    flex:1;
    padding:0px;
    width: calc(100% - 200px);
    
}
.calendars-container  {
    direction: ltr;
}



body input,
body select {
    border-radius: 7px;
    border: 1px solid #ababab;
    padding:10px 20px;
    text-align: right;
    /* margin-top: 10px; */
    width: 100%;
    box-sizing: border-box;
}

.input_con.radio input {
    width:auto;
    display: none;
}

.input_con.radio label {
    background-color: #eaeaea;
    padding: 9px 20px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
}



.input_con.radio input:checked + label {
    background-color: var(--theme-one-color);
    color: white;
}
.input_con.radio.checkbox label {
    width: 20px;
    height: 20px;
    padding: 0;
    display: inline-block;
    box-sizing: border-box;
}
.input_con.radio.checkbox input:checked + label {
    border:4px solid #d2d2d2;
} 

.input_con.radio.checkbox-toggle input + label {
    background-color: #F6F7F9;
    border:1px solid #d2d2d2;
    border-radius: 50px;;
    width: 40px;
    position: relative;
    display: flex;
    padding: 5px;
    transition: all 500ms;
    margin: 0;;
}
.input_con.radio.checkbox-toggle input + label span{
    background-color: #a1a1a1;
    color: white;
    display: block;
    width: 20px;
    height: 20px;;
    position: relative;
    z-index: 1;
    border-radius: 50%;
}
.input_con.radio.checkbox-toggle input:checked + label {
    justify-content: end;
}
.input_con.radio.checkbox-toggle input:checked + label span{
    background-color: var(--theme-one-color);
}


.create_button {
    background-color: var(--theme-one-color);
    border-radius: 30px;
    color: #fff;
    border: 1px solid #eee;
    padding: 15px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}


.shipment {
    border-radius: 7px;
    padding: 20px 40px;    
    margin-top: 20px;   
    padding-bottom: 70px;;
      
}

.shipment-flex-button {
    justify-content: center;
    display: flex;
}
.input_con {
    display: flex;
    flex-direction: column;
    text-align: right;
}
.input_con.radio {
    flex-direction: row;
    justify-content: start;
    margin-top: 30px;;
}
.input_con .fa-solid {
    color: var(--theme-one-strix);
    font-size: 8px;;
    position: relative;
    top:-2px;
}
.input_con label {
    font-size: 14px;;
    margin-top: 5px;;
}
.input_box {
    display: flex;
    gap:20px;
    margin-bottom: 5px;;
}

.input_box > div:not(.flex-none){
    flex:1;
}

.box-shadow {
    box-shadow: 0px 0px 20px #858585;
}


.dash-list {
    border-radius: 7px;
    /* border: 3px solid rgb(244, 247, 249); */
    padding:20px 40px;
    text-align: center;
    /* background-color: #fff;; */
    margin-top: 20px;
}
.dash-list h1{
    font-size: 22px;
    text-align: right;
    margin: 0;
    margin-bottom: 15px;
}
.table {
    display: table;
    flex-direction: column;
    width:100%;
    font-size:14px;
}
.table > div {
    display: table-row;        
}
.table > div > div {
    display: table-cell;   
    padding:5px;
    border-bottom:1px solid #efefef;    
    vertical-align: middle;
    max-width:200px;
    word-wrap: normal; /* Ensure text stays on one line */
    overflow: hidden; /* Prevents overflow from making the table stretch */
    border-left:1px solid #efefef;  
    vertical-align: middle;
}

.table > div.head > div {
    max-width:200px;
    white-space: nowrap; /* Prevent text from breaking */
    text-overflow: ellipsis; /* Optional: Adds "..." if text is too long */  
}

.head > div {
    padding:5px;
}
.table>div:nth-child(even) {
    background-color: #f2f2f2;
    background-color: #ffffff;        
}
.table>div:nth-child(odd) {
    background-color: #ffffff;        
}
.table>div.marked {
    background-color: #ffbebe !important;
}
.table>div.has-print-date {
    background-color: #cff1ff !important;
}
.table>div.head {
    background-color: #F6F7F9;
    border-radius:10px; 
    font-weight: bold;       
    /* color: #fff; */
}

.table>div.head > div {
    border:0;
}
.table>div.head > div:first-child {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}
.table>div.head > div:last-child {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

.logo { 
    margin: auto;
}
.logo img {
    width:100%;
}

.orders-filters {
    display: relative;
    display: flex;
    margin-bottom:40px;
    gap:10px;
}
.orders-filters .date-field,
.orders-filters select,
.orders-filters input {
    border: 1px solid #eee;
    border-radius:30px;
    padding: 8px 20px;
    border: 3px solid rgb(244, 247, 249);
    font-size: 15px;;
    background-color: #fff;;

    border-radius: 30px;
    padding: 15px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: auto;
    font-size: 14px;
    margin-top:0;
}


.orders-filters .date-field .icon-calendar {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEmSURBVHgB7ZcPzcIwEMUfXz4BSCgKwAGgACRMAg6YBBxsOMABOAAHFAXgAK5Z2Y6lHbfQ8SfpL3lZaY/1rb01N+BHUKSMNBfEJjZWISA56Uo6C2KvVpkgFn9oRx9vICFtUT1JKO3tvRtZdjBxXQs+YY+1FenIfuesPUGVVLzfRWKvmrSzbbN19wS+kAb2+sCEuUxrYzkbe4YvCVM2Vr5NPAkVa+van7Wn38U95uTpN5TJ/A8ZKemAakmbmJJGpI0gVmwA0huieFItjG19DgTHtwIZhCfZq3ztCuzQYh+FKBSvusjAGs8PnLYkLgMf34JoIBqIBqKBaIAb0Kw9RlhMCTbzzPWAqYq7LsuPaGDUsYmznaOk5zChUJTNQ4TFVMkrOL4HPsoNn26PxROHCggAAAAASUVORK5CYII=) no-repeat center center;
    background-size: 14px 14px;
    height: 14px;
    width: 14px;
}
.orders-filters > button {
    background-color: var(--theme-one-color);
    border-radius: 30px;
    color: #fff;
    border: 1px solid #eee;
    padding: 15px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: auto;
    font-size: 14px;
}
.orders-top-up {
    display: flex;
    justify-content: space-between;
}

.small_button {
    background-color: var(--theme-one-color);
    border-radius: 30px;
    color: #fff;
    border: 1px solid #eee;
    padding: 5px 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    font-size: 14px;
    gap:10px;
}
.input_empty_error {
    border:2px solid red !important;
}
.mobile {
    display: none;;
}
.locations_desc {
    padding-bottom:30px;
    justify-content: start;
    display: flex;
}


.orders-bulk-con {
    left:0;
    right:0;
    position: fixed;
    bottom:20px;
    z-index: 20;
    background-color: var(--theme-one-color);
    padding:0px;
    margin:auto;
    border-radius:20px;
    color: white;
    box-shadow: 0px 0px 20px #858585;
    display: flex;    
    max-width: 500px;;
    padding: 0 10px;
    text-align: center;

}
.orders-bulk-con .button{
    flex:1;
    padding:10px;  
    border-left:1px solid #fff;;  
    cursor: pointer;

}
.orders-bulk-con .button:last-child{
    border-left:0;  
}

.order_tabs {
    display: flex;
    margin-bottom: 10px;;
}
.order_tabs > div{
    padding: 10px 20px;
    background-color: #f6f7f9;
    border-left: 1px solid #fff;
    cursor: pointer;
}
.order_tabs > div.selected {
    background-color:var(--theme-one-color);
    color:#fff;
}
.order_tabs > div:first-child{
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.order_tabs > div:last-child{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.sort_flex {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width:600px) {
    .mobile {
        display: block;
    }
    .orders-filters {
        display: none;
    }
    .table-shipments .head {
        display: none;
    }
    .table-shipments > div {
        display: flex;
        flex-direction: column;
    }

    .table-shipments .content > div {
        display: flex;
        gap:10px;
        justify-content: space-between;
    }

    .table-shipments.orders .content > div:nth-child(1),
    .table-shipments.orders .content > div:nth-child(5){
        flex:1;
        display: inline-flex;
        order:1;

    }


    .order_tabs,.sort_flex {
        flex-direction: column;
    }

    body .table-shipments.svelte-1ai138f .content>div{
        max-width: none;
    }

    body .table-shipments.svelte-1ai138f .content>div .small_button {
        width: 100%;
    }

    .shipment-items {
        display: none;
    }


}