:root{
    --font-roboto: "Roboto", sans-serif;
    --font-playfair: "Playfair Display", serif;
    --color-menu-orange: #fb923c;
    --color-orange-dark: #c2410c;
    --color-orange: #ea580c;
}

html, body{
    height: 100%;
    background: #fff;
    color: #374151;
    font-family: var(--font-roboto);
    font-size: 15px;
    margin: 0;
}

.login-fluid{
    width: 100%;
    height: 100%;
}

.login-container{
    width: 100%;
    height: 100%;
    max-width: 1100px;
    padding: 0 20px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box{
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    box-sizing: border-box;
    overflow: hidden;
    width: 500px;
}

.login-box-header{
    background: #fffef8;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e2e7eb;
}

.login-box-header img{
    height: 80px;
}

.login-box-body{
    padding: 20px;
}

.login-input-holder{
    margin-bottom: 15px;
}

.login-label{
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 3px;
}

.login-input{
    border: 1px solid #b9c7cd;
    border-radius: 4px;
    padding: 0 10px;
    background: none;
    height: 44px;
    box-sizing: border-box;
    font-family: inherit;
    width: 100%;
    font-size: 15px;
}

.login-submit-holder{
    margin-top: 35px;
}

.login-submit-button{
    height: 44px;
    border: none;
    background: #1a1a1a;
    border-radius: 4px;
    color: #eee;
    width: 200px;
    cursor: pointer;
}

/** Dashboard **/

.topbar-fluid{
    height: 66px;
    background: #f1f5f8;
    border-bottom: 1px solid #dfe5ed;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    position: fixed;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left{
    display: flex;
    align-items: center;
    gap: 40px;
}

.topbar-logo{
    font-family: var(--font-playfair);
    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.topbar-menu-container{
    display: flex;
    gap: 20px;
}

.topbar-menu-item{
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.topbar-menu-item:hover{
    text-decoration: underline;
}

.topbar-right{
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-logout-button{
    height: 40px;
    background: #f44336;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.main{
    padding-top: 66px;
}

.container{
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.admin-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.admin-grid-item{
    height: 100%;
    min-height: 200px;
    border: 1px solid #dfe5ed;
    border-radius: 5px;
    background: #f1f5f8;
}

.info-popup-fluid{
    position: fixed;
    z-index: 98;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    top: 0;
    left: 0;
    background: #fff;
    display: none;
}

.info-popup-container{
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.close-info-popup{
    position: fixed;
    top: 5px;
    right: 12px;
    cursor: pointer;
    font-size: 36px;
}

.form-popup-fluid{
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
}

.form-popup-container{
    width: 800px;
    background: #fff;
    margin: 50px auto;
    border-radius: 6px;
}

.close-form-popup{
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    background: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #1a1a1a;
    font-size: 32px;
}

.main-header{
    display: flex;
    align-items: center;
    height: 66px;
    border-bottom: 1px solid #dfe5ed;
    justify-content: space-between;
}

.form-popup-container .main-header{
    padding: 0 20px;
}

.main-header-title{
    font-size: 32px;
    font-weight: 700;
}

.main-header-button{
    height: 40px;
    background: #1a1a1a;
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 15px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.main-header-button i{
    font-size: 20px;
}

.main-body{
    padding: 20px;
}

.info-popup-container .main-body{
    padding: 20px 0;
}

.form-input-holder{
    margin-top: 25px;
}

.form-input-holder:first-child{
    margin-top: 0;
}

.form-label{
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-input{
    width: 100%;
    height: 40px;
    border-radius: 6px;
    background: none;
    border: 1px solid #b9c7cd;
    transition: all 0.2s ease;
    padding: 0 10px;
}

.form-input:focus{
    outline: none;
    border: 1px solid #1a1a1a;
}

.form-submit-holder{
    margin-top: 25px;
}

.form-error-wrap{
    font-size: 14px;
    color: #f44336;
    font-weight: 500;
    margin-bottom: 10px;
    display: none;
}

.main-form-button{
    height: 44px;
    background: #1a1a1a;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    width: 200px;
    cursor: pointer;
}

.main-body-empty{
    text-align: center;
}

.list-item-title{
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 600;
}

.list-item{
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f8;
}

.list-item:first-child{
    padding-top: 0;
}

.list-item:last-child{
    border-bottom: none;
}

.form-tab-holder {
    background: #f1f5f8;
    height: 40px;
    border-radius: 40px;
    display: flex;
    gap: 5px;
    padding: 5px;
    box-sizing: border-box;
    width: max-content;
}

.form-tab-item {
    height: 30px;
    padding: 0 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.form-tab-item:hover{
    background: #dfe5ed;
}

.form-tab-selected, .form-tab-selected:hover {
    background: #fff;
    color: #1a1a1a;
}

.form-select-input{
    position: relative;
    border: 1px solid #b9c7cd;
    border-radius: 6px;
}

.form-select-header {
    height: 40px;
    border: 1px solid var(--color-border-gray);
    border-radius: 4px;
    padding: 0 10px;
    box-sizing: border-box;
    line-height: 40px;
    transition: all 0.15s ease;
    position: relative;
    cursor: pointer;
}

.form-select-title span {
    color: #b9c7cd;
}

.input-icon {
    position: absolute;
    height: 40px;
    width: 40px;
    display: flex;
    top: 0;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.input-icon-right{
    right: 0;
}

.form-select-dropdown, .form-search-dropdown {
    display: none;
    width: 100%;
    background: #fff;
    position: absolute;
    top: calc(100% + 5px);
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    padding: 5px 10px;
    z-index: 6;
    max-height: 300px;
    overflow-x: hidden;
}

.form-select-option, .form-search-option {
    white-space: nowrap;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #dfe5ed;
}

.form-select-focus{
    border: 1px solid #1a1a1a;
}

.user-restaurant-holder{
    display: none;
}

.form-section-title{
    font-size: 18px;
    font-weight: 500;
}

.order-table-container{
    margin-top: 10px;
    border: 1px solid #dfe5ed;
}

.order-table-row{
    display: grid;
    grid-template-columns: 1fr 180px 70px;
    border-bottom: 1px solid #dfe5ed;
}

.order-table-row:last-child{
    border-bottom: none;
}

.order-table-row > div{
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.order-table-header > div{
    color: #1a1a1a;
    font-weight: 500;
    background: #f1f5f8;
    height: 40px;
}

.ot-search-wrap{
    height: 50px;
    position: relative;
}

.ot-search-header{
    padding: 0 10px;
    color: #4285F4;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.ot-search-dropdown{
    position: absolute;
    top: calc(100% + 5px);
    width: 100%;
    background: #fff;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    overflow-x: hidden;
    max-height: 300px;
    display: none;
}

.dropdown-input-container{
    background: #f1f5f8;
    padding: 10px;
}

.ot-search-input{
    height: 40px;
    border: 1px solid #dfe5ed;
    border-radius: 6px;
    padding: 0 10px;
    width: 100%;
}

.ot-search-input:focus{
    outline: none;
}

.search-dropdown-body{
    padding: 10px;
}

mark {
    background-color: mark;
    color: marktext;
    padding: 0;
}

.ot-search-option{
    padding: 10px;
    border-bottom: 1px solid #f1f5f8;
    cursor: pointer;
    color: #1a1a1a;
}

.ot-search-option:last-child{
    border-bottom: none;
}

.ot-counter-wrap{
    display: flex;
    gap: 5px;
}

.ot-counter-btn{
    width: 35px;
    height: 35px;
    background: #3F51B5;
    border-radius: 4px;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ot-counter-inactive{
    background: #aaa;
    cursor: default;
}

.ot-counter-input {
    width: 80px;
    height: 35px;
    border: 1px solid #b9c7cd;
    border-radius: 4px;
    padding: 0 10px;
}

.ot-counter-input:focus{
    border: 1px solid #1a1a1a;
}

.ot-button-wrap{
    justify-content: flex-end;
}

.remove-row-btn {
    width: 34px;
    height: 34px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    background: #f1f5f8;
    transition: all 0.2s ease;
}

.remove-row-btn:hover{
    color: #f44336;
}








.error-wrap{
    font-size: 13px;
    font-weight: 500;
    color: #f44336;
    margin-bottom: 10px;
    display: none;
}

.button-loading{
    cursor: default;
    background: #aaa;
}