/*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;
}*/

* {
    box-sizing: border-box;
    font-size: 16px;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

h1 {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 2.5rem;
}

.container {
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card {
    align-self: center;
    background-color: rgba(131, 218, 255, 0.651);
    border: 2px solid rgba(114, 157, 194, 0.664);
    border-radius: 12px;
}

    .card:hover {
        border: 2px solid rgb(91, 244, 255);
    }

.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 2rem;
}

    .login label {
        font-weight: 700;
        letter-spacing: 2px;
    }

    .login input {
        height: 2rem;
        width: auto;
        min-width: 250px;
        max-width: 400px;
        background-color: rgba(255, 255, 255, 0.377);
        border: 2px solid rgb(91, 244, 255);
        border-radius: 7px;
        padding: 5px;
    }

        .login input:focus {
            outline: none;
            font-weight: 500;
            border: 3px solid rgb(0, 233, 250);
        }

    .login button {
        height: 50px;
        width: 200px;
        background-color: rgba(255, 255, 255, 0.377);
        border: 2px solid rgb(114, 156, 194);
        border-radius: 12px;
        font-size: 20px;
        font-weight: 700;
        letter-spacing: 2px;
    }

        .login button:hover {
            background-image: linear-gradient(to right, rgba(10, 116, 134, 0.377), rgba(7, 87, 151, 0.719));
            color: white;
            cursor: pointer;
            border: 3px solid rgb(0, 233, 250);
        }

@media screen and (max-width: 600px) {
    .login button {
        background-color: red;
    }
}

/* Accordion ausgegraut */
.accordion-disabled .accordion-item {
    opacity: 0.6;
    pointer-events: none;
}

/* Button als disabled darstellen */
.disabled-accordion {
    background-color: #e2e3e5 !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 16px;
}

.form-check-input {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px;
    margin: 0 !important;
    flex-shrink: 0;
    accent-color: #8b1e3f;
}

.form-check-label {
    margin: 0;
    line-height: 1.4;
}


/* Shared checkbox styling */
.form-check {
    display: flex;
    align-items: center;
    gap: 16px;
}

.form-check-input {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px;
    margin: 0 !important;
    flex-shrink: 0;
    accent-color: #8b1e3f;
}

.form-check-label {
    margin: 0;
    line-height: 1.4;
}

/* ===== GLOBAL CHECKBOX FIX (all pages) ===== */

input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    margin: 0 12px 0 0;
    vertical-align: middle;
    cursor: pointer;
    /* brand color */
    accent-color: #8b1e3f;
}

/* alignment with text */
.checkbox-row,
.form-check,
label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* fix label spacing */
label {
    line-height: 1.4;
}

/* fallback for Bootstrap overriding */
input[type="checkbox"]:checked {
    background-color: #8b1e3f !important;
    border-color: #8b1e3f !important;
}

.general-check-row {
    display: flex;
    align-items: flex-start; /* ← change THIS */
    gap: 16px;
    padding: 18px 22px;
    border: 1px solid #e8c7d1;
    border-radius: 16px;
    background: #fcf7f9;
}

.general-check-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.general-check-input {
    margin-top: 4px;
    margin-right: 6px; /* small tweak only */
}

.general-check-label {
    line-height: 1.5;
}

.general-check-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.general-check-input {
    margin-top: 4px;
    margin-right: 6px; /* small tweak only */
}

.general-check-label {
    line-height: 1.5;
}


/* ===== FIX: Vereinfachte Bestätigung Checkbox ===== */

#generalK-section .form-check {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
}

#generalK-section .form-check-input {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    margin: 4px 0 0 0 !important;
    flex-shrink: 0;
    accent-color: #C2006F;
}

#generalK-section .form-check-input {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    transform: scale(1.1); /* optional: makes it feel bigger */
}
#generalK-section .form-check-label {
    margin-left: 6px !important; /* ← increase this (6–10px) */
}


.final-check-wrap {
    display: flex;
    align-items: center; /* center vertically */
    gap: 15px; /* controls space between checkbox and text */
}

    .final-check-wrap .form-check-input {
        margin: 0 !important; /* remove Bootstrap offset */
    }

    .final-check-wrap .form-check-label {
        margin: 0 !important; /* remove extra spacing */
    }