
/* Root */
:root {
  --bg-color-1: #12026F;
  --bg-color-2: #DDDDDD;
  --bg-color-3: #F8F8F8;
  --bg-color-4: #ECECEC;
  --bg-color-5: #2F2F2F;
  --bg-color-6: #444444;
  --bg-color-7: #272727;
  --bg-color-8: #5b5b5b;
  --content-bg: #F2F2F2;
  --status-green: #00B600;
  --status-orange: #FFBB00;
  --status-red: #FF0000;
  --status-grey: #626262;
  --black: #000000;
  --white: #FFFFFF;
  --font-family: sans-serif;
}
* {
  box-sizing: border-box;
} 
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden; 
  position: relative;
  user-select: none;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  background-color: white;
    min-width: 1023px;
}




/* Header */
.header {
    position: relative;
    background: var(--bg-color-1);
    height: 48px;
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 101;
}
.header h1 {
    color: white;
    font-size: 25px;
    margin: 0;
    padding: 0;
}
.header .overview-icon {
    position: absolute;
    left: 10px; /* afstand van de rechterkant */
    top: 50%;
    transform: translateY(-50%); /* verticaal centreren */
    height: 25px; /* optioneel: pas formaat aan */
    cursor: pointer;
}
.header .admin-icon {
    position: absolute;
    left: 10px; /* afstand van de rechterkant */
    top: 50%;
    transform: translateY(-50%); /* verticaal centreren */
    height: 25px; /* optioneel: pas formaat aan */
    cursor: pointer;
}
.header .exit-icon {
    position: absolute;
    right: 10px; /* afstand van de rechterkant */
    top: 50%;
    transform: translateY(-50%); /* verticaal centreren */
    height: 25px; /* optioneel: pas formaat aan */
    cursor: pointer;
}
.header .settings-icon {
    position: absolute;
    right: 50px; /* afstand van de rechterkant */
    top: 50%;
    transform: translateY(-50%); /* verticaal centreren */
    height: 25px; /* optioneel: pas formaat aan */
    cursor: pointer;
}
.header .email-icon {
    position: absolute;
    right: 90px; /* afstand van de rechterkant */
    top: 50%;
    transform: translateY(-50%); /* verticaal centreren */
    height: 25px; /* optioneel: pas formaat aan */
    cursor: pointer;
}
.header .download-icon {
    position: absolute;
    right: 130px; /* afstand van de rechterkant */
    top: 50%;
    transform: translateY(-50%); /* verticaal centreren */
    height: 25px; /* optioneel: pas formaat aan */
    cursor: pointer;
}
.header .adminsettings-icon {
    position: absolute;
    right: 170px; /* afstand van de rechterkant */
    top: 50%;
    transform: translateY(-50%); /* verticaal centreren */
    height: 25px; /* optioneel: pas formaat aan */
    cursor: pointer;
}
.header img:hover {
  opacity: 0.8;
}

.header > div {
  height: 100%;
}
.header .admin-view-block {
  height: 40px;
  width: auto;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.header .admin-view-block h1 {
  font-size: 20px;
}
.header .admin-view-block span {
  font-size: 12px;
}


.login-header-bar {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 10px;
}
.login-header-bar h1 {
  justify-self: center;
  margin: 0;
  color: white;
  font-size: 22px;
  line-height: 1;
}
.login-header-spacer {
  width: 1px;
  height: 1px;
  justify-self: start;
}
.header-language-switcher {
  position: relative;
  justify-self: end;
  margin-left: auto;
  display: flex;
  align-items: center;
}
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 30px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: white;
  border-radius: 10px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(6px);
  line-height: 1;
}
.language-toggle:hover {
  background: rgba(255,255,255,0.18);
}
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 6px;
  display: none;
  z-index: 200;
}
.language-menu.open {
  display: block;
}
.language-menu button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #222;
}
.language-menu button:hover,
.language-menu button.active {
  background: #f2f4f7;
}


.header-inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}








.admin-view-text {
  font-size: 14px;
  color: #fff; 
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Content */
.content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  width: 100%;

  background-image: url('/static/icons/background-login.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
}

  

/* Footer */
.footer {
    background:  var(--bg-color-2);
    height: 40px;
    flex-shrink: 0; /* voorkomt dat ze krimpen */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    z-index: 101;

}
.footer .copyright {
    font-size: 14px;
    color: #afafaf; /* Grijs */
    font-style: italic;
    display: block;
    margin-left: 25px;
}
.footer a{
  margin-right: 25px;
  height: 40%;
  display: flex;
  justify-items: center;
  align-items: center;
}
.footer img{
  height: 100%;
}


/* Loader overlay */
.loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0; /* geen padding op overlay */
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  z-index: 1000;

  opacity: 0;
  transform: scale(0.95);
  animation: fadeIn 0.4s forwards;
}

.spinner {
  width: 5vw;      /* 10% van de viewport width */
  height: 5vw;     /* altijd vierkant */
  max-width: 50px;  /* optioneel, niet te groot */
  max-height: 50px;
  min-width: 30px;  /* optioneel, niet te klein */
  min-height: 30px;
  border-radius: 50%;
  border: 5px solid var(--bg-color-4);
  border-top-color: var(--bg-color-6);
  animation: spin 1s linear infinite, glow 1.5s ease-in-out infinite;
  margin-bottom: 10px;
}

/* Fade-in keyframes */
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Fade-out class */
.loader.fade-out {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.4s ease, transform 0.4s ease;
}


/* Rotate */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Glow pulse */
@keyframes glow {
  0% { box-shadow: 0 0 2px var(--bg-color-6); }
  50% { box-shadow: 0 0 12px var(--bg-color-6); }
  100% { box-shadow: 0 0 2px var(--bg-color-6); }
}










/* ===================== */
/* Webkit browsers       */
/* Chrome, Edge, Safari  */
/* ===================== */
::-webkit-scrollbar {
    width: 6px;               /* breedte van de scrollbar */
    height: 6px;              /* hoogte voor horizontale scrollbars */
}

::-webkit-scrollbar-track {
    background: transparent;  /* track onzichtbaar */
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3); /* kleur van de 'thumb' */
    border-radius: 3px;                 /* afgeronde randen */
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,0.5); /* hover effect */
}

/* ===================== */
/* Firefox                */
/* ===================== */
* {
    scrollbar-width: thin;                          /* dunne scrollbar */
    scrollbar-color: rgba(0,0,0,0.3) transparent;  /* thumb en track kleur */
}



