* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --purple: #70479b;
    --purpledark: #44326d;
    --purplelight: #f7f3ff;
    --yellow: #f8b82e;
    --grey: #f2f2f2;
    --black: #1a1a1a;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
}

label{
    display: block;
    font-size:13px;
    font-weight: bold;
}

input, select, textarea{
    border:1px solid #CCC;
    width: 100%;
    height: 40px;
    background:#FFF;
    line-height: 34px;
    margin-top:5px;
    border-radius: 6px;
    padding:5px 10px;
}

textarea{
    height: 100px;
    line-height: 20px !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    background-color: transparent !important;
    color: #000 !important;
    box-shadow: 0 0 0px 1000px white inset !important;
}

input[type=checkbox]{
    float:left;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-top:-2px;
    margin-right:5px;
}

/* TABLE */
table{
    width: 100%;
    border-collapse:collapse;
}

td::first-letter {
    text-transform: uppercase;
}

tbody tr{
    background:#FFFF;
    border-radius: 8px;
    border-bottom:1px solid #CCC;
}

thead tr{
    font-weight: bold;
}

td{
    padding:10px;
    max-width: 250px;
}

a{
    text-decoration: none;
    color:var(--purpledark);
}

h2{
    margin-bottom:10px;
}

h3{
    margin-top:20px;
    margin-bottom:10px;
}

.no-margin{
    margin:0px !important;
}

.link{
    font-weight: 900;
}

.img-radius{
    border-radius:100%;
    width:60px; 
    height: 60px; 
    overflow:hidden;
}

.img-radius-large{
    width:100px !important;
    height: 100px !important;
}

.img-radius img{
    width: 100%
}

/* SEARCHBOX */
#search-results{
    position: absolute;
    display: none;
    top: 50px;
    width: 100%;
    min-height: 100px;
    background: #FFF;
}

#search-results ul{
    margin: 0px;
    padding: 0px;
    list-style: none;
}

#search-results img{
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

#search-results li{
    border-bottom: 1px solid #CCC;
    padding: 10px 20px;
}

#search-results li:hover{
    background: #fdfdfd;
}

#search-results a{
    text-decoration: none;
}

#search-results .grid-2-reverse{
    grid-template-columns: 1fr 6fr;
}


/* OVERLAY */
.overlay{
  position: fixed;
  overflow-y: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 650px;
  max-height: 90%;
  background-color: white;
  padding: 40px;
  border: 1px solid #ccc;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
  width: 100%;
}

.overlay select{
  background: #eef2f5;
}

.ui-state-highlight{
  margin-top: 0px;
}

.overlay p{
  color: CCC;
  font-size: 16px;
}
.overlay-bg{
  position: fixed;
  left:0px;
  cursor: pointer;
  top:0px;
  width: 100%;
  height: 100%;
  background:rgba(68, 50, 109, 0.7);
  z-index: 10;
  display: none;
}

.overlay-title{
  border-bottom: 1px solid #CCC;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.overlay-bg:after{
  content: 'X';
  font-size: 21px;
  font-weight: bold;
  color: #FFF;
  position: fixed;
  top: 50px;
  right: 50px;
}

/* HORIZONTAL FILTER */
.filters{
    margin-top:40px;
    border-bottom: 3px solid #FFF;
    padding: 0px;
    list-style: none;
    font-weight: 600;
    color: #7c7f8a;
    position: relative;
}

.filters li{
    display: inline-block;
    vertical-align: bottom;
    padding: 10px 20px;
    position: relative;
    margin-bottom: -3px;
}

.filters a{
    color:var(--black);
}

.filter-active{
    border-bottom: 3px solid var(--purple);
    color: var(--purple);
}

.filter-active a{
    color:var(--purpledark);
}
/* LABELS */
.status{
    width: 10px;
    height: 10px;
    border-radius: 100%;
    display: inline-block;
    background:#efefef;
}
.label{
    display: inline-block;
    vertical-align: middle;
    border-radius: 20px;
    background: var(--purpledark);
    cursor: pointer;
    color: #FFF;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 1.4;
    font-weight: bold;
    padding: 7px 15px;
    float: right;
}
.live { 
    background: #dff4d8; /* Zeer lichte groentint */
    color: #226622; /* Donkergroen voor contrast */
}

.cancelled { 
    background: #f5f5f5; /* Zeer lichte grijstint */
    color: #555555; /* Donkergrijs voor contrast */
}

.pending { 
    background: #ffeedb; /* Zachte, lichte oranje tint */
    color: #d65f00; /* Warme, diepe oranje kleur met goed contrast */
}

.processing { 
    background: #e8d9f4; /* Zeer lichte paarse tint */
    color: #5a2b85; /* Donkerpaars voor contrast */
}

.offline { 
    background: #fce1de; /* Zeer lichte roodtint */
    color: #9c2f20; /* Donkerrood voor contrast */
}

/* PRODUCT */
.product{
    position: relative;
}

.product .label{
    position: absolute;
    widows: 100%;
    left:10px;
    bottom:10px;
}

.product .label a{
    color:#FFF;
}

/* CHART */

#myChart {
    max-width: 100% !important;
    max-height: 400px !important;
    height: 400px !important;
}

.align-center{
    text-align: center;
}

.big{
    color:var(--purple);
    font-size:32px;
    font-weight: bold;
    margin-bottom:20px;
}

.small{
    color:#CCC;
    margin-bottom:20px;
}

/* grids */
.grid{
  display: inline-grid;
  align-items: center;
  position: relative;
  grid-gap: 20px;
  width: 100%;
  margin-top:40px;
}

.grid-table{
  display: table;
}

.grid-stretch{
  justify-content: stretch;
  flex-wrap: wrap;
  flex-direction: column;
  align-self: flex-end;
}

.grid-stretch .part{
  align-self: stretch;
}

.grid-gap{
  grid-gap: 50px;
}

.wp-block-columns{
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.grid .wp-block-column{
  align-self: start !important;
}

.grid-top{
  justify-items: start !important;
  align-items: start !important;
  vertical-align: top !important;
}

.grid-bottom{
  justify-items: start;
  align-items: end;
}

.grid-large-gap{
  grid-gap: 60px;
}

.grid-3{
  grid-template-columns: 1fr 1fr 1fr;
}

.grid-4{
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid-2{
  grid-template-columns: 1fr 1fr;
}

.grid-2-1{
  grid-template-columns: 2fr 1fr;
} 

.grid-1-2{
  grid-template-columns: 1fr 2fr;
}

.grid-5{
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.grid-6{
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.grid-1-4{
    grid-template-columns: 1fr 4fr;
}

.order-info{

}

.order-info .part{
    padding:0px;

}

.order-info div{
    margin-bottom:5px;
}

.order-info div:first-letter {
    text-transform: uppercase;
}


.part{
    background:#FFF;
    padding:40px;
    border-radius: 12px;
}

.box{
    width: 100%;
    background: #FFF;
    margin: 0 auto;
    padding:40px;
    border-radius: 6px;
    margin-top: 20px;
}

/* ELEMENTS */
#print-area{
    display: none;
}
.button{
    background: var(--purple);
    color:#FFF;
    margin-top:20px;
    border:none;
}

.form{
    margin-top:20px;
}

.container {
    display: flex;
    height: 100vh;
    overflow:hidden;
}

.left, .right {
    width: 50%;
    height: 100vh;
}

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

#logo{
    max-width: 180px;
    margin-bottom:80px;
    display: inline-block;
}

.title{
    font-weight: bold;
}

.login-box {
    background: white;
    padding: 2rem;
    max-width: 400px;
    width: 100%
}

.login-box h2 {
    margin-bottom: 1rem;
}

.login-box label {
    display: block;
    margin-top: 10px;
}

.login-box button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 5px;
}

.login-box button:hover {
    background-color: #0056b3;
}

.right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Top Bar */
.top-bar {
    width: 100%;
    height: 50px;
    background-color: var(--purple);
    color: white;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Logo in de top bar */
.top-bar .logo {
    height: 20px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-left:40px;
    margin-right:100px;
    font-weight: bold;
    filter: brightness(0) invert(1);
}

/* Gebruikersinformatie in de top bar */
.top-bar .user-info {
    font-size: 16px;
    display: flex;
    align-items: center;
}

#search-container{
    display: inline-block;
    vertical-align: middle;
    width: 300px;
    position: relative;
}


/* Vaste navigatiebalk links */
.sidebar {
    width: 250px;
    height: 100vh;
    color: white;
    padding: 20px;
    position: fixed;
    top: 30px; /* Verplaats de sidebar naar beneden, zodat deze niet achter de top bar zit */
    left: 0;
    display: flex;
    flex-direction: column;
}

/* Scrollbare content aan de rechterkant */
.content {
    margin-left: 250px; /* Maak ruimte voor de sidebar */
    margin-top: 40px; /* Maak ruimte voor de top bar */
    padding: 50px;
    height: 100vh;
    overflow-y: scroll;
    width: 100%;
    background-color: var(--purplelight);
}

/* Standaard menu */
.menu {
    margin-top:50px;
    list-style: none;
}

.menu li {
    margin-bottom: 10px;
}

.menu svg{
    margin-right: 10px;
    height: 20px;
}

.menu li a {
    color: var(--black);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    width: 100%;
    box-sizing: border-box;
}

.menu-active{
    background:var(--purple);
    border-radius: 10px;
    color:#FFF;
    display: block;
}

.menu-active a{
    color:#FFF !important;
}

/* Ruimte tussen icoon en tekst */
.menu li a i {
    margin-right: 10px;  /* Voeg ruimte toe tussen het icoon en de tekst */
}

/* Hover-effect zonder spring-effect */
.menu li a:hover {
    color:var(--purple);
}

/* Uitklapbare menu's */
.menu .dropdown input {
    display: none;
}

.menu .dropdown label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--black);
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    width: 100%;
}

/* Hover-effect voor dropdown-labels zonder spring-effect */
.menu .dropdown label:hover {

}

/* Submenu standaard verbergen */
.menu .submenu {
    display: none;
    list-style: none;
    padding-left: 15px;
}

.menu .submenu li a {
    padding: 8px;
    display: block;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

/* Hover-effect voor submenu-items */
.menu .submenu li a:hover {
}

/* Toon submenu als checkbox is geselecteerd */
.menu .dropdown input:checked ~ .submenu {
    display: block;
}

/* TOOLTIP */
.tooltip-show:after{
    display: inline-block;
    vertical-align: middle;
    content:'i';
    width: 14px;
    margin-left:5px;
    height: 14px;
    background: var(--purplelight);
    text-align: center;
    line-height: 14px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 100%;
}
.tooltip{
    cursor: pointer;
    min-width: 80px;
}
.tooltip-extra{
    position: relative;
}

.tooltip-extra-bubble{
    display: none;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    background:var(--purple);
    color:#FFF;
    font-size:12px;
    font-weight: bold;
    white-space: nowrap;
    border-radius: 8px;
    bottom:30px;
    padding:5px 12px;
}
.tooltip-extra-bubble:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-color: var(--purple) transparent;
    border-width: 5px 5px 0;
    bottom: -5px;
    left: 50%;
    margin-left: -10px;
}
.tooltip:hover .tooltip-show{
  
}
.tooltip:hover .tooltip-extra-bubble{
    display: block;
    position: absolute;
}

.action{
   margin-left:20px;
   border-radius: 10px;
   padding:10px 20px;
   font-size:14px;
   cursor: pointer;
   color:#FFF;
   background:var(--yellow);
   display: inline-block;
   vertical-align: middle;
}

.specs{
    padding-top:5px;
}

.spec{
    border-radius: 20px;
    background: var(--purplelight);
    cursor: pointer;
    font-size: 10px;
    line-height: 1.4;
    display: inline-block;
    font-weight: bold;
    color:var(--purpledark);
    padding: 7px 15px;
    margin-right:5px;
}

/* BLZ */
.blz{
    margin-top:10px;
    text-align: center;
}

.blz li{
    display: inline-block;
    vertical-align: middle;
    line-height: 30px;
    border:1px solid var(--purple);
    background:var(--purplelight);
    border-radius: 4px;
    width:30px;
}

.blz-active{
    background:var(--purple) !important;
}

.blz-active a{
    color:#FFF !important;
}


/* PRINT */
 #print-area img{
    width:40px;
 }


/* GIFTBOX VIEW */

#giftscontainer{
    list-style: none;
    padding:0px;
    margin:0px;
}

#giftscontainer li{
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    cursor: pointer;
}

#giftscontainer li:hover{
    opacity: 0.9;
}

@media print {
    body * {
        visibility: hidden; /* Verberg alle elementen */
    }
    #order{
        display: none;
    }
    #print-area{
        display: block;
    }
    * {
        box-sizing: border-box;
    }
    #print-area, #print-area * {
        visibility: visible; /* Toon alleen het printgebied */
    }
    #print-area {
        position: absolute;
        left: 0;
        top: 0;
        margin:0px;
        padding:0px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        width: 100%;
         page-break-inside: avoid; /* Vermijd dat de inhoud wordt afgebroken */
        page-break-after: auto; /* Voeg geen extra pagina toe na de inhoud */
        height: auto; /* Zorg ervoor dat de inhoud zich aanpast aan de beschikbare ruimte */
        overflow: hidden; /* Verberg overbodige inhoud */
    }
    td{
        padding:0px;
    }

    tr{
        border: none !important;
    }
}