/* General CSS */

* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #EEE;
}

.page-right-div {
    background-color: #222229;
    border: 1px solid #323239;
    padding: 15px;
    border-radius: 10px;
    height: fit-content;
}

.sticky {
    position: sticky;
    top: 70px;
}

label {
    -webkit-touch-callout: none; 
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.no-select {
    -webkit-touch-callout: none; 
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
    overflow: -moz-scrollbars-vertical; 
    overflow-y: scroll;
}

html::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-track {
    background-color: #44444B;
}

html::-webkit-scrollbar-thumb {
    background-color: #AAAAB1;
}

.hide {
    display: none;
}

.important-hide {
    display: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body {
    background-color: #1D1D24;
}

input {
    color-scheme: dark;
}

select {
    cursor: pointer;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.flex-left {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
}

.main-buttons-wrapper {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.order-button {
    outline: none;
    border: none;
    background-color: #1a73e8;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 13px;
    color: #FFF;
    cursor: pointer;
}

/* Success Notifications */

.success-div {
    position: fixed; 
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    padding: 6px 18px;
    height: 50px;
    display: flex;
    align-items: center;
    color: #EEE;
    background-color: #3BB143;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 999;
    font-size: 15px;
    background-color: rgba(59, 177, 67, 0.8);
}

.sd-red {
    background-color: rgba(217, 83, 79, 0.8);
}

/* Header */

.home-header {
    width: 100%;
    padding: 10px 20px;
    background-color: #222229;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    z-index: 99;
    top: 0px;
    border-bottom: 1px solid #323239;
}

.header-logo-wrapper {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
}

.header-logo-wrapper div {
    color: #77777E;
    font-size: 13px;
    padding-top: 4px;
}

.header-logo-wrapper div a {
    color: #77777E;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
}

.header-logo {
    max-height: 20px;
    cursor: pointer;
}

.header-mobile-logo {
    max-height: 25px;
    cursor: pointer;
    display: none;
}

.header-right {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 10px;
}

.header-today {
    color: #66666D;
    font-size: 14px;
}

.header-today-date {
    color: #CCCCD3;
}

.header-button {
    outline: none;
    border: none;
    background-color: #1a73e8;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 14px;
    color: #FFF;
    cursor: pointer;
}

@media screen and (max-width: 800px) {
    .header-logo {
        display: none;
    }
    .header-logo-wrapper {
        display: none;
    }
    .header-mobile-logo {
        display: inline-block;
    }
    .mobile-hide {
        display: none !important;
    }
}

/* Sidebar */

.sidebar {
    background-color: #222229;
    padding: 15px;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 70px;
}

.sidebar a {
    text-decoration: none;
}

.sidebar-link {
    padding: 10px;
    background-color: #28282F;
    border-radius: 5px;
    color: #AAAAB1;
    font-size: 14px;
    margin-bottom: 6px;
}

.sidebar-link:hover {
    background-color: #2B2B32;
}

.active-sidebar-link {
    background-color: #1a73e8;
    color: #FFF;
}

.active-sidebar-link:hover {
    background-color: #1a73e8;
}

@media screen and (max-width: 800px) {
    .sidebar {
        display: none;
    }
}

/* Center form */

.form-page {
    display: flex;
    justify-content: center;
    align-items: start;
    margin-top: 20px;
}

.center-form {
    background-color: #222229;
    border: 1px solid #323239;
    padding: 30px 25px;
    border-radius: 10px;
    width: 100%;
}

.center-form h2 {
    margin-bottom: 15px;
    text-align: center;
    font-weight: normal;
    font-size: 24px;
    color: #CCCCD3;
}

.center-form label {
    color: #66666D;
    font-size: 12px;
    padding-left: 10px;
}

.center-form input[type=text],
.center-form input[type=date],
.center-form input[type=time],
.center-form select {
    outline: none;
    border: none;
    background-color: #28282F;
    padding: 8px 10px;
    border-radius: 5px;
    width: 100%;
    border: 1px solid #323239;
    font-size: 14px;
    color: #AAAAB1;
    margin-top: 3px;
    margin-bottom: 8px;
}

.center-form input[type=number] {
    outline: none;
    border: none;
    background-color: #28282F;
    padding: 8px 10px;
    border-radius: 5px;
    width: 100%;
    border: 1px solid #323239;
    font-size: 14px;
    color: #AAAAB1;
}

.center-form textarea {
    outline: none;
    border: none;
    background-color: #28282F;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    border: 1px solid #323239;
    font-size: 14px;
    color: #AAAAB1;
    margin-top: 3px;
    margin-bottom: 8px;
    resize: none;
}

.center-form input[type=submit] {
    outline: none;
    border: none;
    background-color: #1a73e8;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    font-size: 14px;
    color: #FFF;
    cursor: pointer;
    margin-top: 8px;
}

.number-wrapper {
    margin-top: 3px;
    margin-bottom: 8px;
    position: relative;
}

.custom-arrows-wrapper {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    right: 6px;
    display: flex;
    justify-content: right;
    gap: 5px;
}

.custom-arrow {
    background-color: #44444B;
    border-radius: 30px;
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.custom-arrow img {
    width: 10px;
    height: 10px;
}

.x-button {
    position: absolute;
    top: 15px;
    right: 15px;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.checkboxes-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 8px;
    padding: 8px 10px;
    margin-top: 3px;
    margin-bottom: 8px;
    background-color: #28282F;
    border-radius: 5px;
    border: 1px solid #323239;
}

.checkbox-wrapper {
    width: 100%;
    display: flex;
    align-items: left;
}

.form-grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 8px;
}

input[type=checkbox] {
    accent-color: #1a73e8 !important;
    cursor: pointer;
}

.checkbox-label {
    padding-left: 6px !important;
    cursor: pointer;
    cursor: #AAAAB1;
    font-size: 12px;
}

.notify-carrier-wrapper {
    padding-top: 8px;
    padding-bottom: 6px;
    display: flex !important;
    align-content: center;
}

.notify-carrier-cb {
    width: 16px !important;
    height: 16px !important;
}

.notify-carrier-label {
    font-size: 14px !important;
    cursor: pointer;
}

@media screen and (max-width: 800px) {
    .center-form {
        border-radius: 0px;
        background-color: transparent;
        border: none;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 15px;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
        row-gap: 0px;
    }
    .form-grid-4 {
        grid-template-columns: 1fr 1fr;
        row-gap: 0px;
    }
    .sales-new-order-menu {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Page Form */

.small-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
    row-gap: 0px;
}

.small-form-grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 8px;
    row-gap: 0px;
}

.page-form h3 {
    font-weight: normal;
    color: #CCCCD3;
    margin-bottom: 15px;
    font-size: 18px;
}

.page-form label {
    color: #66666D;
    font-size: 11px;
    padding-left: 8px;
}

.page-form input[type=text],
.page-form input[type=date],
.page-form input[type=time],
.page-form select {
    outline: none;
    border: none;
    background-color: #28282F;
    padding: 0px 8px;
    border-radius: 5px;
    width: 100%;
    border: 1px solid #323239;
    font-size: 13px;
    color: #AAAAB1;
    margin-top: 3px;
    margin-bottom: 8px;
    height: 32px;
}

.page-form input[type=number] {
    outline: none;
    border: none;
    background-color: #28282F;
    padding: 0px 8px;
    border-radius: 5px;
    width: 100%;
    border: 1px solid #323239;
    font-size: 13px;
    height: 32px;
    color: #AAAAB1;
}

.page-form textarea {
    outline: none;
    border: none;
    background-color: #28282F;
    padding: 8px;
    border-radius: 5px;
    width: 100%;
    border: 1px solid #323239;
    font-size: 13px;
    color: #AAAAB1;
    margin-top: 3px;
    margin-bottom: 8px;
    resize: none;
}

.page-form input[type=submit] {
    outline: none;
    border: none;
    background-color: #1a73e8;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    font-size: 14px;
    color: #FFF;
    cursor: pointer;
    margin-top: 8px;
}

.page-form .number-wrapper {
    margin-top: 3px;
    margin-bottom: 8px;
    position: relative;
}

.page-form .custom-arrows-wrapper {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    right: 6px;
    display: flex;
    justify-content: right;
    gap: 5px;
}

.page-form .custom-arrows-wrapper div {
    background-color: #44444B;
    border-radius: 30px;
    height: 18px;
    width: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.page-form .custom-arrows-wrapper div img {
    width: 9px;
    height: 9px;
}

.page-form .checkboxes-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 8px;
    padding: 8px;
    margin-top: 3px;
    margin-bottom: 8px;
    background-color: #28282F;
    border-radius: 5px;
    border: 1px solid #323239;
}

/* Printing */

#print-box {
    background-color: #FFF;
}

.print-padder {
    padding: 30px;
}

.print-header {
    margin-bottom: 35px;
}

.print-header img {
    width: 200px;
}

.print-header p,
.print-header p b {
    color: #333;
    font-size: 14px;
}

.print-order-title {
    border-bottom: 1px solid #BBB;
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.print-order-title div .desc {
    font-size: 14px;
    color: #666 !important;
    margin-bottom: 3px;
}

.print-order-title div .value {
    font-size: 22px;
    color: #333;
    font-weight: bold;
}

.print-order-subtitle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-bottom: 1px solid #BBB;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.print-order-subtitle div .desc {
    padding-top: 10px;
    font-size: 14px;
    color: #666;
    margin-bottom: 2px;
}

.print-order-subtitle div .value {
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.subdesc {
    padding-top: 10px;
    font-size: 14px;
    color: #666;
    margin-bottom: 2px;
}

.subvalue {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.print-order-note {
    border-bottom: 1px solid #BBB;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/* Carriers */

.driver-container {
    background-color: #28282F;
    padding: 8px;
    border-radius: 5px;
    margin-top: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.driver-container-right {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 30px;
    text-align: right;
}

/* NEW */

.export-city-logo {
    height: 25px;
    margin-right: 20px;
    opacity: 0.7;
}

@media screen and (max-width: 800px) {
    .export-city-logo {
        display: none;
    }
}

.notes-red {
    /*background-color: #404047 !important;
    border: 1px solid #FF0000;*/
}

.notes-red .order-data {
    color: #fc1e1e !important;
    font-weight: 600;
}

.notes-red .data {
    color: #fc1e1e !important;
    font-weight: 600;
}
