
:root {
    --dash-primary-color:  #ca171e;
    --dash-bg-gray-color: #F6F7F9;
    --theme-one-color:  #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);
    color:#000;
    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;
}

h1 {
    margin: 0;
    text-align: right;
    font-size: 22px;
}
.h1-records {
    font-size: 15px;;
    font-weight: normal;
}

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

.link {
    color: #ca171e;
    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;
    
}
.calendars-container  {
    direction: ltr;
}


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

.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: #ca171e;
    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: #ca171e;
}

.row_field input, .row_field select{
    padding:10px 5px;
}

.create_button {
    background-color: #ca171e;
    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: 34px 40px;
    margin-top: 20px;
}

.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: #ca171e;
    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{
    flex:1;
}



.dash-list {
    /* border-radius: 7px;
    padding:20px 40px;
    text-align: center;
    margin-top: 66px; */
    border-radius: 7px;
    padding: 20px 40px;
    text-align: center;
    margin-top: 55px;
    height: calc(100% - 55px);
    overflow: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 180px);
}
.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;  
    max-width:200px;
    white-space: nowrap; /* Prevent text from breaking */
    word-wrap: normal; /* Ensure text stays on one line */
    overflow: hidden; /* Prevents overflow from making the table stretch */
    text-overflow: ellipsis; /* Optional: Adds "..." if text is too long */  
    border-left:1px solid #efefef;  
    vertical-align: middle;
}

.table > div > div:first-child {
    border-right:1px solid #efefef;  
}

.head > div {
    padding:5px;
    vertical-align: middle;
}
.table>div:nth-child(even) {
    background-color: #f2f2f2;
    background-color: #ffffff;        
}
.table>div:nth-child(odd) {
    background-color: #ffffff;        
}
.table>div.head {
    background-color: #F6F7F9;
    border-radius:10px; 
    font-weight: bold;       
    /* color: #fff; */    
    display: table-header-group;
    position: sticky;
    top: 0; /* Stick to the top when scrolling */
    z-index: 1; /* Ensure the header stays above the body rows */


}

.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: #ca171e;
    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: #ca171e;
    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;
}


.button {
    border-radius: 20px;
    background-color: #ca171e;
    padding:5px 10px;
    color: #fff;
    cursor: pointer;
    text-align: center;
    font-size: 14px;;
}
.button a{
    color: #fff;  
}
.button-wide {
    display: inline-block;
    margin-top: 10px;;
    padding: 5px 20px;
}
.objects-actions {
    display: flex;
    margin-bottom: 10px;
    border-color:#e0e0e0;
    border: 1px solid #e0e0e0;
    border-left:1px solid #e0e0e0;
    background: #fff;
    border-right: 0;
    padding: 0;
    justify-content: space-between;
    margin-bottom: 30px;

}
.objects-actions-cell {
    display: flex;
}
.objects-actions-cell .inner {
    display: flex;
    justify-content: center;
    align-items: center;
}
.objects-actions-cell .inner > div{
    color: #000000;
    padding:9px 15px;
    cursor: pointer;
    border:1px solid #e0e0e0;
    border-top:0;
    border-bottom: 0;
    border-left:0;
    font-size: 15px;;

}
.objects-actions .input_con .color-white .fa-solid{
    color: white;
    font-size: 14px;
}
.objects-actions .button{
    color: white;
    font-size: 12px;
    padding: 14px 14px 9px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-radius: 0;
}
.objects-actions  .object-search {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-radius: 0;;
    width: 300px;
    border-left:0;
}
.objects-actions .input_box {
    margin: 0;;
}

::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.042);
	background-color: #cecece;
}

::-webkit-scrollbar
{
	width: 10px;
    height: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
	background-color: #a2a2a2;
}
.new_row_box {
    display: flex;
    flex-wrap: wrap;
    gap:10px;
}
.new_row_box > div {
    flex: 0 0 49%;
}





.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;

    }


}

