:root {

  --bg-color: #293038;
  --primary-color: #fff;
  --secondary-color: #7d8a98;

}

/*var(--bg-color)*/

@font-face {
    font-family: 'CircularProBook';
    font-style: normal;
    font-weight: 400;
    src: url("./ext/fonts/CircularProBook.woff");
/*    src: url("./ext/fonts/CircularProBook.woff") format("woff"),url("/fonts/CircularPro-Book.otf") format("opentype"),url("/fonts/CircularProBook.svg") format("svg"),url("/fonts/CircularProBook.ttf") format("ttf")*/
}

@font-face {
    font-family: 'CircularProBook';
    font-style: normal;
    font-weight: 700;
    src: url("./ext/fonts/CircularProBold.woff");
/*    src: url("./ext/fonts/CircularProBold.woff") format("woff"),url("/fonts/CircularPro-Bold.otf") format("opentype"),url("/fonts/CircularProBold.svg") format("svg"),url("/fonts/CircularProBold.ttf") format("ttf")*/
}


html {
  height: -webkit-fill-available;
}

body {
  background-color: var(--bg-color);
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  margin:0;
  padding:0;
}

.container {
  position: absolute;
  top: 50%; left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
#profielfoto {
  display: none;
  max-width: 100%;
  height: auto;
}
#dummyCanvas {
  display: none;
}
.thumb {
  width: 20px;
  height: 20px;
  cursor: pointer;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  /* transition: all 0.2s ease; */
}

.thumb[data-color="groen"] {
  background-color: #83854a;
}

.thumb[data-color="oranje"] {
  background-color: #da6433;
}

.thumb[data-color="paars"] {
  background-color: #9a6788;
}

.thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#thumbs {
  text-align: center;
  padding: 15px 0;
  height: auto;
}




#cropper {
  display: none;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

#uploadfile {
  width: 300px;
  height: 494px;
  border: 2px dashed var(--primary-color);
  border-radius: 10px;
  margin: auto;
  text-align: center;
  display: flex;
  align-items: center;
  padding: 50px;
  box-sizing: border-box;
  /* transition: all .3s; */
}

#uploadfile:hover {
  cursor: pointer;
}

#uploadfile h1 {
  font-family: CircularProBook, sans-serif !important;;
  font-weight: 700;
  
  text-align: center;
  color: var(--primary-color);
  font-size: 1.3em;
  width: 100%;

}

#uploadfile p {
  font-family: CircularProBook, sans-serif !important;;
  font-weight: 400;

  text-align: center;
  color: var(--secondary-color);
  font-size: .8em;
  width: 100%;
  margin-top: 20px;
}

.hilight {
  background-color: #FFF;
}

#foto_input{
  display: none;
}

#buttons {
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.button, .modal-button {
  font-family: CircularProBook, sans-serif !important;
  font-weight: 400;
  color: #fff;
  padding: 11px 20px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.1rem;
  opacity: .9;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
}

.button:hover {
  opacity: 1;
}

.button i {
  font-size: 1.2rem;
}

#done {
  background-color: var(--primary-color);
  color: #00743c;
}

#back {
  background-color: var(--secondary-color);
  color: var(--bg-color);
}

#help {
  background-color: var(--secondary-color);
  color: var(--bg-color);
}

#actionsoverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-family: CircularProBook, sans-serif;
}

.actions-content {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
  width: 400px;
}

.actions-content h2 {
  color: var(--primary-color);
  font-family: CircularProBook, sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
}

.actions-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.actions-buttons .button {
  /* width: 100%; */
  background-color: var(--primary-color);
  color: #00743c;
}

.actions-buttons .button:hover {
  opacity: 1;
}

/* Primaire actie knoppen */
.primary-actions .button {
  background-color: var(--primary-color);
  color: #00743c;
}

/* Secundaire actie knoppen */
.secondary-actions .button {
  background-color: var(--secondary-color);
  color: var(--bg-color);
}

/* Specifieke knop styling indien nodig */
#tv {
  background-color: var(--primary-color);
  color: #00743c;
}

#print {
  background-color: var(--primary-color);
  color: #00743c;
}

#use {
  background-color: var(--primary-color);

  color: #00743c;
}
/* #use:hover {
 background-color: var(--secondary-color);
} */


/*#kk {
    width: 377px;
    height: 377px;
    position: absolute;
    border: 2px solid var(--bg-color);
    z-index: 1000;
    pointer-events: none;
}*/

#helpoverlay {
  width: 400px;
  height: 594px;
  z-index: 9999;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}

#helpbg {
  background-color: var(--bg-color);
  background-image: url(help.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 400px 594px;
  opacity: .8;
  height: 100%;
  width: 100%;
  z-index: 9998;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}

/********** Range Input Styles **********/
/*Range Reset*/
input[type="range"] {
   -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 15rem;
}

/* Removes default focus */
input[type="range"]:focus {
  outline: none;
}

/***** Chrome, Safari, Opera and Edge Chromium styles *****/
/* slider track */
input[type="range"]::-webkit-slider-runnable-track {
   background-color: var(--secondary-color);
   border-radius: 0.5rem;
   height: 0.5rem;  
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
   appearance: none;
   margin-top: -8px; /* Centers thumb on the track */

   /*custom styles*/
   background-color: var(--primary-color);
   height: 1.5rem;
   width: 1.5rem;
}

input[type="range"]:focus::-webkit-slider-thumb {   
  border: 1px solid var(--secondary-color);
  outline: 3px solid var(--secondary-color);
  outline-offset: 0.125rem; 
}

/******** Firefox styles ********/
/* slider track */
input[type="range"]::-moz-range-track {
   background-color: #053a5f;
   border-radius: 0.5rem;
   height: 0.5rem;
}

/* slider thumb */
input[type="range"]::-moz-range-thumb {
   border: none; /*Removes extra border that FF applies*/
   border-radius: 0; /*Removes default border-radius that FF applies*/

   /*custom styles*/
   background-color: var(--primary-color);
   height: 1.5rem;
   width: 1.5rem;
}

input[type="range"]:focus::-moz-range-thumb {
  border: 1px solid #053a5f;
  outline: 3px solid #053a5f;
  outline-offset: 0.125rem; 
}

/* Modal Styles */
.modal {
    position: relative;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container {
    position: relative;
    width: 150px;
    height: 223px;
    margin: 0 auto 20px;
    transform: rotate(-5deg);
    background-color: var(--primary-color);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0px 4px 5px 0px #0000004f;
}

.center-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 1;
}

.section {
    margin-top: 1rem;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
}

.checkbox-btn {
    display: flex;
    align-items: center;
    padding: .7rem;
    background-color: var(--secondary-color);
    border-radius: 8px;
    cursor: pointer;
    /* transition: all 0.3s ease; */
    font-family: CircularProBook, sans-serif;
    color: var(--bg-color);
    border: 2px solid transparent;
    min-width: 120px;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
}

.checkbox-btn:hover {
    border-color: var(--primary-color);
}

.checkbox-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.checkbox-btn .checkbox-icon {
    font-size: 1.2rem;
    /* transition: all 0.3s ease; */
    opacity: 1;
    order: 2;
}

.checkbox-btn .checkbox-icon.checked {
    display: none;
    opacity: 0;
}

.checkbox-btn.active .checkbox-icon:not(.checked) {
    display: none;
    opacity: 0;
}

.checkbox-btn.active .checkbox-icon.checked {
    display: inline-block;
    opacity: 1;
}

.checkbox-btn label {
    font-size: 1.1rem;
    cursor: pointer;
    font-family: CircularProBook, sans-serif;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    order: 1;
}

.checkbox-btn label i {
    font-size: 1.2rem;
}

.buttons-container {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

/* .modal-button {
    font-family: CircularProBook, sans-serif !important;
    font-weight: 400;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.1rem;
    opacity: .9;
    min-width: 120px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
} */

.modal-button:hover {
    opacity: 1;
}

.modal-button.cancel {
    background-color: var(--secondary-color);
    color: var(--bg-color);
}

.modal-button:not(.cancel) {
    background-color: var(--primary-color);
    color: #00743c;
}

/* Permission Popup Styles */
.permission-section {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.permission-modal {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    font-family: CircularProBook, sans-serif;
    margin: 20px;
}

.permission-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333;
    font-family: CircularProBook, sans-serif;
}

.permission-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.permission-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    /* transition: background-color 0.3s ease; */
    font-family: CircularProBook, sans-serif;
    border: none;
}

.btn-yes {
    background-color: #006400;
    color: white;
}

.btn-yes:hover {
    background-color: #004d00;
}

.btn-no {
    background-color: #f5f5f5;
    color: #333;
}

.btn-no:hover {
    background-color: #e0e0e0;
}

/* Loader en bevestiging stijlen */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  font-family: CircularProBook, sans-serif;
  margin: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.loader-container i {
  font-size: 2rem;
  color: var(--bg-color);
}

.loader-text {
  font-size: 1.4rem;
  color: #333;
  margin-top: 1rem;
}

.confirmation-container, .error-container {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  font-family: CircularProBook, sans-serif;
}

.confirmation-icon, .error-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.confirmation-icon i {
  color: #006400;
}

.error-icon i {
  color: #d9534f;
}

.confirmation-text, .error-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #333;
}

.confirmation-button button, .error-button button {
  font-family: CircularProBook, sans-serif !important;
  font-weight: 400;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.1rem;
  min-width: 120px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  background-color: var(--primary-color);
  color: #00743c;
}

.confirmation-button button:hover, .error-button button:hover {
  opacity: 0.9;
}


