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;
}
.custom-link-color {
    color: var(--fourth-color) !important;
    text-decoration: none;
}
.btn {
    color: var(--fourth-color);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
    .btn:hover {
        background-color: var(--tertiary-color);
        border-color: var(--tertiary-color);
    }
.mui-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: var(--secondary-color);
    color: var(--fourth-color);
    border: 1px solid #ced4da; /* Gleicher Rand wie Input */
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    height: calc(2.25rem + 2px); /* Exakte Höhe der Input-Felder */
    padding: 0.375rem 0.75rem; /* Gleiche Innenabstände wie Bootstrap-Input */
}

    .mui-button:hover {
        background-color: var(--tertiary-color);
    }

    .mui-button:focus {
        outline: none;
        border-color: #80bdff; /* Gleiche Fokusfarbe wie Bootstrap */
        box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    }

    .mui-button:active {
        background-color: var(--secondary-color);
    }

    .mui-button.small {
        height: calc(2.25rem + 2px); /* Exakte Höhe */
        padding: 0.375rem 0.75rem;
    }
/* Card-Header-FC – passt sich Bootstrap .card.mb-4 an */
.card-header-fc {
    background-color: var(--primary-color) !important;
    color: #333 !important; /* Dunklere Schrift für besseren Kontrast */
    font-weight: bold;
    text-align: center;
    padding: 1rem; /* Gleiches Padding wie Bootstrap .card-header */
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Wrapper, um die Abrundung der Tabelle zu ermöglichen */
.table-responsive {
    border-radius: 8px; /* Abgerundete Ecken */
    overflow: hidden; /* Damit die abgerundeten Ecken auch für die Tabellenränder gelten */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten für mehr Tiefe */
}

/* Tabelle */
.table-fc {
    background-color: var(--primary-color);
    color: #222 !important;
    border-collapse: separate; /* Damit border-radius sauber funktioniert */
    border-spacing: 0; /* Verhindert Lücken zwischen den Zellen */
    width: 100%;
}

    /* Thead für Kontrast */
    .table-fc thead th {
        background-color: #9ad200;
        color: black !important;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        border-bottom: 3px solid #7fb000;
    }

    /* Erste und letzte Zeile abrunden */
    .table-fc thead tr:first-child th:first-child {
        border-top-left-radius: 8px;
    }

    .table-fc thead tr:first-child th:last-child {
        border-top-right-radius: 8px;
    }

    .table-fc tbody tr:last-child td:first-child {
        border-bottom-left-radius: 8px;
    }

    .table-fc tbody tr:last-child td:last-child {
        border-bottom-right-radius: 8px;
    }

    /* Hover-Effekt */
    .table-fc tbody tr:hover {
        background-color: rgba(177, 240, 5, 0.2) !important;
    }

/* sorgt dafür, dass Border & Padding in die definierte Größe fallen */
.dnt-captcha-refresh {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* exakt so groß wie dein Captcha-Bild (25px) */
    width: 25px;
    height: 25px;
    /* Button-Optik von Bootstrap weiter nutzen */
    padding: 0; /* kein zusätzliches Innen-Padding */
    border-radius: 0.25rem; /* Bootstrap-Standard */
    margin-bottom: 0.25rem;
}

.dntCaptcha img,
.dnt-captcha-wrapper img {
    margin-bottom: 4px !important; 
}

#dntCaptchaImg {
    margin-bottom: 4px !important;
}

/* falls Du die Outline-Farbe anpassen willst, kannst Du sie hier überschreiben */
/* .dnt-captcha-refresh { border-color: #ced4da; } */
