/* induvidual sign up bars in aanmelden page - from here until line 272*/ 

.supersaas-collapsible {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}

/* Workshop selector */

.supersaas-collapsible-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 22px;

    background: #8FBF9F;
    color: #ffffff;

    border: none;
    border-radius: 8px;

    cursor: pointer;

    font-family: inherit;
    font-size: 18px;
    font-weight: 600;

    text-align: left;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
}

/* Hover */

.supersaas-collapsible-header:hover {
    background: #76A987;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Click */

.supersaas-collapsible-header:active {
    transform: translateY(1px);
}

/* Arrow */

.supersaas-arrow {
    font-size: 14px;
    margin-left: 15px;

    transition: transform 0.25s ease;
}

/* Rotate arrow when open */

.supersaas-collapsible.open .supersaas-arrow {
    transform: rotate(180deg);
}


/* Content */

.supersaas-collapsible-content {
    display: none;
    margin-top: 6px;
}

/* Show content */

.supersaas-collapsible.open .supersaas-collapsible-content {
    display: block;
}


/* Agenda rows */

.supersaas-agenda-item {
    display: grid;
    grid-template-columns: 110px 130px 1fr auto;

    align-items: center;

    gap: 15px;

    padding: 15px 20px;

    background: #ffffff;

    border-left: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
}


/* First row */

.supersaas-agenda-item:first-child {
    border-top: 1px solid #e2e2e2;
    border-radius: 6px 6px 0 0;
}


/* Last row */

.supersaas-agenda-item:last-child {
    border-radius: 0 0 6px 6px;
}


/* Date */

.supersaas-date {
    font-weight: 600;
    color: #333333;
}


/* Time */

.supersaas-time {
    color: #555555;
}


/* Available spots */

.supersaas-spots {
    color: #666666;
    font-size: 14px;
}


/* Booking area */

.supersaas-booking {
    text-align: right;
    white-space: nowrap;
}


/* Aanmelden button */

.supersaas-book-button {
    display: inline-block;

    padding: 10px 22px;

    min-width: 110px;

    box-sizing: border-box;

    background: #8FBF9F;
    color: #ffffff !important;

    border: none;
    border-radius: 5px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    text-align: center;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}


/* Button hover */

.supersaas-book-button:hover {
    background: #76A987;
    color: #ffffff !important;
}


/* Button click */

.supersaas-book-button:active {
    transform: translateY(1px);
}


/* Mobile */

@media (max-width: 600px) {

    .supersaas-collapsible-header {
        padding: 14px 18px;
        font-size: 17px;
    }

    .supersaas-agenda-item {
        grid-template-columns: 85px 1fr;
        gap: 5px 15px;

        padding: 15px;
    }

    .supersaas-date {
        grid-row: span 2;
    }

    .supersaas-time {
        grid-column: 2;
    }

    .supersaas-spots {
        grid-column: 2;
    }

    .supersaas-booking {
        grid-column: 2;

        text-align: left;

        margin-top: 8px;
    }

}


////////////Button/////////
.supersaas-booking {
    text-align: right;
    white-space: nowrap;
}

.supersaas-book-button {
    display: inline-block;
    padding: 10px 22px;
    min-width: 110px;
    box-sizing: border-box;
    background: #8FBF9F;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.supersaas-book-button:hover {
    background: #76A987;
    color: #ffffff !important;
}

@media (max-width: 600px) {

    .supersaas-booking {
        grid-column: 2;
        text-align: left;
        margin-top: 8px;
    }

}



/* swapping order of appearance for mobile for columns left (info) and right (photo) in aanmelden pagina */

@media (max-width: 767px) {
  .wp-block-columns.mobile-reverse {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .wp-block-columns.mobile-reverse > .wp-block-column:nth-child(1) {
    order: 2 !important;
  }

  .wp-block-columns.mobile-reverse > .wp-block-column:nth-child(2) {
    order: 1 !important;
  }
}