/* This file is for your main application css. */
@charset "UTF-8";

@import "./app.css";
@import "./layout.css";
@import "./style-guide.css";
@import "./standalone.css";
@import "./demo.css";
@import "./eg.css";
@import "./tabs.css";
@import "./typeahead.css";
@import "./dropdown.css";
@import "./datepicker.css";
/* @import "./dark-mode.css"; */

body {
    --mdc-shape-small: 20px;
    --mdc-shape-medium: 20px;
    --mdc-shape-large: 20px;
    -webkit-text-size-adjust: 100%;
}

.menu-row {
    color: var(--color-secondary);
    height: 40px;
    font-family: var(--typography-font-family);
    font-size: var(--typography-small-regular-font-size);
    font-weight: var(--typography-font-weight-regular);
    border-collapse: collapse;

}

.bottom-navigation {
    position: fixed;
    bottom: 0px;
    width: 100%; 
    background-color: rgba(255, 255, 255, 0.8);
    height: 56px;
    padding-top: 8px;
    padding-bottom: 32px;
    font-size: var(--typography-really-small-regular-font-size);
} 

.bottom-navigation-action {
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    /* color: var(--mdc-theme-primary); */
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}

.bottom-navigation-material-icons {
    font-size: 24px !important;
    /* color: var(--mdc-theme-primary); */
    transition: color 0.6s ease;
    color: var(--color-secondary);
}

.bottom-navigation-action:hover .bottom-navigation-material-icons {
    color: var(--mdc-theme-primary);
}

.half-row {
    height: 20px;
}

mwc-top-app-bar-fixed {
    --mdc-theme-primary: rgba(255, 255, 255, 0.5);
    --mdc-theme-on-primary: var(--color-action);
    margin-top: -8px;
    margin-left: -8px;
}

.top-line {
    border-top: 1px solid #EBEFF2;
}

.top-line.order {
    border-top: 1px solid var(--color-selected);
    ;
}

.primary {

    color: var(--color-primary);
    font-weight: var(--typography-font-weight-bold);
}

.secondary {
    color: var(--color-secondary);
    font-weight: var(--typography-font-weight-light);
    font-size: var(--typography-small-regular-font-size);
}

.order {
    color: var(--color-selected);
}

.order>a {
    color: var(--color-selected);
    font-weight: var(--typography-font-weight-bold);
}

.pulsate {
    -webkit-animation: pulsate 3s ease-out;
    -webkit-animation-iteration-count: infinite;
    opacity: 0.5;
}

@-webkit-keyframes pulsate {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}


.tag {
    font-size: var(--typography-small-9-regular-font-size);
    border-radius: 20px;
    /* border: 1px solid #EBEFF2; */
    /* padding: 4px; */
    /* height: 19px; */
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}


.open {
    /* color: #4C5454; */
    color: #C73866;
}

.ordered {
    /* color: #F52100; */
    color: #FE676E;
    -webkit-animation: pulsate 1s ease-out;
    -webkit-animation-iteration-count: infinite;
}

.in_progress {
    color: #FD8F52;
    /* color: #FF6047;  */
}

.ready {
    /* color: #FFA799;  */
    color: #FFBD71;
}

.delivered {
    /* color: #74E7D7; */
    color: #FFDCA2;
}

.finished {
    /* color: #1EA896; */
    color: #1EA896;
}


.open-line {
    height: 2px;
    background-color: #C73866;
}

.ordered-line {
    height: 2px;
    background-color: #FE676E;
    -webkit-animation: pulsate 1s ease-out;
    -webkit-animation-iteration-count: infinite;


}

.in_progress-line {
    height: 2px;
    background-color: #FD8F52;
}

.ready-line {
    height: 2px;
    background-color: #FFBD71;
}

.delivered-line {
    height: 2px;
    background-color: #FFDCA2;
}

.finished-line {
    height: 2px;
    background-color: #1EA896;
}

/* .tags-band-primary{
    height: 40px;
    overflow-x: scroll;
    white-space: nowrap;
    width: 100%;
} */

.tag-selected {
    border-bottom: 1px solid var(--mdc-theme-primary);
}


.kitchen-order {
    padding: 1rem;
    border: 1px solid lightgray;
}

.background {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1px);
}

#message-textbox {
    width: 100%;
    border: none;
    font-size: var(--typography-body-regular-font-size);
    outline: none;
    border-bottom: 1px solid #EBEFF2;
}

.user {
    background-color: beige;
    border-radius: 12px;
    padding-right: 4px;
    font-size: var(--typography-really-small-regular-font-size);
    padding-left: 4px;
}

.link-one {
    background-color: whitesmoke;
    border-radius: 12px;
    padding-right: 4px;
    font-size: var(--typography-really-small-regular-font-size);
    padding-left: 4px;
    color: var(--color-primary)
}







.tags-band-container {
    height: 115px;
    width: 100%;
    overflow-x: scroll;
}

.tags-band {
    height: 105px;
    display: grid;
    grid-auto-flow: column;
    grid-column-gap: 20px;
}

.tags-band-tag {
    padding-top: 5px;
}

.tags-band-name {
    padding-top: 8px;
    font-size: var(--typography-small-10-regular-font-size);

    width: 60px;
    height: 42px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.letter-circle {
    width: 60px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    border: 0.5px dotted var(--mdc-theme-primary);
}

.MuiAvatar-root.user-avatar {
    width: 24px;
    height: 24px;

    background-color: var(--mdc-theme-secondary);
}


#since

/* Tab styles */
.tabs {
    display: flex;
    border-bottom: 0.5px solid rgb(240, 240, 240);
    font-family: var(--typography-font-family);
}

.tablinks {
    background-color: transparent;
    border: none;
    outline: none;
    line-height: 24px;
    cursor: pointer;
    padding: 12px 24px;
    transition: background-color 0.6s ease;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.54);
    text-transform: uppercase;
    white-space: nowrap;
}

.tablinks.active {
    color: var(--mdc-theme-primary);
}

.tablinks span {
    position: relative;
}

.tabcontent {
    display: none;
    padding: 20px;
}

/* Add a bottom border as an indicator for active tab */
.tablinks.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 16px);
    height: 2px;
    background-color: var(--mdc-theme-primary);
}

/* Button styles */
.buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn {
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    padding: 8px 16px;
    margin: 0 0px;
    transition: background-color 0.6s ease;
    text-transform: uppercase;
}

.contained {
    background-color: var(--mdc-theme-primary);
    color: #fff;
}

.contained:hover {
    background-color: #2f3e9e;
}

.contained-disabled {
    background-color: #f0f0f0;
    color: #fff;
}
.contained-disabled:hover {

}

.outlined {
    border: 2px solid var(--mdc-theme-primary);
    color: var(--mdc-theme-primary);
    background-color: transparent;
}

.outlined:hover {
    background-color: rgba(63, 81, 181, 0.1);
}

.text {
    color: var(--mdc-theme-primary);
    background-color: transparent;
}

.text:hover {
    background-color: rgba(63, 81, 181, 0.1);
}


/* Textfield styles */
.textfield {
    margin: 20px auto;
    width: 100%;
}

.label {
    /* display: block; */
    font-size: var(typography-really-small-regular-font-size);
    /* color: rgba(0, 0, 0, 0.54); */
    color: rgba(0, 0, 0, 0.54);
    margin-bottom: -8px;
}

.input {
    width: 100%;
    padding-bottom: 8px;
    font-size: 14px;
    border: 1px solid #bdbdbd;
    border-radius: 0px;
    transition: border-color 0.6s ease;
    color: var(--color-primary)
}

.input:focus {
    border-color: var(--mdc-theme-primary);
    outline: none;
}

input[type=text], input[type=number] {
    border: none;
    /* font-size: var(--typography-body-regular-font-size); */
    outline: none;
    border-bottom: 0.5px solid #AAA;
}

input:disabled {
    border-bottom: none;
}

input[type=text]:focus {
    border-bottom: 0.5px solid #555;
}

/* textarea */
.taia-textarea {
    border: 0px solid var(--color-secondary);
    border-bottom: 0.5px solid #AAA;
    border-right: 0.5px solid #AAA;


    box-sizing: border-box;
    /* Include padding and border in the element's total width and height */
    transition: border-color 0.3s;
    /* Smooth transition for border color */
    width: 100%;
    font-family: var(--mdc-typography-font-family);
    font-size: var(--typography-small-regular-font-size);
}

.taia-textarea:focus {
    outline: none;
    /* Remove default focus outline */
    border-color: var(--color-action);
    border-bottom-width: 2px;
    /* Focus border color, similar to TextField focus state */
}

/* Icon button styles */
.icon-button {
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    color: var(--mdc-theme-primary);
}

.material-icons {
    font-size: 24px;
    color: var(--mdc-theme-primary);
    transition: color 0.6s ease;
}

.icon-button:hover .material-icons {
    color: var(--mdc-theme-primary);
}

pre {
    background-color: #EBEFF2;
    padding: 8px;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.in {
    opacity: 1
}


.field-select-label {
    border: 0.5px solid var(--color-tertiary);
    border-radius: 16px;
    padding: 0px 8px 0px 8px;
    display: inline-flex;
}

#DRAWER
/* Style for the hamburger menu */
.hamburger {
    display: block;
    cursor: pointer;
    padding: 10px;
}

/* Style for the drawer menu */
.drawer-container {
    position: fixed;
    top: 0;
    left: -300px;
    /* Initially off-screen */
    width: 250px;
    height: 100%;
    background-color: white;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
}

/* Style for the links inside the drawer menu */
.drawer ul {
    list-style: none;
    padding: 0;
}

.drawer ul li {
    padding: 15px;
    color: black;
}

/* Style for the overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black overlay */
    z-index: 999;
    /* Higher z-index than the drawer menu */
}

/* Show the overlay when the drawer is open */
.drawer-container.open+.overlay {
    display: block;
}


#messages-list{
    padding-left: 16px;
    padding-right: 16px;
}

.message-text{
    margin-bottom: -12px;
}

.message-sender{
    margin-top: 16px;
    margin-bottom: -12px;
}

.user-handle{
    border: 0.5px solid var(--color-tertiary);
    border-radius: 16px;
    padding: 0px 8px 0px 8px;
    display: inline-flex;
    align-items: center;
}