.label-center {
    text-align: center!important;
    width: 100%;
}

.error {
    color: var(--bs-danger);
}

.fixed-button {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Updated to the most recent definition */
    z-index: 1500!important;
    display: none;
    align-items: center;
    justify-content: center;
}

.card-link:hover {
    cursor: pointer;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-select {
    font-weight: bold!important;
}

.form-overlay-position {
    width: calc(50px + 15vw);
    height: calc(50px + 15vw);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000!important;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid var(--bs-light); /* Updated to the most recent definition */
    border-top: 4px solid #04e9e9cc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bold-text {
    font-weight: bold;
}

.accordionScroll {
    height: auto;
    max-height: 70vh;
    overflow-y: auto;
}

.close-icon {
    font-size: 2em;
}

@media (max-width: 576px) {
    .close-icon {
        font-size: 1.5em;
    }
}

.odd-bg-dark {
    background-color: rgb(62, 66, 70)!important;
}

.even-bg-dark {
    background-color: rgb(37, 38, 40)!important;
}

.dropdown-item:hover {
    background-color: rgba(248, 249, 250, 0.2) !important;
}

.message-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px; /* Abstand zwischen den Nachrichten */
}

.message-container.inbound {
    justify-content: flex-start; /* Links ausgerichtet */
}

.message-container.outbound {
    justify-content: flex-end; /* Rechts ausgerichtet */
}

.message-content {
    width: auto;
    max-width: 70%;
    padding: 10px; /* Abstand innerhalb der Nachricht */
    border-radius: 5px;
}

.text-area {
    height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    box-sizing: border-box; /* Bezieht Padding und Border in die Höhe ein */
  }

.message-content.inbound {
    background-color: white;
}

.message-content.outbound {
    background-color: rgb(181, 233, 65) !important;
}

.dropdown-menu {
    max-height: 200px;
    overflow-y: auto;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.svg-link.bg-danger {
    fill: #dc3545;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.center {
    float: left;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}