.quiz-container {
    background-color: #fff;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 0 auto;
}

.quiz-container .progress-bar {
    background-color: #5411E6;
}

.quiz-container p {
    font-family: "Inter Medium", sans-serif;
    margin-bottom: 20px;
}

.quiz-question {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.quiz-question.hidden {
    opacity: 0;
    transform: scale(0.8);
}

.tool-button {
    position: relative;
    padding: 15px 15px;
    background: #5710EE;
    border-radius: 15px;
    box-shadow: 0 0 15px -3px rgb(0 0 0 / 11%);
    margin-bottom: 15px;
    transition: 0.2s;
}

.tool-button i {
    transition: 0.2s;
}

.tool-button:hover i {
    transform: scale(1.3);
}

.tool-button:hover {
    cursor: pointer;
    text-decoration: none;
}

.tool-button i {
    position: absolute;
    color: white;
    font-size: 30px;
    right: 23px;
    bottom: 23px;
}

.tool-button p:first-of-type {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.tool-button p:last-of-type {
    margin-top: 2px;
    margin-bottom: 0;
    font-size: 12px;
    color: #ffffffc9;
}

.calendar-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.calendar {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    max-width: 400px;
    width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    width: 100%;
    max-width: 400px;
}

.calendar-header h2 {
    flex-grow: 1; /* Platz zwischen den Buttons gleichmäßig nutzen */
    text-align: center;
    white-space: nowrap; /* Verhindert Zeilenumbrüche */
    overflow: hidden; /* Verhindert Überlauf */
    text-overflow: ellipsis; /* Ellipse bei Überlauf anzeigen */
}

.calendar-header button, .calendar-header button:focus {
    padding: 8px 12px;
    border: none;
    background-color: #5A10F4;
    color: #fff;
    border-radius: 10px;
    transition: background-color 0.3s;
    outline: none;
}

.calendar-header button:hover {
    background-color: #5A10F4;
}

.calendar-header button.unavailable {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.calendar-header button.unavailable:hover {
    background-color: #e0e0e0;
}

.calendar-body {
    text-align: center;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 8px;
    font-weight: bold;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-days div {
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    background-color: #f1f1f17a;
    transition: background-color 0.3s;
}

.calendar-days div:hover,
.calendar-days div.selected {
    background-color: #5A10F4;
    color: #fff;
}

.calendar-days div.unavailable {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.calendar-days div.unavailable:hover {
    background-color: #e0e0e0;
}

.card.card-profile {
    box-shadow: 0 0 20px -3px rgb(0 0 0 / 3%);
    border: none;
}

.card.card-profile .likes {
    position: absolute;
    right: -10px;
    top: -10px;
    background-color: #4c13c4;
    border-radius: 100%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s ease-in-out;
}

.card.card-profile:hover .likes {
    transform: rotate(360deg) scale(1.07);
}

.card.card-profile .card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: #5A10F4;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    border-radius: 15px 15px 0 0;
}

.card.card-profile .card-body a {
    font-family: Inter Light, serif;
    font-size: 16px;
}

.card.card-profile .card-body a i {
    font-size: 16px;
    margin-right: 3px;
}

.card.card-profile .card-body a:hover {
    text-decoration: none;
    color: #280c60;
}

.card.card-profile .card-header * {
    color: #fff;
}

.card.card-profile .card-header p {
    font-size: 14px;
}

.card.card-profile .likes span {
    position: relative;
    font-family: Inter Medium, serif;
    color: white;
}

.card.card-profile-lb {
    background-color: #f8f8f8;
    padding: 10px;
    border-radius: 15px;
    flex-direction: row;
    border: none;
}

.card.card-profile-lb span {
    font-family: Inter Light, serif;
    font-size: 14px;
}

.profile-picture-container {
    position: relative;
}

.profile-picture-container .edit {
    position: absolute;
    right: 7px;
    bottom: 7px;
    color: #5A10F4;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.profile-picture-container .edit:hover {
    transform: scale(1.1);
}

.time-slots {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    width: 100%;
    max-width: 400px;
}

.time-slots h3 {
    margin: 0 0 16px 0;
}

.time-slots div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.time-slots div div {
    text-align: center;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    background-color: #f1f1f17a;
}

.time-slots div div:hover {
    background-color: #5A10F4;
    color: #fff;
}

.time-slots div div.unavailable {
    background-color: #e0e0e0;
    cursor: not-allowed;
    color: #a0a0a0;
}

.hidden {
    display: none;
}

.form-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 16px;
    max-width: 400px;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Zentriert horizontal */
    flex-direction: column;
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-container form input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-container form button {
    padding: 8px 12px;
    border: none;
    background-color: #5A10F4;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-container form button:hover {
    background-color: #5A10F4;
}

.selected-summary {
    text-align: center;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: bold;
    color: #444;
}

@media (max-width: 768px) {
    .calendar-container {
        flex-direction: column;
        align-items: center;
    }

    .time-slots {
        order: 2;
    }
}

.page-item.active .page-link {
    background-color: #5A10F4 !important;
    border-color: #5A10F4 !important;
}

.page-item .page-link {
    color: #5A10F4 !important;
    margin: 0;
}

.page-item.active .page-link {
    color: #fff !important;
    margin: 0;
}

.page-link:focus {
    box-shadow: none !important;
}