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

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

html {
    font-size: 100%;
}


/* 16px */

h1 {
    font-size: 4.210rem; /* 67.36px */
}

h2 {
    font-size: 3.158rem; /* 50.56px */
}

h3 {
    font-size: 2.369rem; /* 37.92px */
}

h4 {
    font-size: 1.777rem; /* 28.48px */
}

h5 {
    font-size: 1.333rem; /* 21.28px */
}

h6 {
    font-size: 1rem;
}

small {
    font-size: 0.750rem; /* 12px */
}

:root[data-theme="light"] {
    --text: #040316;
    --text-reverse: #eae9fc;
    --text-lighter: #858585;
    --sidebar-background: #fbfbfe;
    --background: #f3f3f3;
    --primary: #6D2E9E;
    --secondary: #a977d3;
    --tertiary: #f55f5f;
    --table-line: #212121;


}

:root[data-theme="dark"] {
    --text: #eae9fc;
    --text-reverse: #040316;
    --text-lighter: #858585;
    --sidebar-background: #212121;
    --background: #010104;
    --primary: #6D2E9E;
    --secondary: #a977d3;
    --tertiary: #f55f5f;
    --table-line: #858585;
}


body {
    display: flex;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
    background-color: var(--background);
    margin: 0;
    width: 100%;
    min-width: 430px;
    height: 100vh;
    overflow: hidden;
}

.body {
    display: flex;
    width: 100%;
    height: 100%;
}

.registration-container {
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: row;
    background: linear-gradient(126deg, rgba(109,46,158,1) 35%, rgba(169,119,211,1) 100%);
}

.margin-2 {
    display: flex;
    flex-direction: column;
    margin: 2rem;
    justify-content: center;
}

.image-left {
    flex-grow: 2;
    max-width: 594px;
    margin-left: 1rem;
    margin-top: auto;
    margin-bottom: auto;
}

.image-left img {
    margin-top: auto;
    margin-bottom: auto;
}

.image-left p{
    color: #eae9fc;
    margin-left: 2rem;
}

.image-left p:first-child{
    font-size: 1.5rem;
    font-weight: 500;
}

.next p:nth-child(2){
    font-size: 1.25rem;
    font-weight: 500;
}

.next {
    display: flex;
    flex-direction: row;
    margin-left: 2rem;
    margin-right: 2rem;
}

.form-right{
    flex-grow: 3;
    margin: auto;
}

.register-login {
    display: flex;
    flex-direction: column;
    background-color: var(--sidebar-background);
    border-radius: 0.5rem;
    margin-right: 2rem;
}

.register-login h5, .register-login p {
    margin-left: auto;
    margin-right: auto;
}

.register-login h5 {
    margin-top: 0rem;
}

.register-login button {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    height: 2.25rem;
}

.register-login .label-input input {
    background-color: var(--background);
    border: 0px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
    height: 1.5rem;
}

.flex-row .label-input:nth-child(1) {
    width: 240px;
    margin-right: 2rem;
}

.flex-row .label-input:nth-child(2) {
    width: 240px;
}

.sidebar header {
    position: relative;
}

.page-name {
    color: var(--text-lighter);
    font-weight: 500;
    font-size: 1.35rem;
}

.container {
    flex-grow: 1;
    margin-left: 21.875rem;
    height: 100%;
    display: flex;
}

.stripe {
    background-color: var(--background);
    width: 330px;
    margin-right: 1.25rem;
    padding: 0.5rem;
}

.stripeToHide {
    background-color: var(--background);
    width: 330px;
    margin-right: 1.25rem;
    padding: 0.5rem;
}

.main {
    flex-grow: 1;
    height: 100%;
    background-color: var(--sidebar-background);
    padding: 0.5rem 1.25rem 0.5rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.mainShowAlways {
    flex-grow: 1;
    height: 100%;
    background-color: var(--sidebar-background);
    padding: 0.5rem 1.25rem 0.5rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.heart-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: none;
}

.heart-default{}
.heart-purple{}

.mainShowAlways a{
    text-decoration: none;
}

.sidebar.close + .container {
    margin-left: 8.125rem;
    width: calc(100% - 8.125rem);
}

.sidebar.close + .orders-container {
    margin-left: 8.125rem;
    width: calc(100% - 8.125rem);
}

.sidebar.close .toggleImg {
    transform: rotate(180deg);
    transition: transofrm 0.3s ease
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 18.75rem;
    background: var(--sidebar-background);
    padding: 0.625rem 0.938rem;
    transition: width 0.3s ease;
}

.sidebar.close {
    width: 5rem;
}

.sidebar.close .header-image {
    margin-left: 0.25rem;
}

.sidebar.close .text {
    opacity: 0;
    /*transition: opacity 0.3s ease; */
}

.sidebar.close .button-text {
    visibility: hidden;
    /*transition: opacity 0.3s ease; */
}

.sidebar.close .toggle {
    right: -38%;
}

.sidebar.close .li {
    width: 3.125rem;
}

.sidebar.close .theme-toggle button {
    margin-left: 7rem;
    width: 3.25rem;
    padding: 0.938rem;
}

.sidebar.close .nav-link img {
    margin-left: 7rem;
}

.sidebar.close .nav-link .company-short {
    margin-left: 7.75rem;
}

.sidebar.close .nav-link .company-short-active {
    margin-left: 7.75rem;
}

.sidebar .secret {
    visibility: hidden;
}

.nav-link a {
    display: flex;
    flex-direction: row;
    text-decoration: none;
}

.nav-link img {
    padding-left: 0.75rem;
    padding-right: 1.25rem;
}


.sidebar li .active {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 500;
}

.sidebar.close li .active {
    opacity: 0;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar li .text {
    color: var(--text-lighter);
}

.sidebar li {
    margin-left: 2.5rem;
    width: 18.125rem;
    height: 2.5rem;
    margin-top: 1.10rem;
    list-style: none;
    display: flex;
    align-items: center;
}


.sidebar .image-text img {
    width: 5rem;
    border-radius: 0.313rem;
}

.sidebar header .image-text {
    display: flex;
    align-items: center;
}

.sidebar .text {
    font-size: 1.25rem;
    font-weight: 500;
}

.sidebar .image {
    min-width: 3.75rem;
    display: flex;
    align-items: center;
}

header .image-text .header-text {
    display: flex;
    flex-direction: column;
}

.header-text .name {
    font-size: 1.5rem;
}

.sidebar header .toggle {
    position: absolute;
    top: 5%;
    right: -10%;
    transform: translateY(50%);
    height: 2.063rem;
    width: 2.063rem;
    background: var(--primary);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0px;
}

.sidebar .menu-complete {
    display: flex;
    height: 90%;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar .menu {
    display: flex;
    justify-content: center;
    padding-right: 3.75rem;
}

.sidebar .menu-bar-bottom {
    margin-bottom: 20px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    height: 3.75rem;
}

.theme-toggle button {
    display: flex;
    align-items: center;
    background-color: var(--primary); /* Barva pozadí tlačítka */
    border: none;
    padding: 0.625rem 0.938rem;
    border-radius: 0.313rem;
    cursor: pointer;
    width: 16.875rem;
    height: 3.125rem;
}

.theme-toggle button:hover {
    transform: translateY(-5%);
    transition-duration: 0.3s;
    background-color: var(--secondary)
}


.theme-toggle button img {
    margin-right: 1.25rem;
}

.button-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: #f3f3f3;

}

.settings-cards {
    display: flex;
    flex-direction: column;
}

.setting-card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    background-color: var(--sidebar-background);
    color: var(--text-lighter);
    border-radius: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 1rem;
}

.setting-card-secret {
    display: none;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    background-color: var(--sidebar-background);
    color: var(--text-lighter);
    border-radius: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 1rem;
}

.setting-card img {
    margin-right: 0.75rem;
}

.setting-card-secret img {
    margin-right: 0.75rem;
}

.company-card {
    display: flex;
    overflow: hidden;
    width: 330px;
    height: 80px;
    background-color: var(--sidebar-background);
    border-radius: 1rem;
    margin-top: 1rem;
}

.company-card-active {
    display: flex;
    width: 330px;
    height: 80px;
    background-color: var(--primary);
    color: #f3f3f3;
    border-radius: 1rem;
    margin-top: 1rem;
}

.company-logo {
    margin-left: 0.5rem;
}

.company-text {
    margin-left: 0.5rem;
    font-size: 0.85rem;
}

.comment {
    color: var(--text-lighter);
    font-size: 0.75rem;
    font-weight: 400;
}

.form-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 4rem;
}

.form-logo button {
    font-family: 'Poppins', sans-serif;
}

.form-basic {
    display: flex;
    margin-left: 2rem;
    margin-right: 1.5rem;
}

.form-company {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.main form input, textarea {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border-radius: 0.25rem;
    border: solid 0.1rem;
    width: 100%;
    color: var(--text);
    background-color: var(--background);
}

.buttons {
    display: flex;
    flex-direction: row;
    margin-top: 0.75rem;
    margin-left: 2rem;
}

.buttons .action-button {
    width: 120px;
    height: 35px;
    margin-left: 1rem;
}

.buttons .delete-button {
    width: 120px;
    height: 35px;
}

.label-input {
    display: flex;
    flex-direction: column;
}

.form-top {
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem;
}

.form-top .label-input:first-child {
    margin-right: 2rem;
}

.form-bottom {
    display: flex;
    flex-direction: column;
}

.form-bottom .label-input:first-child {
    margin-bottom: 1rem;
}

.form-side {
    display: flex;
    flex-direction: column;
    margin-right: 0.5rem;
}

.form-medium {
    display: flex;
    flex-direction: row;
}

.form-medium .label-input {
    margin-right: 2rem;
    margin-bottom: 0.5rem;
}

.form-medium-top {
    display: flex;
    flex-direction: row;
}

.form-medium-top .label-input {
    margin-right: 2rem;
    margin-bottom: 0.5rem;
}

.form-invoice {
    display: flex;
    flex-direction: column;
    margin-left: 2rem;
    margin-right: 2rem;
}

.small-title {
    margin-left: 2rem;
}

.msg-card {
    display: flex;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    width: 330px;
    height: 80px;
    background-color: var(--sidebar-background);
    border-radius: 1rem;
    margin-top: 1rem;
}

.msg-icon {
    margin-left: 0.5rem;
}

.msg-username {
    margin-top: 0.75rem;
    margin-bottom: -0.25rem;
    margin-left: 0.5rem;
    font-size: 1rem;
}

.msg-text {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.msg-header {
    margin-left: 1rem;
    margin-right: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.icon-username {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-user {
    margin-top: 1.5rem;
    margin-left: 1rem;
    font-size: 1.25rem;
}

.main a {
    text-decoration: none;
}

.header-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    height: 40px;
    width: 150px;
    padding: 0.25rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    border: 0px;
    background-color: var(--primary);
    color: #f3f3f3;
    text-decoration: none;
}

.cart-icon {
    margin-right: 0.5rem;
}

.search {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-lighter);
    background-color: var(--sidebar-background);
    border-radius: 0.5rem;
    border: 0px;
    width: 320px;
    height: 40px;
    padding-left: 0.5rem;
}

.search-bar {
    height: 30px;
    width: 280px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-lighter);
    background-color: var(--sidebar-background);
    border-radius: 0.5rem;
    border: 0px;
    padding-left: 0.5rem;
}

.search-bar:focus {
    outline: none;
}

.cards-container a {
    text-decoration: none;
    color: var(--text);
}

.line {
    height: 2px solid var(--background);
    margin-left: 1rem;
    margin-right: 1rem;
    color: var(--text)
}

.msg-container {
    flex-grow: 1;
    overflow-x: hidden;
    overflow-y: auto;
    margin-bottom: 0.5rem;
}

.msg {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0.5rem;
}

.your-msg {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0.5rem;
}

.order-msg {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0.5rem;
}

.order-number {
    font-size: 1.1rem;
    font-weight: 600;
}

.order-details {
    border-top: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
    padding-top: 1rem;

}

.msg-content {
    background-color: var(--background);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    max-width: 300px;
    color: var(--text);
    border-radius: 0.75rem;
    font-size: 0.75rem;
}

.your-msg-content {
    background-color: var(--primary);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    max-width: 300px;
    color: #f3f3f3;
    border-radius: 0.75rem;
    font-size: 0.75rem;
}

.order-msg-content {
    background-color: var(--background);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    max-width: 300px;
    color: var(--text);
    border-radius: 0.75rem;
    font-size: 0.75rem;
    outline: 2px solid var(--primary);
}

.input-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

.input {
    display: flex;
    flex-direction: row;
    color: var(--text);
    margin-bottom: 1rem;
}

.input-bar {
    border: 1px solid;
    border-radius: 0.25rem;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 0.5rem;
    margin-right: 0.5rem;
    background-color: var(--background);
    color: var(--text);
}

.input-bar:focus {
    border: 1px solid;
    border-radius: 0.25rem;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.input-send {
    border: none;
    background-color: var(--sidebar-background);
}

.team-table {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    outline: 2px solid var(--text);
    border-radius: 0.5rem;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.team-table-detail {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    outline: 2px solid var(--text);
    border-radius: 0.5rem;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.team-table-detail tbody {
    display: block;
    min-height: 400px;
    max-height: 560px;
    overflow-x: hidden;
    overflow-y: auto;
}

.team-table-detail tr {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0.25rem 1rem;
}

.team-table-detail .tr-line {
    border-bottom: 1px solid var(--table-line);
}

.tr-line td {
    cursor: pointer;
}

.team-table-detail th, .team-table-detail td {
    width: 25%;
    display: flex;
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: center;
    justify-content: center;
}

.team-table-detail td {
    font-size: 0.75rem;
    padding-bottom: 0.25rem;
}

.team-table tbody {
    display: block;
    min-height: 400px;
    max-height: 670px;
    overflow-x: hidden;
    overflow-y: auto;
}

.team-table tr {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0.25rem 1rem;
}

.team-table .tr-line {
    border-bottom: 1px solid var(--table-line);
}

.tr-line td {
    cursor: pointer;
}

.team-table th, .team-table td {
    width: 25%;
    display: flex;
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: center;
    justify-content: center;
}

.team-table td {
    font-size: 0.75rem;
    padding-bottom: 0.25rem;
}

.search-user {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-lighter);
    background-color: var(--background);
    border-radius: 0.5rem;
    border: 0px;
    padding-left: 0.5rem;
    height: 40px;
}

.search-user-bar {
    flex-grow: 1;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-lighter);
    background-color: var(--background);
    border-radius: 0.5rem;
    border: 0px;
    padding-left: 0.5rem;
}

.search-user-bar:focus {
    outline: none;
}

.action-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary); /* Barva pozadí tlačítka */
    color: #f3f3f3;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    border: none;
    padding: 0.25rem 1rem;
    border-radius: 0.313rem;
}

.state-finished {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: green; /* Barva pozadí tlačítka */
    color: #f3f3f3;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    border: none;
    padding: 0.25rem 1rem;
    border-radius: 0.313rem;
}

.state-unfinished {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: orange; /* Barva pozadí tlačítka */
    color: #f3f3f3;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    border: none;
    padding: 0.25rem 1rem;
    border-radius: 0.313rem;
}

.state-cancelled {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--tertiary); /* Barva pozadí tlačítka */
    color: #f3f3f3;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    border: none;
    padding: 0.25rem 1rem;
    border-radius: 0.313rem;
}

.add-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary); /* Barva pozadí tlačítka */
    color: #f3f3f3;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    border: none;
    padding: 0.25rem 1rem;
    border-radius: 0.313rem;
    width: 80px;
}

.delete-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--tertiary); /* Barva pozadí tlačítka */
    color: #f3f3f3;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    border: none;
    padding: 0.25rem 1rem;
    border-radius: 0.313rem;
    width: 80px;
}


.paging {
    margin-top: 0.25rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.page-available {
    text-decoration: none;
    color: var(--text-lighter);
    margin-right: 0.25rem;
}

.page-active {
    text-decoration: none;
    color: var(--primary);
    margin-right: 0.25rem;
}

.orders-container {
    flex-grow: 1;
    margin-left: 22.3rem;
    margin-right: 1.5rem;
    margin-top: 0.5rem;
}

.orders-table {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    outline: 2px solid var(--text);
    background-color: var(--sidebar-background);
    border-radius: 0.5rem;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.orders-table tbody{
    max-height: 735px;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}

.orders-table tr {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0.25rem 1rem;
}

.orders-table .tr-line {
    border-bottom: 1px solid var(--table-line);
}

.orders-table th, .orders-table td {
    width: 16.6%;
    display: flex;
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: center;
    justify-content: center;
}

.orders-table td {
    font-size: 0.75rem;
    padding-bottom: 0.25rem;
}

.order-table tr {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0.25rem 1rem;
}

.order-table th {
    font-size: 0.75rem;
}

.order-table .tr-line {
    border-bottom: 1px solid var(--table-line);
}

.order-table th, .order-table td {
    width: 25%;
    display: flex;
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: center;
    justify-content: center;
}

.order-table td {
    font-size: 0.75rem;
    padding-bottom: 0.25rem;
}

.order-table tbody {
    display: block;
    max-height: 540px;
    min-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.order-table {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    outline: 2px solid var(--text);
    background-color: var(--sidebar-background);
    border-radius: 0.5rem;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.user-card {
    display: flex;
    width: 500px;
    height: 160px;
    background-color: var(--sidebar-background);
    border-radius: 1rem;
}

.user-icon {
    border-radius: 0.5rem;
}

.user-username {
    margin-top: 0.75rem;
    margin-bottom: -0.25rem;
    margin-left: 0.5rem;
    font-size: 1rem;
}

.user-text {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.user-container {
    margin-left: 1rem;
    margin-right: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.product-number {
    border-radius: 0.25rem;
    border: 0.11rem solid black;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    width: 20%;
    min-width: 14px;
    justify-content: center;
    background-color: var(--background);
    color: var(--text);
}

.product-unit {
    border-radius: 0.25rem;
    border: 0.11rem solid black;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    width: 75%;
    min-width: 30px;
    justify-content: center;
    background-color: var(--background);
    color: var(--text);
}

.order-user {
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--text);
}

.table-header {
    color: var(--text-lighter);
    margin-bottom: 0.25rem;
}

.flex-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.flex-between button {
    height: 2.5rem;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-row button {
    margin-left: 0.5rem;
}

.flex-row-left {
    display: flex;
    flex-direction: row;
}

.flex-row-left button {
    margin-right: 0.5rem;
}

.custom-product {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
}

.input-group {
    display: flex;
    flex-direction: column;
    width: 95%;
}

.input-group input {
    height: 1.5rem;
    border-radius: 0.33rem;
    border-width: 0.11rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    background-color: var(--background);
    color: var(--text);
}

.product-left {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

.flex-end {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.flex-end button {
    height: 2.5rem;
    margin-left: 0.5rem;
}

.comment-date {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: row;
}

.purple-stripe {
    position: relative;
    top: 0;
    left: 0;
    height: 100%;
    width: 1rem;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.msg-card-active .purple-stripe {
    background-color: var(--primary);
}

::-webkit-scrollbar {
    width: 1rem;
    height: 0.5rem;
}

::-webkit-scrollbar-track {
    background: var(--background); /* Default track color */
    border-radius: 1rem; /* Rounded corners for the track */
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary); /* Use your primary color */
    border-radius: 1rem; /* Rounded corners for the thumb */
    border: 3px solid var(--sidebar-background); /* Optional: Add padding around the thumb */
}

.increase-decrease {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.5rem;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
    background-color: var(--background);
    border-radius: 0.25rem;
    border: 1px solid var(--text);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide the spinners in Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.company-short {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--text-lighter);
    color: var(--text-reverse);
    border-radius: 2rem;
    width: 24px;
    height: 24px;
    margin-left: 0.75rem;
    margin-right: 1.25rem;
}

.company-short-active {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
    color: var(--text-reverse);
    border-radius: 2rem;
    width: 24px;
    height: 24px;
    margin-left: 0.75rem;
    margin-right: 1.25rem;
}

.company-short p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
}

.company-short-active p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
}

@media screen and (max-width: 1280px) {

    .form-basic {
        display: flex;
        flex-direction: column;
        margin-left: 2rem;
        margin-right: 2rem;
    }

}

@media screen and (max-width: 1160px) {

    .sidebar .menu-complete .nav-text,
    .sidebar header .header-text,
    .sidebar header .toggle,
    .image-left img, .image-left .next,
    .sidebar .menu-complete .button-text {
        display: none;
    !important;
    }

    .image-left:first-child {
        display: flex;
    }

    .registration-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .register-login {
        margin-right: 0rem;
    }

    .sidebar {
        width: 5rem;
    }

    .sidebar .menu-links {
        display: flex;
        flex-direction: column;
    }

    .sidebar .menu {
        padding-right: 0;
    }

    .sidebar li {
        margin-left: 12.5rem;
        height: 2.5rem;
        margin-top: 1.10rem;
        list-style: none;
        display: flex;
        align-items: center;
    }

    .sidebar .button-text {
        visibility: hidden;
        /*transition: opacity 0.3s ease; */
    }

    .sidebar .toggle {
        right: -38%;
    }

    .sidebar .li {
        width: 3.125rem;
    }

    .sidebar .theme-toggle button {
        width: 3.25rem;
        padding: 0.938rem;
    }

    .sidebar + .container {
        margin-left: 8.125rem;
        width: calc(100% - 8.125rem);
    }

    .sidebar + .orders-container {
        margin-left: 8.125rem;
        width: calc(100% - 8.125rem);
    }

    .order-table {
        outline: 0px;
    }

    .order-table tbody {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .order-table th {
        display: none;
    }

    .order-table td {
        font-size: 0.75rem;
    }

    .order-table .tr-line {
        border-bottom: 0px;
    }

    .order-table tr{
        background-color: var(--background);
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        margin-bottom: 0.5rem;
        border-radius: 0.5rem;
    }

    .order-table tr:first-child {
        display: none;
    }

}

@media screen and (max-width: 1085px) {
    .stripeToHide {
        display: none;
    }
}

@media screen and (max-height: 850px ) {
    .order-table tbody {
        max-height: 480px;
    }

    .orders-table tbody {
        max-height: 600px;
    }
}

@media screen and (max-height: 800px ) {
    .order-table tbody {
        max-height: 460px;
    }

    .orders-table tbody {
        max-height: 540px;
    }
}

@media screen and (max-height: 700px ) {
    .order-table tbody {
        max-height: 330px;
    }

    .orders-table tbody {
        max-height: 530px;
    }
}

@media screen and (max-width: 940px) {
    .sidebar + .container {
        margin-left: 0rem;
    !important;
    }

    .setting-card-secret {
        display: flex; !important;
    }

    .sidebar + .orders-container {
        margin-left: 1.5rem;
    }

    .team-table tbody{
        max-height: 600px;
    }

    .orders-table tbody{
        max-height: 660px;
    }

    .sidebar {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        height: auto;
        width: 100vw;
        padding: 0.5rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: row;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .sidebar .secret {
        visibility: visible;
    !important;
    }

    .sidebar.close {
        width: 100%;
    }

    .sidebar .menu-complete .nav-text,
    .sidebar .menu-complete .header-text,
    .sidebar .menu-complete .button-text,
    header, .sidebar .menu-bar-bottom {
        display: none;
    }


    .sidebar .menu-complete {
        flex-direction: row;
    !important;
    }

    .sidebar .menu-links {
        display: flex;
        flex-direction: row;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .sidebar .menu {
        padding-right: 0;
    }

    .sidebar li {
        margin-left: 0.65rem;
        margin-right: 0.65rem;
        margin-top: 0rem;
        width: 4rem !important; /* Explicit width for smaller screens */
        flex-basis: 4rem;
        display: flex;
        justify-content: center;
    }

    .sidebar li .text {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 2.5rem; /* Smaller heading */
    }

    h2 {
        font-size: 2rem; /* Smaller heading */
    }

    h3 {
        font-size: 1.75rem; /* Smaller heading */
    }

    h4 {
        font-size: 1.5rem; /* Smaller heading */
    }

    h5 {
        font-size: 1.25rem; /* Smaller heading */
    }

    body {
        font-size: 0.875rem; /* Smaller body text */
    }

    .page-name {
        font-size: 1.125rem; /* Adjusted page name size */
    }

    .stripe {
        margin-left: 2.25rem;
        margin-right: 2.25rem;
        margin-bottom: 84px;
    }

    .sidebar img {
        width: 35px;
        height: 35px;
    }

    .company-short {
        width: 35px;
        height: 35px;
    }

    .company-short-active {
        width: 35px;
        height: 35px;
    }

    .main {
        height: 90%;
    }

    .mainShowAlways {
        height: 90%;
    }
}

@media screen and (min-width: 861px) {
    .back-button {
        display: none; !important;
    }
}

@media screen and (max-width: 860px) {
    .stripe {
        margin-left: 2.25rem;
        margin-right: 2.25rem;
        margin-bottom: 84px;
        width: 100vh;
    }

    .sidebar li {
        margin-left: 0.33rem;
        margin-right: 0.33rem;
    }

    .flex-row .label-input:nth-child(1) {
        width: 210px;
        margin-right: 2rem;
    }

    .flex-row .label-input:nth-child(2) {
        width: 210px;
    }

    .search {
        width: 98.5%;
        height: 50px;
    }

    .search img {
        width: 30px;
        height: 30px;
    }

    .search-bar {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .msg-card {
        width: 100%;
        height: 90px;
    }

    .msg-icon img {
        width: 80px;
        height: 80px;
    }

    .msg-username {
        font-size: 1.15rem;
    }

    .msg-text {
        font-size: 1rem
    }

    .main {
        display: none; !important;
    }

    .page-name {
        font-size: 1.25rem;
    }

    .company-card {
        width: 100%;
        height: 90px;
    }

    .company-card-active {
        width: 100%;
        height: 90px;
    }

    .company-logo img {
        margin-top: 0.25rem;
        width: 80px;
        height: 80px;
    }

    .company-text {
        margin-top: 0.25rem;
        font-size: 0.9rem;
    }

    .sidebar + .orders-container {
        margin-left: 2rem; !important;
        width: calc(100% - 2rem); !important;
    }

    .orders-table {
        outline: 0px;
        background-color: var(--background);
    }

    .orders-table tbody {
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .orders-table td {
        font-size: 0.75rem;
    }

    .orders-table .tr-line {
        border-bottom: 0px;
    }

    .orders-table tr{
        background-color: var(--sidebar-background);
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        margin-bottom: 0.5rem;
        border-radius: 0.5rem;
    }

}

.hidden {
    display: none;
}

.show-block {
    display: block;
}

.show-flex {
    display: flex;
}

.back-button {
    background-color: transparent;
    border: none;
    margin-left: -6px;
}

.role-select {
    font-family: 'Poppins', sans-serif;
    border: 0px;
    background-color: var(--sidebar-background);
    color: var(--text);
}

.user-role-select {
    font-family: 'Poppins', sans-serif;
    border: 0px;
    background-color: var(--sidebar-background);
    color: var(--text-lighter);
    font-weight: 500;
}

@media screen and (max-width: 720px) {
    .register-login .label-input:nth-child(1) {
        width: 150px;
    }

    .register-login .label-input:nth-child(2) {
        width: 150px;
    }

    .register-login {
        font-size: 0.75rem;
        max-width: 400px;
    }
}

@media screen and (max-width: 630px) {
    .order-table td:nth-child(6) {
        display: none; !important;
    }

    .order-table td:nth-child(7) {
        display: none; !important;
    }

    .orders-table tbody {
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .orders-table tr {
        display: flex;
    }

    .orders-table .group-under {
        display: flex;
        flex-direction: column;
    }

    .orders-table th:nth-child(3) {
        display: none; !important;
    }

    .orders-table th:nth-child(4) {
        display: none; !important;
    }

    .orders-table td:nth-child(3) {
        display: none; !important;
    }

    .orders-table td:nth-child(4) {
        display: none; !important;
    }

}

@media screen and (max-width: 480px) {
    .register-login .label-input:nth-child(1) {
        width: 120px;
    }

    .register-login .label-input:nth-child(2) {
        width: 120px;
    }

    .register-login {
        max-width: 370px;
    }
}


