.oter-agenda strong {
    font-weight: bold;
}

.oter-agenda {
    background-color: var(--agenda-bg-color, #ffffff);
    padding: 20px;
    border-radius: 15px;
    font-family: var(--agenda-font-family, sans-serif);
}

button {
    background-color: var(--button-bg-color, #C54459);
    color: var(--button-text-color, #f3f4f6);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

button:hover {
    background-color: var(--button-hover-color, #ad283d);
	color: var(--button-text-color, #f3f4f6);
}

.oter-agenda button:active {
    border: none;
}

.agenda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.agenda-header-button.is-scrollable {
    margin-right: 1.2rem;
}

.agenda-header h1 {
    color: var(--agenda-title-text-color, #f3f4f6);
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 15px;
}

.agenda-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oter-agenda .agenda-list.scrollable {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.oter-agenda .agenda-list.scrollable::-webkit-scrollbar {
    width: 8px;
}
.oter-agenda .agenda-list.scrollable::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.agenda-item {
    background-color: var(--agenda-item-bg-color, #ffffff);
    color: var(--agenda-item-text-color, #0f172a);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.agenda-item-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 1rem;
}

.agenda-item-header .date {
    font-weight: bold;
    white-space: nowrap;
    font-size: 1.1rem;
}

.agenda-item-header .title {
    text-align: left;
    font-size: 1.1rem;
}

.more-information-button {
    color: var(--agenda-item-more-info-color, #666);
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    white-space: nowrap;
}

.more-information-button:hover{
    color: var(--agenda-item-more-info-hover-color, #666);
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    white-space: nowrap;
}

.more-information {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--agenda-item-div-color, #ddd);
    font-size: 1.1rem;
}

.more-information b {
    display: block;
    margin-top: 5px;
}

.more-information button {
    margin: 8px 10px 0 0;
}


.agenda-success-message {
    font-family: var(--agenda-font-family, sans-serif);
    color: var(--agenda-succes-message-color, #52de5d);
    margin-bottom: 20px;
}

/*Styling toevoegen van agenda-item suggestie*/
.agenda-suggestion-form {
    display: none;

    position: fixed;        /* Zorgt dat hij los van normale flow staat */
    top: 50%;              /* Verticaal midden */
    left: 50%;             /* Horizontaal midden */
    transform: translate(-50%, -50%); /* Corrigeert zodat centrum klopt */
    z-index: 9999;         /* Zorgt dat hij boven alles ligt */
    margin-top: 0;         /* Margin weg, want fixed position gebruikt dit niet */


    flex-direction: column; /* Zorgt dat header boven de form komt */
    background-color: var(--agenda-bg-color, #ffffff);
    padding: 20px;
    border-radius: 15px;

    max-width: 280px;
    max-height: 80vh;
    overflow-y: auto;

    color: var(--agenda-title-text-color, #f3f4f6);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-family: var(--agenda-font-family, sans-serif);
}

.agenda-suggestion-form::-webkit-scrollbar {
    width: 8px;
}

.agenda-suggestion-form::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.agenda-suggestion-form-header {
    display: flex; /* Houdt titel en knop naast elkaar */
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.agenda-suggestion-form-header h2 {
    color: var(--agenda-title-text-color, #f3f4f6);
    font-weight: bold;
    font-size: 25px;
    margin: 0; /* Zorgt voor geen extra ondermarge */
}

.agenda-suggestion-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

.agenda-suggestion-form input,
.agenda-suggestion-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: none;
    border-radius: 8px;
    resize: none;
}

.agenda-suggestion-form .radio-group {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.agenda-suggestion-form form button {
    margin-top: 15px;
    width: 100%;
}

.agenda-error-message {
    margin-top: 1em;
    font-family: var(--agenda-font-family, sans-serif);
    color: var(--agenda-error-message-color, #ff2828);
    text-align: left;
}

.agenda-error-message li{
    list-style: none;
}

.agenda-error-message ul {
    padding-left: 0;
    margin-left: 0;
}


/*Delete form*/
.suggest-delete-form {
    margin-top: 10px;
}

.suggest-delete-form textarea {
    resize: none;
    border-radius: 3px;
}

/*Edit form*/
.suggest-edit-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.suggest-edit-form textarea {
    resize: none;
    border-radius: 3px;
}

/*Registreren form*/
.registration form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: -10px;
}

.registration textarea {
    resize: none;
    border-radius: 3px;
}

.registration .info-item {
    display: flex; /* Houdt titel en knop naast elkaar */
    align-items: center;
    margin-bottom: 20px;
    margin-top: -20px;
    font-weight: bold;
}

.registration .p-registration {
    margin-top: 20px;
    font-weight: bold;
}

.registration form button {
   width: 100%;
   margin-bottom: 5px;
}



/*!*CSS voor als het scherm kleiner wordt*!*/
/* TABLET & MOBIEL */
@media (max-width: 768px) {
    .agenda-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .agenda-header h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .agenda-header button {
        width: 100%;
        margin-top: 10px;
    }

    .agenda-item {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .agenda-item-header {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }

    .agenda-item-header {
        font-size: 0.95rem;
    }

    .agenda-item-header .date,
    .agenda-item-header .title,
    .more-information-button {
        font-size: 0.95rem;
    }

    .more-information-button {
        font-size: 0.95rem;
    }

    .more-information {
        font-size: 1rem;
    }

    .agenda-suggestion-form {
        max-width: 90%;
        max-height: 90vh;
        padding: 15px;
    }

    .agenda-suggestion-form-header h2 {
        font-size: 20px;
    }

    .agenda-suggestion-form input,
    .agenda-suggestion-form textarea {
        font-size: 14px;
    }

    .agenda-suggestion-form form button {
        font-size: 14px;
    }

    button {
        font-size: 14px;
        padding: 8px 12px;
    }

    .suggest-edit-form form,
    .suggest-delete-form {
        padding: 0 15px;
    }

    .suggest-edit-form textarea,
    .suggest-edit-form input,
    .suggest-edit-form button,
    .suggest-delete-form textarea {
        max-width: 100%;
        font-size: 16px;
    }

    .registration form {
        gap: 8px;
        margin-top: -5px;
    }

    .registration .info-item {
        flex-direction: column; /* Zet titel en knop onder elkaar */
        align-items: flex-start;
        margin-bottom: 15px;
        margin-top: 0;
        font-weight: bold;
    }

    .registration form button {
        width: 100%;
        margin-bottom: 10px;
        font-size: 1rem;
    }
}

/* KLEINE MOBIELEN */
@media (max-width: 480px) {
    .agenda-header h1 {
        font-size: 18px;
    }

    .agenda-item-header {
        font-size: 0.9rem;
    }

    .agenda-item-header .date,
    .agenda-item-header .title,
    .more-information-button {
        font-size: 0.9rem;
    }

    .agenda-item-header .date,
    .agenda-item-header .title {
        font-size: 1rem;
    }

    .agenda-suggestion-form-header h2 {
        font-size: 18px;
    }

    .agenda-suggestion-form input,
    .agenda-suggestion-form textarea {
        font-size: 13px;
    }

    .more-information {
        font-size: 0.95rem;
    }

    .suggest-edit-form form,
    .suggest-delete-form {
        padding: 0 10px;
    }

    .suggest-edit-form textarea,
    .suggest-edit-form input,
    .suggest-edit-form button,
    .suggest-delete-form textarea {
        font-size: 14px;
        padding: 10px;
    }

    .suggest-edit-form textarea,
    .suggest-delete-form textarea {
        min-height: 100px;
    }

    .registration form {
        gap: 6px;
        margin-top: 0;
    }

    .registration .info-item {
        font-weight: normal;
        font-size: 0.9rem;
    }

    .registration textarea {
        font-size: 0.9rem;
    }

    .registration form button {
        font-size: 0.9rem;
        padding: 10px;
    }
	
	/* +/− icoon */
.oter-agenda .more-information-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  color: var(--agenda-item-more-info-color, #666);
}
.oter-agenda .more-information-button:hover {
  color: var(--agenda-item-more-info-hover-color, #008080);
}

.oter-agenda .more-information-button .mi-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

/* +/− icoon */
.oter-agenda .more-information-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  color: var(--agenda-item-more-info-color, #666);
}
.oter-agenda .more-information-button:hover {
  color: var(--agenda-item-more-info-hover-color, #008080);
}

.oter-agenda .more-information-button .mi-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

/* twee streepjes: samen een plus */
.oter-agenda .more-information-button .mi-icon::before,
.oter-agenda .more-information-button .mi-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}

/* verticale streep (maakt het een plus) */
.oter-agenda .more-information-button .mi-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

/* OPEN: verticale streep verdwijnt → minus over */
.oter-agenda .more-information-button.is-open .mi-icon::after {
  transform: translateY(-50%) rotate(90deg) scaleX(0);
  opacity: 0;
}
	
}
