/**
 * Waldwei Wizard Styling
 * Dark theme matching newsletter component
 */

/* ==============================
   Wizard Container
   ============================== */

.waldwei-wizard {
    background: #0e161c;
    color: #fcf1e3;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    border-radius: 16px;
    position: relative;
}

/* Subtle glow */
.waldwei-wizard::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(252, 241, 227, 0.05),
        rgba(252, 241, 227, 0) 70%
    );
    pointer-events: none;
    border-radius: 16px;
}

.waldwei-wizard-inner {
    position: relative;
    z-index: 1;
}

/* ==============================
   Progress Bar
   ============================== */

.waldwei-progress-container {
    margin-bottom: 3rem;
}

.waldwei-progress-text {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.waldwei-progress-bar {
    height: 4px;
    background: rgba(252, 241, 227, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.waldwei-progress-fill {
    height: 100%;
    background: #fcf1e3;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.waldwei-progress-dots {
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    margin: 0 auto;
}

.waldwei-progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(252, 241, 227, 0.2);
    transition: all 0.3s ease;
}

.waldwei-progress-dot.active {
    background: #fcf1e3;
    box-shadow: 0 0 12px rgba(252, 241, 227, 0.5);
}

.waldwei-progress-dot.completed {
    background: rgba(252, 241, 227, 0.6);
}

/* ==============================
   Steps
   ============================== */

.waldwei-wizard-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.waldwei-wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.waldwei-step-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fcf1e3;
}

.waldwei-step-subtitle {
    text-align: center;
    opacity: 0.7;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ==============================
   Step 1: Datepicker
   ============================== */

.waldwei-datepicker-container {
    max-width: 400px;
    margin: 0 auto;
}

.flatpickr-input{
	display: none;
}



/* Flatpickr custom styling */
.flatpickr-calendar {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(252, 241, 227, 0.18) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    width: 36px;
    height: 36px;
	margin: 5px;
    border-radius: 5px;
    background: rgba(252, 241, 227, 0.08) !important;
    transition: background 0.2s ease, transform 0.15s ease;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: rgba(252, 241, 227, 0.18) !important;
    transform: translateY(-1px);
}
.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month svg {
    margin-top: -5px;
}

.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg {
    fill: #D6CEC3 !important;
}

.flatpickr-months .flatpickr-prev-month svg,.flatpickr-months .flatpickr-next-month svg {
    width: 14px;
    height: 14px
}








/* Voorbeeld voor in frontend.css */
.waldwei-type-card.special {
    border: 2px solid #d4af37; /* Goudkleurige rand voor events */
    position: relative;
}
.waldwei-type-card.special::after {
    content: 'Special';
    position: absolute;
    top: -10px;
    right: 10px;
    background: #d4af37;
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 4px;
}

.flatpickr-months {
    background: transparent !important;
}

.flatpickr-month {
    color: #fcf1e3 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #0a1018 !important;
}

.flatpickr-weekdays {
    background: transparent !important;
	margin-top: 5px;
}

.flatpickr-weekday {
    color: rgba(252, 241, 227, 0.7) !important;
}

.flatpickr-day {
    color: #fcf1e3 !important;
}

.flatpickr-day:hover {
    background: rgba(252, 241, 227, 0.1) !important;
    border-color: rgba(252, 241, 227, 0.3) !important;
}

.flatpickr-day.today {
    border-color: #fcf1e3 !important;
}

.flatpickr-day.selected {
    background: #fcf1e3 !important;
    color: #0e161c !important;
    border-color: #fcf1e3 !important;
}

.flatpickr-day.disabled {
    color: rgba(252, 241, 227, 0.3) !important;
}


.sylvai-link {
	color: #FCF1E3;
}

/* ==============================
   Step 2: Type Selection
   ============================== */

#waldwei-type-options {
    display: grid;
    gap: 1rem;
}

.waldwei-type-option {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(252, 241, 227, 0.18);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.waldwei-type-option:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.08);
	border-color: #246a01;
    transform: translateY(-2px);
}

.waldwei-type-option.selected {
    background: rgba(252, 241, 227, 0.1);
    border-color: #246a01;
}

.waldwei-type-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.waldwei-type-content {
	text-align: left;
}

.waldwei-type-content h3 {
    margin: 0 0 0.5rem;
    color: #fcf1e3;
    font-size: 1.2rem;
}

.waldwei-type-content p {
    margin: 0;
    opacity: 0.8;
    line-height: 1.6;
}

.waldwei-type-content .unavailable-text {
    color: rgba(252, 241, 227, 0.6);
    font-style: italic;
    margin-top: 0.5rem;
}

.waldwei-type-indicator {
    font-size: 1.5rem;
    color: #fcf1e3;
}

/* ==============================
   Step 3: Person Count
   ============================== */

.waldwei-person-selector {
    max-width: 300px;
    margin: 0 auto;
}

.waldwei-person-selector input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(252, 241, 227, 0.18);
    border-radius: 12px;
    padding: 1rem;
    color: #fcf1e3;
    font-size: 1.2rem;
    text-align: center;
}

.waldwei-person-selector input:focus {
    outline: none;
    border-color: rgba(252, 241, 227, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

/* ==============================
   Step 4: Time Selection
   ============================== */

#waldwei-time-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.waldwei-time-slot {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(252, 241, 227, 0.18);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.waldwei-time-slot:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: #246a01;
    transform: translateY(-2px);
}

.waldwei-time-slot.selected {
    background: rgba(252, 241, 227, 0.1);
    border-color: #246a01;
}

.waldwei-time-slot.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.waldwei-time-slot .time-display {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fcf1e3;
}

.waldwei-time-slot .availability-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

.waldwei-time-slot.label-available .availability-label {
    color: #4ade80;
}

.waldwei-time-slot.label-limited .availability-label {
    color: #facc15;
}

.waldwei-time-slot.label-almost_full .availability-label {
    color: #fb923c;
}

.no-slots {
    text-align: center;
    opacity: 0.7;
    padding: 2rem;
}

/* ==============================
   Step 5: Personal Info
   ============================== */

.waldwei-personal-form {
    max-width: 500px;
    margin: 0 auto;
}

.waldwei-form-group {
    margin-bottom: 1.5rem;
}

.waldwei-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-size: 0.9rem;
}

.waldwei-form-group input,
.waldwei-form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(252, 241, 227, 0.18);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    color: #fcf1e3;
    font-size: 0.95rem;
}

.waldwei-form-group input::placeholder,
.waldwei-form-group textarea::placeholder {
    color: rgba(252, 241, 227, 0.55);
}

.waldwei-form-group input:focus,
.waldwei-form-group textarea:focus {
    outline: none;
    border-color: rgba(252, 241, 227, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

.waldwei-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.waldwei-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.waldwei-form-row-3 {
    grid-template-columns: 2fr 1fr 2fr;
}

/* ==============================
   Step 6: Summary
   ============================== */

.waldwei-summary-content {
    max-width: 500px;
    margin: 0 auto;
}

.waldwei-summary-section {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(252, 241, 227, 0.12);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.waldwei-summary-section h3 {
    margin: 0 0 1rem;
    color: #fcf1e3;
    font-size: 1.1rem;
    opacity: 0.9;
}

.waldwei-summary-section p {
    margin: 0.5rem 0;
    line-height: 1.8;
}

.waldwei-summary-section strong {
    opacity: 0.7;
    font-weight: 500;
}

/* ==============================
   Navigation Buttons
   ============================== */

.waldwei-wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    gap: 1rem;
}

.waldwei-wizard-back,
.waldwei-wizard-next,
.waldwei-wizard-submit {
    background: #fcf1e3;
    color: #0e161c;
    border: none;
    border-radius: 12px;
    padding: 0.95rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.waldwei-wizard-back {
    background: transparent;
    border: 1px solid rgba(252, 241, 227, 0.3);
    color: #fcf1e3;
}

.waldwei-wizard-back:hover {
    background: rgba(252, 241, 227, 0.05);
    border-color: rgba(252, 241, 227, 0.5);
}

.waldwei-wizard-next:hover,
.waldwei-wizard-submit:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.waldwei-wizard-next:disabled,
.waldwei-wizard-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ==============================
   Messages
   ============================== */

#waldwei-wizard-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    display: none;
}

#waldwei-wizard-message.show {
    display: block;
}

#waldwei-wizard-message.success {
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

#waldwei-wizard-message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ==============================
   Responsive
   ============================== */

@media (max-width: 768px) {
    .waldwei-wizard {
        padding: 2rem 1rem;
    }
    
    .waldwei-step-title {
        font-size: 1.5rem;
    }
    
    .waldwei-form-row,
    .waldwei-form-row-3 {
        grid-template-columns: 1fr;
    }
    
    #waldwei-time-options {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .waldwei-wizard-nav {
        flex-direction: column-reverse;
    }
    
    .waldwei-wizard-back,
    .waldwei-wizard-next,
    .waldwei-wizard-submit {
        width: 100%;
    }
}



/* ==============================
   Marketing Opt-in – refined
   ============================== */

.waldwei-marketing-optin {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(252, 241, 227, 0.12);
}

.waldwei-optin-label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.85;
    color: #fcf1e3;
}

/* minder “kaart”, meer keuze */
.waldwei-radio-group {
    display: grid;
    gap: 0.6rem;
}

.waldwei-radio-option {
    display: flex;
    align-items: flex-start; /* key: niet center */
    gap: 0.75rem;

    padding: 0.85rem 1rem;
    border-radius: 10px;
    cursor: pointer;

    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(252, 241, 227, 0.15);

    transition: background 0.2s ease, border-color 0.2s ease;
}

.waldwei-radio-option:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(252, 241, 227, 0.25);
}

/* radio exact op tekst-as */
.waldwei-radio-option input[type="radio"] {
    margin-top: 2px; /* dit fixeert het “iets lager” gevoel */
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    cursor: pointer;

    accent-color: #f0c155;
}

/* subtiele selected state */
.waldwei-radio-option input[type="radio"]:checked + .waldwei-radio-text {
    opacity: 1;
}

.waldwei-radio-option.is-selected {
    background: rgba(252, 241, 227, 0.08);
    border-color: rgba(252, 241, 227, 0.35);
}

/* tekst iets compacter & hoger */
.waldwei-radio-text {
    font-size: 0.95rem;
    line-height: 1.35;
    color: #fcf1e3;
    opacity: 0.85;
}

/* disclaimer blijft ondergeschikt */
.waldwei-optin-disclaimer {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0.65;
    color: #fcf1e3;
}

.waldwei-btn .waldwei-btn-danger {
	padding: 10px;
}


