html {
    overflow-x: hidden;
}
@font-face {
  font-family: 'Poppins';
  font-weight: 200;
  src: url('/public/assets/fonts/Poppins/Poppins-ExtraLight.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 300;
  src: url('/public/assets/fonts/Poppins/Poppins-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  src: url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  src: url('/public/assets/fonts/Poppins/Poppins-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  src: url('/public/assets/fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 700;
  src: url('../fonts/Poppins/Poppins-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 800;
  src: url('/public/assets/fonts/Poppins/Poppins-ExtraBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 900;
  src: url('/public/assets/fonts/Poppins/Poppins-Black.ttf') format('truetype');
}
body {
	font-family: 'Poppins', sans-serif;
	font-weight: 400; /* Regular */
}
#wrapper #content-wrapper {
    overflow-x: inherit;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
	font-weight: 600; /* Regular */
}
img {
    max-width: 100%;
}
.hidden{
    display: none !important;
}
.show-password .password-hidden{
	display: none;
}
.toggle-password img{
	cursor: pointer;
}
.toggle-password .password-visible{
	display: none;
}
.toggle-password.show-password .password-visible{
	display: inherit;
}
.banner_bg {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 400vw;
    transform: translateX(0%);
    animation: AnimateBorder 20s linear infinite;
    display: flex;
    z-index: -1;
    
}
.banner_bg .copilot_bg_animation {
    background: url(/public/images/logged-out-background-scaled.webp) no-repeat;
    height: 100%;
    background-size: 100% 100%;
    width: 100%;
}
.banner_bg .copilot_bg_animation {
    background: url(/public/images/logged-out-background-scaled.webp) no-repeat;
    height: 100%;
    background-size: 100% 100%;
    width: 100%;
}
@keyframes AnimateBorder {
    0% {
        transform: translateX(0%)
    }
    100% {
        transform: translateX(-50%)
    }
}
.error {
    font-size: inherit;
}
html, body {
    width: 100%;
    color: #545454;
}
.sidebar .nav-item .nav-link .badge-counter, .topbar .nav-item .nav-link .badge-counter {
    transform: scale(0.85);
}
.sidebar .sidebar-brand {
    max-width: 150px;
}
.bg-gradient-primary {
    background-color: #fff;
    background-image: none;
    background-size: cover;
    border-right: 0px solid #eeeeee;
}
.navbar, .topbar.navbar {
    background: #fff;
}

#wrapper #content-wrapper{
	background-color: #f6f6f6;
}
.card {
    border: 0px solid #e3e6f0;
    border-radius: 1rem;
}
.border-radius-10{
    border-radius: 10px;
}
@media (min-width: 768px) {
    .sidebar .nav-item .nav-link span {
        display: inline;
        font-size: 1rem;
        font-weight: 400;
        color: #424242;
        vertical-align: middle;
    }
    .sidebar .nav-item .nav-link{
        padding: 10px 14px;
    }
}

.sidebar .nav-item.active > .nav-link .menu-title {
    color: #0b58fb !important;
}
.nav-item.active svg {
    filter: invert(29%) sepia(66%) saturate(3468%) hue-rotate(212deg) brightness(106%) contrast(104%);
}
.sidebar .nav-item{
    border-radius: 10px;
    border-left: 3px solid #fff;
}
ul#accordionSidebar li {
    transition: all .2s ease-in-out;
}
@media (min-width: 768px) {
	.side_navigation_icon{
	    margin-right: .5rem !important;
	}
	.sidebar .nav-item.active, .sidebar .nav-item:hover {
	    background: #f3f7ff !important;
	    border-left: 3px solid #0b58fb;
	}
	ul#accordionSidebar li {
	    margin: 0 20px 4px;
	}
    .sidebar.toggled {
        overflow: visible;
        width: 14rem !important;
    }
    .sidebar.toggled .nav-item .nav-link{
        text-align: left;
        width: 14rem;
        padding: 10px 14px;
    }
    .sidebar.toggled.minimized .nav-item .nav-link{
        width: 55px;
    }
    .sidebar.toggled .nav-item .nav-link span{
    	display: inline;
    	font-size: 1rem;
    }
    #wrapper #content-wrapper{
        max-width: calc(100% - 14rem);
    }
}
.product-price {
    font-weight: bold;
}
span.currency {
    font-size: x-small;
    vertical-align: super;
    font-weight
}
.quantity-div{
    display: flex;
    justify-content: flex-end;
}
input.quantity-input {
    width: 50px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
}
button.quantity-remove, button.quantity-add {
    border-radius: 50px;
    border: 0;
    width: 28px;
    height: 28px;
}
.order-totals {
    background: #a9aded21;
    padding: 15px;
    border-radius: 10px;
}
.order-item .product-title {
    font-weight: bold;
    clear: both;
}
.order-item .item-price {
    font-weight: bold;
    float: right;
}
.item-quantity-div {
    float: left;
}
.order-item {
    border-bottom: 1px solid #f6f6f6;
    float: left;
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 10px;
    position: relative;
}
.order-item.order-item-child {
    margin-top: 10px;
    border: 0;
    margin-bottom: 0;
}
.order-item-menu{
    position: absolute;
    right: 50%;
    z-index: 99;
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-right: -12.5%;
    top: -90px;
}

.order-item-menu::before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid rgb(255 255 255);
    width: 0;
    height: 0;
    -webkit-filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.12));
    margin-left: -12.5%;
}

.choose_payment_method{
    transition: all .3s ease-in-out;
}
.choose_payment_method:hover{
    background: #a9aded21;
    cursor: pointer;
}

div#search-for-customer-result {
    position: relative;
}
ul.customer_search_result {
    list-style: none;
    position: absolute;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    padding: 8px 12px;
    border-radius: 8px;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 99;
}
li.select_customer {
    padding: 4px 0;
    cursor: pointer;
}
#show_add_new_customer{
  margin-top: 2px;
  display: none !important
}
#customer_details{
  cursor: pointer;
}
.booking-details.small.text-muted {
    clear: both;
}
/* Kalender */
.calendar-table-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
    margin-right: 50px;
    position: relative;
}

#time-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: red;
    z-index: 50;
    pointer-events: none;
    transition: top 0.5s linear; /* smooth movement */
}


.calendar-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: max-content;
    margin-right: 200px;
}

.calendar-table th,
.calendar-table td {
    border: 1px solid #ddd;
    padding: 0px;
    min-width: 90px;
    height: 35px;
    max-width: 120px;
}

.calendar-table th {
    background-color: #f8f9fc;
    color: #333;
}
.calendar-table td[data-status="inactive"]{
    background: #d8a9a9;
}

.calendar-table td[data-status="hidden_public"] {
    background: #dedede;
}

.booking-block {
    background-color: #bcbcbc;
    color: white;
    font-size: 0.75rem;
    border-radius: 4px;
    padding: 2px 4px;
    margin: 6px;
    height: -webkit-fill-available;
    cursor: pointer;
}
.booking-block-text{
    overflow: hidden;
    display: block;
}
.booking-block.payment-status-paid, .booking-block.payment-status-invoice {
    background-color: #177217;
}
.booking-block.payment-status-unpaid {
    background-color: #efe855;
    color: black;
}
.booking-block.payment-status-partly_paid {
    background-color: #1b54cb;
}
.booking-block.payment-status-cancelled {
    background: #d93737;
}
.booking-block.payment-status-kitchen {
    background-color: #d2720c;
}
/* Tilstødende bookings skal hænge visuelt sammen */
.booking-block.stacked-top {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.booking-block.stacked-bottom {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 0;
    padding-top: 0;
}
.booking-block.stacked-left {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: 0;
}
.booking-block.stacked-right {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: 0;
}
.calendar-slot:hover {
  cursor: pointer;
  background-color: #eaf0ff;
}
.selected-slot {
  background-color: #cfe2ff !important;
  border: 2px solid #4e73df;
}
/* // kalender */

#modalLoader{
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding-top: calc(50vh - 100px);
}
#modalLoader.show{
    display: block;
}
img.history-back {
    border-radius: 8px;
    height: 39px;
    margin-top: -4px;
    transition: all .3s ease-in-out;
    border: 1px solid #e5e5e500;
}
img.history-back:hover {
    background: #ebebeb;
    border: 1px solid #e5e5e5;
    cursor: pointer;
}
.modal.show {
    display: block;
}
.terminal-payment-modal {
    background: rgb(0 0 0 / 30%);
    text-align: center;
    padding-top: calc(50vh - 100px);
}
.modal-content, .modal.show .modal-dialog{
    border-radius: 20px;
    border: 0;
}
.modal.show .modal-dialog {
    transform: none;
    background: rgb(255 255 255);
    text-align: center;
    z-index: 1100;
}
button.keyboard_number {
    background: #f3f5f6;
    border: 0;
    border-radius: 20px;
    width: 100%;
    padding: 20px;
    margin: 8px 0;
    font-size: 1.2rem;
}
button.keyboard_number:hover, button.keyboard_number:active, button.keyboard_number:focus {
    background: #d9dee2;
}

.keyboard_display {
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    border-radius: 20px;
    background: #f3f5f6;
    border: 0;
    margin-bottom: 10px;
    font-size: 1.8rem;
}
#order-calendar-wrapper {
    position: fixed;
    top: 0;
    background: white;
    width: calc( 100% - 100px);
    left: 0;
    z-index: 999;
    padding: 50px;
    margin: 50px !important;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow-y: scroll;
    max-height: calc(100vh - 100px);
    max-width: 1150px;
}
@media (max-width: 1023px){
    #order-calendar-wrapper {
        width: calc( 100% - 20px);
        padding: 20px;
        margin: 10px !important;
        max-height: calc(100vh - 20px);
    }
}

.more-menu{
    position: absolute;
    right: 24px;
    top: 140px;
    z-index: 99;
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    display: none;
}
#order_comment {
  min-height: 1.5em; 
  resize: none;
  overflow-y: hidden;
  transition: min-height 0.2s ease;
}

.new-order-product {
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.open-child-category.active {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
}
.open-child-category {
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.booking-tooltip-icon {
    cursor: pointer;
    margin-left: 4px;
    font-size: 16px;
    position: relative;
}

/* Tooltip container */
.booking-tooltip-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 30px;
    left: -20px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: pre-line;
    font-size: 14px;
    z-index: 9999;
    width: max-content;
    max-width: 250px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    animation: fadeIn 0.1s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-3px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sidebar.minimized .menu-title{
    display: none !important;
}
.sidebar.minimized{
    width: 58px !important;
}
.sidebar.minimized .nav-item {
    border-radius: 0px;
}
ul.sidebar.minimized#accordionSidebar li {
    margin: 0 0px 4px;
}
.sidebar-minimized .sidebar-brand.pl-4 {
    padding-left: 7px !important;
    padding-right: 7px !important;
}

/* Gør col-9 sticky */
@media (min-width: 992px){
    .sticky-content {
      position: sticky;
      top: 20px;
      height: 100vh;   
      overflow-y: auto;
      z-index: 5;      
    }
}
@media (max-width: 992px){
    .sidebar .nav-item .nav-link {
        width: 3rem;
        padding: .75rem 0;
    }
}
/* Sikrer at col-3 bare scroller normalt */
.sidebar-long {
  overflow: visible;
}
tr.unpaid {
    background: #4e73df12;
}