/*@font-face{
    font-family:Chillax;
    src:url(../fonts/Chillax-Medium.ttf) format("truetype");
    font-weight:600;
}

@font-face{
    font-family:Chillax;
    src:url(../fonts/Chillax-Regular.ttf) format("truetype");
    font-weight:400;
}
*/
@font-face{
    font-family:Chillax;
    src:url(../fonts/Chillax-Variable.ttf) format("truetype");
}
@font-face{
    font-family:SourceSans3;
    src:url(../fonts/SourceSans3-Bold.ttf) format("truetype");
    font-weight:700;
}

@font-face{
    font-family:SourceSans3;
    src:url(../fonts/SourceSans3-SemiBold.ttf) format("truetype");
    font-weight:600;
}

@font-face{
    font-family:SourceSans3;
    src:url(../fonts/SourceSans3-Medium.ttf) format("truetype");
    font-weight:500;
}

@font-face{
    font-family:SourceSans3;
    src:url(../fonts/SourceSans3-Regular.ttf) format("truetype");
    font-weight:400;
}

@font-face{
    font-family:SourceSans3;
    src:url(../fonts/SourceSans3-Light.ttf) format("truetype");
    font-weight:300;
}

@font-face{
    font-family:SourceSans3;
    src:url(../fonts/SourceSans3-BoldItalic.ttf) format("truetype");
    font-weight:700;
    font-style: italic;
}

@font-face{
    font-family:SourceSans3;
    src:url(../fonts/SourceSans3-MediumItalic.ttf) format("truetype");
    font-weight:500;
    font-style: italic;
}

@font-face{
    font-family:SourceSans3;
    src:url(../fonts/SourceSans3-Italic.ttf) format("truetype");
    font-weight:400;
    font-style: italic;
}

@font-face{
    font-family:SourceSans3;
    src:url(../fonts/SourceSans3-LightItalic.ttf) format("truetype");
    font-weight:300;
    font-style: italic;
}

@font-face{
    font-family:kenteken;
    src:url(../fonts/kenteken.woff2) format("woff2");
    font-weight:300;
    font-style: italic;
} 

/*
Light orange: #ED8B00
Mid orange: #F06400
Blood orange: #EE4C14

Secondary
Green	#009A17
Fresh green: #A9C90E
Aqua blue: #00B1AF
Petrol blue: #004A5D
Steel: #545656

*/
:root {
    --light-orange: #ED8B00;
    --mid-orange: #F06400;
    --blood-orange: #EE4C14;
    --sec-steel: #545656;
    --sec-green: #009A17;
    --ayv-sustainable-turquoise: #73D2D2;
    --ayv-serene-blue: #0F3549;
    --ayv-optimistic-yellow: #FFDC46;
    --ayv-freedom-white: #FFFFFF;
    --app-checkboxes: #009A17
}
body {
    /*font-family: SourceSans3,Arial,Helvetica,sans-serif;*/
    font-family:Chillax, Arial ,Helvetica,sans-serif;
    overflow: hidden;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: URL(../images/brand-image-07.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-repeat: no-repeat;  /* voorkomt herhaling */
    background-position: top center;
    background-attachment: fixed;
    animation: fadeFilter 1s ease 3s forwards;
}

@keyframes fadeFilter {
  from {
    filter: none;
  }
  to {
    filter: grayscale(100%) contrast(30%) brightness(0.5);
  }
}


h1,h2,h3,h4 {
    font-family:Chillax, Arial ,Helvetica,sans-serif;
    color: var(--ayv-serene-blue,black);
    font-weight: 600;
}

.navbar-brand{
    font-family:Chillax, Arial ,Helvetica,sans-serif;
    color: var(--ayv-serene-blue,black);
    font-weight: 600;
}

nav {
    border-radius: 0.5rem;
    margin-top: 1rem;
}
.progress-button {
    width: 18%;
    height: 4rem;

}
.tegelholder {
    margin-top:0.5rem;
    margin-bottom:5rem;
}
.tegel {
    background-color:white;
    border-radius:0.5rem;
    padding:0.5rem;
    opacity:0.9;
    margin-bottom: 0.5rem;
}
.tegel-help {
    background-color: var(--ayv-optimistic-yellow);
    color: var(--ayv-serene-blue);
    border-radius:0.5rem;
    padding:0.5rem;
    opacity:0.9;
    margin-bottom: 0.5rem;
}
.btn-unselected {
    background-color: #145070;
}
.btn-selected {
    background-color: var(--ayv-sustainable-turquoise);
}

#opstartlogo {
    display: flex;
    justify-content: center; /* Horizontaal centreren */
    align-items: center;     /* Verticaal centreren */
    height: calc(100vh - 10rem);           /* Gebruik de volledige hoogte van de viewport */
    width: 100%;             /* Gebruik de volledige breedte van de container */
    overflow: hidden;
}

#opstartlogo img {
    max-width: 100%;         /* Zorg ervoor dat de afbeelding niet groter is dan de breedte van de container */
    max-height: 100%;        /* Zorg ervoor dat de afbeelding niet groter is dan de hoogte van de container */
    object-fit: contain;     /* Zorg ervoor dat de afbeelding volledig zichtbaar is zonder te vervormen */
}

.btn_c {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 3rem;
    
}

.btn_c_login {
    background-image: url("../images/ayv_icon_LogIn_SBlue_288.png");
}

.btn_c_start {
    background-image: url("../images/ayv_icon_ConnectedCar_SBlue_288.png");
}

.btn_c_busy {
    background-image: url("../images/ayv_icon_Car_SBlue_288.png");
}

.btn_c_inspect {
    background-image: url("../images/ayv_icon_Research_SBlue_288.png");
}

.btn_c_finished {
    background-image: url("../images/ayv_icon_Agreement_SBlue_288.png");
}


.fase {
    opacity: 1;
    transition: opacity 0.5s ease-in-out; /* Dit is nog steeds handig voor andere animaties */
    animation-duration: 0.5s;  /* Duur van de animatie */
}

.fade-out {
    animation: fadeOut 0.5s forwards; /* Speelt fade-out animatie af */
}

.fade-in {
    animation: fadeIn 0.5s forwards; /* Speelt fade-in animatie af */
}

/* Keyframes voor fade-out */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Keyframes voor fade-in */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.progress-buttons {
    display:none;
}

.kentekenhold {
    background-color: #f5ce00;
    border: 1px solid black;
    border-radius: 5px;
    padding: 2px;
    position: relative;
    display: inline-flex;
}
.kentekenhold::before {
    content: " ";
    width: 20px;
    height: 40px;
    position: relative;
    background-color: rgb(38 98 162 / var(--tw-bg-opacity, 1));
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/kenteken-eu-nl.svg);
    background-size: 60% auto;
}
#enterkentekenid{
    text-transform: uppercase;
    font-family: kenteken, monospace;
    font-size: 30px;
    width: 180px;
    text-align: center;
    background-color: transparent;
    border: none;
    height: 40px;
    color: black;
}                      
.tegel h1 {
    font-size: 1.25rem;
}
.tegel td:nth-child(2){
    font-weight: bold;
}

.app-scroller {
    overflow: auto;
    height: calc(100vh - 80px);
}

#appDialog {
  border: none;
  border-radius: 16px;
  padding: 20px;

  /* fullscreen met marge */
  width: calc(100vw - 4rem);
  /*height: calc(100vh - 8rem);*/

  max-width: none;
  max-height: none;

 /* margin: 2rem; /* zorgt voor de ruimte rondom */

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* backdrop blijft hetzelfde */
#appDialog::backdrop {
  background: var(--ayv-serene-blue);
  opacity: 0.4;
  backdrop-filter: blur(3px);
}

#dialogHold {
    max-height: calc(100vh - 8rem - 5rem);
    overflow: scroll;
}
#dialogBut button {
    width: 100%;
}


/* 1. Basis (unchecked) */
.btn-check + .btn-outline-secondary {
    background-color: transparent;
    color:var(--app-checkboxes);
}

/* 2. Checked = gevuld (BELANGRIJK: deze moet winnen) */
.btn-check:checked + .btn-outline-secondary {
    background-color: var(--app-checkboxes);
    color: #fff;
    border-color:var(--app-checkboxes);
}

/* 3. Focus = alleen outline/shadow, GEEN background override */
.btn-check:focus + .btn-outline-secondary {
    box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25);
}

/* 4. Cruciaal: combinatie checked + focus opnieuw expliciet zetten */
.btn-check:checked:focus + .btn-outline-secondary {
    background-color: var(--app-checkboxes);
    color: #fff;
}

#huidigetijd {
    display:none;
}
#tijdmelding {
    margin-left: 5px;
    font-weight: normal;
}

.telbut {
    position: relative;
    transform: translateY(0) scale(1);
    transition: transform 2s ease;
}

.telbut.start {
    transform: translateY(-30vh) scale(2);
    animation: glowPulse 1.5s infinite;
    animation-delay: 3s; /* pas na scale animatie */
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 0px rgba(0, 123, 255, 0);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
    }
    100% {
        box-shadow: 0 0 0px rgba(0, 123, 255, 0);
    }
}