.event4ease-registration-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.event4ease-form-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
    color: #000;
}

.event4ease-form-group {
    margin-bottom: 20px;
}

.event4ease-label {
    display: block;
    margin-bottom: 5px;
    color: #555555;
    font-weight: 500;
}

.event4ease-input,
.event4ease-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.event4ease-input:focus,
.event4ease-textarea:focus {
    border-color: #4a90e2;
    outline: none;
}

.event4ease-textarea {
    height: 100px;
    resize: vertical;
}

.event4ease-radio-group,
.event4ease-checkbox-group {
    margin-top: 5px;
}

.event4ease-radio-label,
.event4ease-checkbox-label {
    display: block;
    margin-bottom: 5px;
    color: #555555;
}

.event4ease-radio,
.event4ease-checkbox {
    margin-right: 5px;
}

.event4ease-date {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23555555" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.event4ease-total-price {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    text-align: right;
}

.event4ease-submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.event4ease-submit-btn:hover {
    opacity: 0.8;
}

.event4ease-privacy-policy {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

/* Responsieve aanpassingen */
@media (max-width: 768px) {
    .event4ease-registration-form {
        padding: 20px;
    }

    .event4ease-form-title H2{
        font-size: 22px;
        color: #000;
    }

    .event4ease-form-date{
    color:#000!important;
   }
   .event4ease-form-available-spots{
    color:#000!important;
   }

    .event4ease-input,
    .event4ease-textarea,
    .event4ease-submit-btn {
        font-size: 14px;
    }
}

.event4ease-list {
    width: 100%;
    border-collapse: collapse;
}

.event4ease-list th, .event4ease-list td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.event4ease-list th {
    background-color: #f2f2f2;
}

.event4ease-more-info {
    display: inline-block;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
}

.event4ease-single-event {
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.event-header {
    background-size: cover;
    background-position: center;
   
    padding: 100px 20px;
    position: relative;
}



.event-name {
    font-size: 48px;
    margin-top: 20px;
    
}

.event-subtitle {
    text-align: center;
    font-size: 36px;
    margin: 40px 0;
}

.event-content {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.event-description {
    width: 60%;
    padding-right: 40px;
}

.event-sidebar {
    width: 35%;
    display: flex;
    flex-direction: column;
}

.event-details {
    margin-bottom: 20px;
}

.event-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.event-detail i {
    font-size: 24px;
    margin-right: 15px;
    min-width: 24px;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-weight: bold;
    margin-bottom: 5px;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-top: auto;
}

.event4ease-single-event .event-header {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.event4ease-single-event .event-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(123, 123, 123, 0.8);
   color:#fff!important;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
}

.event-category {
    
   color:#fff!important;
   
}

.event4ease-single-event .event-name {
    color: white;  
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

.cta-button.small-button {
    font-size: 14px;
    padding: 8px 16px;
    margin-bottom: 16px;
}

.event4ease-single-event .event-sidebar .cta-button.small-button {
    max-width: 200px;
}

.event-item {
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1.2;
    color: #000;
}

.event-link {
    display: flex;
    text-decoration: none;
    color: #000;
}

.event-time {
    flex-shrink: 0;
    font-weight: bold;
    margin-right: 4px;
    min-width: 40px;
    text-decoration: none;
}

.event-title-wrapper {
    flex: 1;
    overflow: hidden;
}

.event-title {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.2em;
    max-height: 2.4em; /* 2 regels */
    overflow: hidden;
    text-align: left;
    text-decoration: none!important;
}

/* Voor betere zichtbaarheid van meerdere evenementen */
.event-item:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

.event4ease-navigation {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-bottom: 2em !important;
    list-style: none !important;
    padding: 0 !important;
}

.event4ease-nav-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    border: 2px solid #1a365d !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    background-color: #fff !important;
    color: #1a365d !important;
    box-shadow: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.event4ease-nav-button span {
    color: inherit !important;
    font-size: inherit !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.event4ease-nav-button:hover,
.event4ease-nav-button:focus {
    background-color: #1a365d !important;
    color: #fff !important;
    outline: none !important;
}

.event4ease-nav-button-active,
.event4ease-nav-button-active:hover {
    background-color: #1a365d !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}




.event4ease-pay-btn, .event4ease-print-btn, .event4ease-download-btn {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 1em 0.5em 0; /* Vergroot de rechter marge naar 1em */
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    font-size: 1em;
    transition: opacity 0.3s ease;
    background-color: transparent;
    color: inherit;
}

.event4ease-pay-btn:last-child {
    margin-right: 0; /* Verwijder de rechter marge van de laatste knop */
}

.event4ease-pay-btn:hover,
.event4ease-print-btn:hover,
.event4ease-download-btn:hover {
    opacity: 0.8;
}



.event4ease-action-btn {
    display: inline-block;
    padding: 0.5em 1em;
    margin: 0 1em 0.5em 0!important; /* Vergroot de rechter marge naar 1em */
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    font-size: 1em;
    transition: opacity 0.3s ease;
    color: #000;
    
    
}

a.button{color:#000;}

.event4ease-action-btn--waitlist {
    background-color: #f39c12 !important;
    color: #fff !important;
}

.event4ease-action-btn:last-child {
    margin-right: 0; /* Verwijder de rechter marge van de laatste knop */
}

.event4ease-action-btn:hover,
.event4ease-action-btn:focus {
    opacity: 0.8;
}


/* Filter buttons — !important om thema-overschrijvingen te voorkomen */
.event4ease-filter-btn {
    margin-right: 10px !important;
    margin-bottom: 10px !important;
    padding: 10px 20px !important;
    font-weight: 500 !important;
    color: #333 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-shadow: none !important;
}

.event4ease-filter-btn.active {
    background-color: #007bff !important;
    color: #fff !important;
    border-color: #007bff !important;
}

.event4ease-download-ics {
    display: inline-block;
    margin-left: 1px;
    font-size: 0.5em; /* Kleinste betrouwbare fontgrootte */
    color: inherit;
    text-decoration: none;
    vertical-align: middle;
    padding: 5px; /* Vergroot het klikbare gebied */
    margin: -5px 0 -5px 1px; /* Compenseert voor de padding om de layout te behouden */
    transform: scale(0.4); /* Schaalt het icoon naar 40% van 0.5em, effectief 20% van de originele grootte */
    transform-origin: center left; /* Zorgt ervoor dat de schaling vanaf de linkerkant gebeurt */
}

.event4ease-download-ics:hover {
    color: #333333; /* of een andere highlight kleur */
}


    
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.event4ease-share-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}


.calendar-day.past-event {
    opacity: 0.7;
}

.event-item.past-event {
    opacity: 0.7;
}

/* Kosten & extra opties tabel */
.event4ease-costs {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.event4ease-costs th,
.event4ease-costs td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
}

.event4ease-costs th {
  text-align: left;
  font-weight: 600;
  color: var(--event4ease-primary-color, #2c3e50);
  background-color: #f7f9fc;
}

.event4ease-costs td {
  text-align: right;
  color: #333;
}

.event4ease-costs tr:last-child th,
.event4ease-costs tr:last-child td {
  border-bottom: none;
}

/* optioneel: hover effect */
.event4ease-costs tr:hover td,
.event4ease-costs tr:hover th {
  background-color: #f0f6ff;
}

/* Stijl voor de spinner animatie */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Visuele feedback dat de knop bezig is */
.btn-loading {
    pointer-events: none;
    opacity: 0.8;
}