@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

:root{
    --theme-color: #f58500;
    --background-color: aliceblue;
}

*{
    box-sizing: border-box;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
}

body{
    background-color: var(--background-color);
    display: flex;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    bottom: 0;
    width: 240px;
    height: 100vh;
    padding: 0 1.7rem;
    overflow: hidden;
    box-shadow: 3px 3px 7px rgba(174, 174, 192, 0.25), -3px -3px 7px rgba(255, 255, 255, 0.7), inset 3px 3px 3px rgba(255, 255, 255, 0.7), inset -3px -3px 3px rgba(174, 174, 192, 0.25);
    border-radius: 30px;
    background-color: var(--background-color);
    transition: all 0.5s linear;
}
.navbar ul li{
    display: block;
    padding: 15px;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s;
    width: 100%;
}
.navbar ul a{
    text-decoration: none;
    color: #000000;
    padding: 10px;
}
.navbar ul li:hover{
    box-shadow: inset 3px 3px 7px rgba(174, 174, 192, 0.25), inset -3px -3px 7px rgba(255, 255, 255, 0.7), 3px 3px 3px rgba(255, 255, 255, 0.7), -3px -3px 3px rgba(174, 174, 192, 0.25);
}
.navbar-urls{
    align-self: flex-start;
    width: 100%;
}
.navbar-urls ul{
    display: flex;
    flex-direction: column;
    padding: 0;
}
.logo{
    padding: 16px;
}
.logo-img{
    width: 120px;
}
.body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
}

.container{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px 0px;
    overflow: hidden;
    flex-direction: column;
}
.container_main{
    box-shadow: 3px 3px 7px rgba(174, 174, 192, 0.25), -3px -3px 7px rgba(255, 255, 255, 0.7), inset 3px 3px 3px rgba(255, 255, 255, 0.7), inset -3px -3px 3px rgba(174, 174, 192, 0.25);
    border-radius: 30px;
    display: flex;
    padding: 40px;
    width: 600px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 30px;
}

@media screen and (max-width: 576px) {
    .container_main{
        width: 100%;
    }
    .form{
        width: 100%;
    }
}

h1{
    text-align: center;
}

input {
    padding: 15px 20px;
    margin: 5px;
    box-shadow: inset 3px 3px 7px rgba(174, 174, 192, 0.25), inset -3px -3px 7px rgba(255, 255, 255, 0.7), 3px 3px 3px rgba(255, 255, 255, 0.7), -3px -3px 3px rgba(174, 174, 192, 0.25);
    border-radius: 30px;
    border: none;
    background-color: var(--background-color);
    outline: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    height: fit-content;
}

input[type="text"],input[type="number"],input[type="email"],input[type="password"],input[type="tel"],input[type="file"]{
    width: 100%;
}
label{
    display: block;
    font-size: 1.2rem;
    padding: 7px 15px;
    font-weight: 600;
}
input[type="radio"]{
    background-color: var(--background-color);
}
.radio_buttons{
    display: flex;
    margin: 15px 0px;
    align-items: center;
    width: 100%;
}
input[type="submit"],.new_order_button{
    color: #ffffff;
    background-color: #168102;
    box-shadow: 3px 3px 7px rgba(174, 174, 192, 0.25), -3px -3px 7px rgba(255, 255, 255, 0.7);
    cursor: pointer;
    margin: 10px 0px;
    padding: 15px 25px;
    transition: 0.3s;
    width: 100%;
}
input[type="submit"]:hover,.new_order_button:hover{
    background-color: var(--background-color);
    color: #000000;
    box-shadow: inset 3px 3px 7px rgba(174, 174, 192, 0.25), inset -3px -3px 7px rgba(255, 255, 255, 0.7), 3px 3px 3px rgba(255, 255, 255, 0.7), -3px -3px 3px rgba(174, 174, 192, 0.25);
}
.submit_button{
    display: flex;
    justify-content: center;
    width: 100%;
}
.output {
    margin: 20px;
    box-shadow: 3px 3px 7px rgba(174, 174, 192, 0.25), -3px -3px 7px rgba(255, 255, 255, 0.7), inset 3px 3px 3px rgba(255, 255, 255, 0.7), inset -3px -3px 3px rgba(174, 174, 192, 0.25);
    border-radius: 30px;
    display: flex;
    padding: 40px;
    font-size: 1rem;
    font-weight: 500;
    flex-wrap: wrap;
    width: fit-content;
    flex-direction: column;
}
.new_order_button{
    width: fit-content !important;
    border-radius: 30px;
    text-decoration: none;
}
.container-50{
    width: 50%;
}
form{
    display: flex;
    flex-wrap: wrap;
}
.container-inner{
    display: inline-flex;
    width: 100%;
}
.container-50:nth-child(2){
    width: 45%;
    margin-left: 80px;
}

.button{
    color: #ffffff;
    background-color: var(--theme-color);
    box-shadow: 3px 3px 7px rgba(174, 174, 192, 0.25), -3px -3px 7px rgba(255, 255, 255, 0.7);
    cursor: pointer;
    margin: 10px 0px;
    padding: 15px 25px;
    transition: 0.3s;
    width: 50%;
    text-align: center;
    border-radius: 30px;
    text-decoration: none;
}
.button:hover{
    background-color: var(--background-color);
    color: #000000;
    box-shadow: inset 3px 3px 7px rgba(174, 174, 192, 0.25), inset -3px -3px 7px rgba(255, 255, 255, 0.7), 3px 3px 3px rgba(255, 255, 255, 0.7), -3px -3px 3px rgba(174, 174, 192, 0.25);
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 10px;
    display: block;
    overflow: hidden;
    box-shadow: 3px 3px 7px rgba(174, 174, 192, 0.25), -3px -3px 7px rgba(255, 255, 255, 0.7), inset 3px 3px 3px rgba(255, 255, 255, 0.7), inset -3px -3px 3px rgba(174, 174, 192, 0.25);
    border-radius: 30px;
    padding: 15px;
}

th {
    padding: 15px;
}
td{
    padding: 15px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 3px 3px 7px rgba(174, 174, 192, 0.25), -3px -3px 7px rgba(255, 255, 255, 0.7), inset 3px 3px 3px rgba(255, 255, 255, 0.7), inset -3px -3px 3px rgba(174, 174, 192, 0.25);
    border-radius: 30px;
    font-size: 1rem;
    padding: 15px;
}

.pagination a {
    padding: 15px;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
    margin: 0px 5px;
    font-weight: 600;
}
.pagination a:hover, .pagination_active {
    box-shadow: inset 3px 3px 7px rgba(174, 174, 192, 0.25), inset -3px -3px 7px rgba(255, 255, 255, 0.7), 3px 3px 3px rgba(255, 255, 255, 0.7), -3px -3px 3px rgba(174, 174, 192, 0.25);
}
.filter_form{
    align-items: center;
}
.filter_form input[type="submit"]{
    width: auto;
    margin-left: 10px;
}
.export{
    margin-left: 10px;
    width: fit-content;
}
tr td:nth-child(9) {
    min-width: 225px;
}
tbody {
    overflow: auto;
    display: block;
}
*::-webkit-scrollbar{
    width: 0.5rem;
    height: 0.5rem;
}
*::-webkit-scrollbar-thumb{
    border-radius: 0.5rem;
    background-color: #0004;
}
th {
    min-width: 125px;
}
tr:nth-child(1){
    box-shadow: 3px 3px 7px rgba(174, 174, 192, 0.25), -3px -3px 7px rgba(255, 255, 255, 0.7), inset 3px 3px 3px rgba(255, 255, 255, 0.7), inset -3px -3px 3px rgba(174, 174, 192, 0.25);
    border-radius: 30px;
}
tr:not(:first-child) {
    border-bottom: 1px solid #00000017;
    transition: 0.3s;
}
tr:not(:first-child):hover {
    background-color: #ebf5ff;
}
tr:nth-last-child(1) {
    border: none !important;
}
tr td:nth-last-child(1) {
    min-width: 510px;
}

.actions a.actions-link:hover {
    box-shadow: inset 3px 3px 7px rgba(174, 174, 192, 0.25), inset -3px -3px 7px rgba(255, 255, 255, 0.7), 3px 3px 3px rgba(255, 255, 255, 0.7), -3px -3px 3px rgba(174, 174, 192, 0.25);
}
td,th{
    padding-left: 20px;
    text-align: left;
}
.actions a.actions-link{
	color: var(--theme-color);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    transition: 0.3s;
}
.actions{
    box-shadow: 3px 3px 7px rgba(174, 174, 192, 0.25), -3px -3px 7px rgba(255, 255, 255, 0.7), inset 3px 3px 3px rgba(255, 255, 255, 0.7), inset -3px -3px 3px rgba(174, 174, 192, 0.25);
    padding: 10px;
    display: flex;
    justify-content: center;
    border-radius: 30px;
}


.branch, #country{
    width: 100%;
    background-color: var(--background-color);
}
.branch option, #country option{
    padding: 20px;
}
.select2-dropdown{
    box-shadow: 3px 3px 7px rgba(174, 174, 192, 0.25), -3px -3px 7px rgba(255, 255, 255, 0.7), inset 3px 3px 3px rgba(255, 255, 255, 0.7), inset -3px -3px 3px rgba(174, 174, 192, 0.25);
    border-radius: 30px;
    padding: 20px !important;
    background-color: var(--background-color);
    border: none !important;
}
.select2-container--default .select2-selection--single, input[type="search"]{
    box-shadow: inset 3px 3px 7px rgba(174, 174, 192, 0.25), inset -3px -3px 7px rgba(255, 255, 255, 0.7), 3px 3px 3px rgba(255, 255, 255, 0.7), -3px -3px 3px rgba(174, 174, 192, 0.25);
    border-radius: 30px;
    padding: 30px !important;
    background-color: var(--background-color);
    border: none !important;
}
input[type="search"]{
    padding: 20px !important;
    outline: none;
}
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{
    border-radius: 30px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    top: 20px;
    right: 20px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    margin: -12px;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
    background-color: var(--theme-color);
}
.select2-container--default .select2-results__option--selected{
    background-color: #fdc50020;
}
.select2-results__option{
    padding: 15px 20px;
    border-radius: 30px;
    transition: 150ms ease-in-out;
}
.select2-container--open .select2-dropdown--below{
    border-radius: 30px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b{
    border-color: #000000 transparent transparent transparent;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{
    border-color: transparent transparent #000000 transparent;
}

/* Popup */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--background-color);
    box-shadow: 3px 3px 7px rgba(174, 174, 192, 0.25), -3px -3px 7px rgba(255, 255, 255, 0.7), inset 3px 3px 3px rgba(255, 255, 255, 0.7), inset -3px -3px 3px rgba(174, 174, 192, 0.25);
    border-radius: 30px;
    padding: 20px;
    z-index: 1000;
    display: flex;
    min-width: 500px;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
    justify-content: center;
}
.popup-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #00000059;
    z-index: 2;
}
.popup .button{
    width: fit-content;
    margin: 20px;
    line-height: 3.5rem;
}
.popup p {
    font-size: 1.4rem;
}
.output .orderDetailsBtns {
    display: flex;
    justify-content: space-evenly;
}

#order-modal{
    display: none;
}
.card{
    background-color: var(--background-color);
    box-shadow: 3px 3px 7px rgba(174, 174, 192, 0.25), -3px -3px 7px rgba(255, 255, 255, 0.7), inset 3px 3px 3px rgba(255, 255, 255, 0.7), inset -3px -3px 3px rgba(174, 174, 192, 0.25);
    border-radius: 30px;
    padding: 10px;
    cursor: pointer;
}
.cardBottom{
    border-top: solid 1px #00000030; 
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#dashboard{
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr 1fr;
}
#customer-form .button{
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 1rem;
}
.hidden{
    display: none;
}
#formContainer{
    transition: all 0.3s ease-in-out;
}
.socialIcon{
    padding: 20px;
    display: inline-flex;
    width: 30px;
    height: 30px;
    background-color: var(--theme-color);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin: 5px;
}
.socialIcon a{
    color: #ffffff;
}
.socialIcon:hover a{
    color: #000000;
}
.success {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

label.error{
    color: red;
    font-size: 14px;
    margin-top: -8px;
    width: 100%;
}