html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    /*margin-bottom: 60px;*/
}

.button-zwart {
    color: black;
    background-color: transparent !important;
    border: none !important;
    padding: 0.5em 1em;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font: inherit;
}

    .button-zwart:hover,
    .button-zwart:active {
        color: #8fb96a;
    }

.btn-primary {
    background-color: #8fb96a;
    border-color: #8fb96a;
    color: black;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary:active:focus {
        background-color: #7aa95a; /* iets donkerder voor hover/active */
        border-color: #7aa95a;
        box-shadow: 0 0 0 0.2rem rgba(143, 185, 106, 0.25) !important;
    }

.k-checkbox:checked, .k-checkbox.k-checked {
    border-color: #8fb96a !important;
    color: #8fb96a !important;
    background-color: #8fb96a !important;
}

.k-grid .k-command-cell > .k-button {
    background-color: #8fb96a;
    border-color: #8fb96a;
    color: black;
}
    .k-grid .k-command-cell > .k-button:hover {
        background-color: #7aa95a;
        border-color: #7aa95a;
        color: white;
    }

.k-toolbar > * {
    background-color: #8fb96a;
    border-color: #8fb96a;
    color: black;
}
    /* Hoverstijl */
    .k-toolbar > *:hover,
    .k-toolbar > *.k-button:hover {
        background-color: #7aa95a;
        border-color: #7aa95a;
        color: white;
    }

/* Niet-geselecteerde pagina-knoppen */
.k-pager .k-button.k-button-flat-primary {
    background-color: #8fb96a !important;
    color: white !important;
    border-color: #8fb96a !important;
}

    /* Hover-stijl */
    .k-pager .k-button.k-button-flat-primary:hover {
        background-color: #7aa95a;
        border-color: #7aa95a;
        color: white;
    }

    /* Geselecteerde pagina */
    .k-pager .k-button.k-button-flat-primary.k-selected {
        background-color: #6f9d50 ;
        border-color: #6f9d50;
        color: white;
    }

.form-control:hover {
    border-color: #8fb96a !important;
}

.form-control:focus {
    border-color: #8fb96a !important;
    box-shadow: 0 0 0 0.2rem rgba(143, 185, 106, 0.25) !important;
}

.form-control.valid:hover {
    border-color: #8fb96a !important;
}

.form-control.valid:focus {
    border-color: #8fb96a !important;
    box-shadow: 0 0 0 0.2rem rgba(143, 185, 106, 0.25) !important;
}


/*.back {
    background: linear-gradient(135deg, #f7f9fc, #e9f3e0);
    min-height: 100vh;
    display: flex;
    align-items: center;
}*/

.form-control {
    border-radius: 0.75rem;
}


.faq-scroll {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 8px;
}

invoice-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 15px;
}

.invoice-card p {
    margin: 3px 0;
}

.invoice-select {
    margin-right: 10px;
}

/* Zonnetje linksboven in de hoek van het scherm */
.zon-linksboven {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px; /* pas naar wens aan */
    height: auto;
    z-index: 10;
}

/* Login-box centreren in viewport */
.login-content-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 400px;
    text-align: center;
    z-index: 5; /* zodat login boven achtergrond, maar onder zon als gewenst */
}

.login-content {
    /*background-color: rgba(255, 255, 255, 0.95);*/
    border-radius: 10px;
    padding: 2em;
    margin-top: 100px;
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);*/
}

/* Responsive */
@media (max-width: 576px) {
    .zon-linksboven {
        width: 70px;
    }

    .login-content {
        padding: 1.5em;
        max-width: 100%;
    }

    .back {
        background-attachment: scroll; /* mobielvriendelijk */
    }
}

/* Achtergrond full-screen voor FAQ pagina */
.faq-back {
    width: 100%;
    min-height: 100vh;
    background-image: url('/images/Beginscherm.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll; /* mobielvriendelijk */
    position: relative;
    padding: 2rem 1rem;
}

/* Wrapper voor FAQ content zodat tekst leesbaar is */
.faq-content-wrapper {
    background-color: rgba(255, 255, 255, 0.95); /* licht transparant */
    border-radius: 10px;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Accordion stijl iets aanpassen voor consistentie */
.accordion-button {
    background-color: white;
    color: #333;
}

    .accordion-button:focus {
        box-shadow: none;
    }

@media (max-width: 576px) {
    .faq-content-wrapper {
        padding: 1rem;
        width: 95%;
    }
}



