/* Boothkings Frontend Styles */

:root {
    --bkbf-primary: #2271b1;
    --bkbf-secondary: #646970;
    --bkbf-success: #27ae60;
    --bkbf-danger: #e74c3c;
    --bkbf-border: #ddd;
    --bkbf-bg-light: #f9f9f9;
}

/* Focus indicators: 2px black dotted */
*:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible,
label:focus-visible {
    outline: 2px dotted #000;
    outline-offset: 2px;
}

input[type="radio"]:focus-visible,
input[type="checkbox"]:focus-visible {
    outline: 2px dotted #000;
    outline-offset: 3px;
}

/* Visually hidden but accessible to screen readers */
.bkbf-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Container */
.bkbf-form-container,
.bkbf-summary-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

/* Form Intro */
.bkbf-form-intro {
    margin-bottom: 30px;
}

.bkbf-form-intro p {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
    color: #666;
}

.bkbf-reset-link {
    color: var(--bkbf-primary, #1e87f0);
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.2s;
}

.bkbf-reset-link:hover {
    color: #1565c0;
    text-decoration: none;
}

/* Step styling */
/* Oude styling met shadow verwijderd */

.bkbf-step {
    border: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.bkbf-step-title,
.bkbf-step legend {
    margin: 0 0 25px 0;
    padding: 0 0 15px 0;
    border: none;
    color: var(--bkbf-secondary);
    font-size: 24px;
    width: 100%;
    font-weight: 600;
    min-height: 39px; /* Voorkom verspringen tijdens scroll */
}

/* Photobooth Grid */
.bkbf-photobooths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default, wordt overschreven door inline style */
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .bkbf-photobooths-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .bkbf-photobooths-grid {
        grid-template-columns: 1fr !important;
    }
}

.bkbf-photobooth-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.bkbf-photobooth-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Base Photobooth Label Styles */
.bkbf-photobooth-label {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid var(--bkbf-border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

/* Modern Style (default) */
.bkbf-photobooth-label {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bkbf-photobooth-label:hover {
    border-color: var(--bkbf-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* Classic Style */
.bkbf-card-style-classic .bkbf-photobooth-label {
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid #ddd;
}

.bkbf-card-style-classic .bkbf-photobooth-label:hover {
    border-color: var(--bkbf-primary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transform: none;
}

/* Minimal Style */
.bkbf-card-style-minimal .bkbf-photobooth-label {
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 3px solid transparent;
}

.bkbf-card-style-minimal .bkbf-photobooth-label:hover {
    border-bottom-color: var(--bkbf-primary);
    box-shadow: none;
    transform: none;
}

/* Shadow Style */
.bkbf-card-style-shadow .bkbf-photobooth-label {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.bkbf-card-style-shadow .bkbf-photobooth-label:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transform: translateY(-4px);
}

/* Checked State for All Styles */
.bkbf-photobooth-card input[type="radio"]:checked + .bkbf-photobooth-label {
    border-color: var(--bkbf-primary);
    background: #e7f3ff;
}

.bkbf-card-style-modern .bkbf-photobooth-card input[type="radio"]:checked + .bkbf-photobooth-label {
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.2);
}

.bkbf-card-style-minimal .bkbf-photobooth-card input[type="radio"]:checked + .bkbf-photobooth-label {
    border-bottom: 3px solid var(--bkbf-primary);
}

.bkbf-card-style-shadow .bkbf-photobooth-card input[type="radio"]:checked + .bkbf-photobooth-label {
    box-shadow: 0 6px 20px rgba(34, 113, 177, 0.3);
}

/* Image Container */
.bkbf-photobooth-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bkbf-bg-light);
}

.bkbf-photobooth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bkbf-photobooth-label:hover .bkbf-photobooth-image img {
    transform: scale(1.05);
}

.bkbf-card-style-minimal .bkbf-photobooth-image {
    border-radius: 0;
}

.bkbf-card-style-shadow .bkbf-photobooth-image {
    border-radius: 12px 12px 0 0;
}

/* Info Section */
.bkbf-photobooth-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bkbf-photobooth-info h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #333;
}

.bkbf-photobooth-price {
    color: var(--bkbf-primary);
    font-weight: 600;
    font-size: 16px;
}

.bkbf-photobooth-description {
    background: var(--bkbf-bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.bkbf-photobooth-description h3 {
    margin-top: 0;
}

/* Extras List */
.bkbf-extras-list {
    display: grid;
    gap: 5px;
}

.bkbf-extra-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 2px solid var(--bkbf-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.bkbf-extra-item:hover {
    border-color: var(--bkbf-primary);
    background: var(--bkbf-bg-light);
}

.bkbf-extra-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
}

.bkbf-extra-item label {
    flex: 1;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bkbf-extra-name {
    font-weight: 600;
    color: #333;
}

.bkbf-extra-price {
    color: var(--bkbf-primary);
    font-weight: 600;
    min-width: 60px;
    align-self: flex-start;
}

/* Radio Cards */
.bkbf-radio-card {
    position: relative;
    margin-bottom: 15px;
}

.bkbf-radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bkbf-radio-label {
    display: block;
    padding: 20px;
    border: 2px solid var(--bkbf-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bkbf-radio-label:hover {
    border-color: var(--bkbf-primary);
    background: var(--bkbf-bg-light);
}

.bkbf-radio-card input[type="radio"]:focus-visible + .bkbf-radio-label {
    outline: 2px dotted #000;
    outline-offset: 2px;
    border-color: var(--bkbf-primary);
}

.bkbf-radio-card input[type="radio"]:checked + .bkbf-radio-label {
    border-color: var(--bkbf-primary);
    background: #e7f3ff;
}

.bkbf-radio-card input[type="radio"]:checked:focus-visible + .bkbf-radio-label {
    outline: 2px dotted #000;
    outline-offset: 2px;
    border-color: var(--bkbf-primary);
    background: #e7f3ff;
}

.bkbf-radio-label strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.bkbf-radio-label p {
    margin: 0;
    color: var(--bkbf-secondary);
    font-size: 14px;
}

/* Form Groups */
.bkbf-form-group {
    margin-bottom: 20px;
}

.bkbf-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.bkbf-form-group input[type="text"],
.bkbf-form-group input[type="email"],
.bkbf-form-group input[type="tel"],
.bkbf-form-group input[type="date"],
.bkbf-form-group input[type="time"],
.bkbf-form-group select,
.bkbf-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--bkbf-border);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.bkbf-form-group input:focus,
.bkbf-form-group select:focus,
.bkbf-form-group textarea:focus {
    outline: none;
    border-color: var(--bkbf-primary);
}

/* Error styling */
.bkbf-error-highlight {
    border-color: var(--bkbf-danger) !important;
    background-color: #fff5f5 !important;
}

.bkbf-photobooths-grid.bkbf-error-highlight,
.bkbf-printer-options.bkbf-error-highlight,
.bkbf-transport-options.bkbf-error-highlight,
.bkbf-submission-options.bkbf-error-highlight {
    border: 2px solid var(--bkbf-danger);
    background-color: #fff5f5;
    padding: 15px;
    border-radius: 4px;
}

.bkbf-field-error {
    color: var(--bkbf-danger);
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
    padding: 10px 15px;
    background-color: #fff5f5;
    border-left: 4px solid var(--bkbf-danger);
    border-radius: 4px;
    animation: bkbf-error-fade-in 0.3s ease-in-out;
}

@keyframes bkbf-error-fade-in {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bkbf-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Coupon Input */
.bkbf-coupon-input {
    display: flex;
    gap: 10px;
}

.bkbf-coupon-input input {
    flex: 1;
}

/* Messages */
.bkbf-message {
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
}

.bkbf-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bkbf-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.bkbf-info {
    background: #e7f3ff;
    border-left: 4px solid var(--bkbf-primary);
    padding: 12px;
    margin: 10px 0;
}

/* Buttons */
.bkbf-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.bkbf-btn-primary {
    background: var(--bkbf-primary);
    color: #fff;
}

.bkbf-btn-primary:hover {
    background: #135e96;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.bkbf-btn-secondary {
    background: var(--bkbf-secondary);
    color: #fff;
}

.bkbf-btn-secondary:hover {
    background: #50575e;
}

.bkbf-btn-success {
    background: var(--bkbf-success);
    color: #fff;
    font-size: 18px;
    padding: 15px 40px;
}

.bkbf-btn-success:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.bkbf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bkbf-step-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: space-between;
}

/* Price Display */
.bkbf-final-price {
    background: var(--bkbf-bg-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.bkbf-price-display {
    font-size: 20px;
    margin-bottom: 20px;
}

.bkbf-price-display strong {
    display: block;
    font-size: 36px;
    color: var(--bkbf-primary);
    margin-top: 10px;
}

.bkbf-deposit-notice {
    font-size: 13px;
    color: #666;
    margin: 10px 0 0 0;
    line-height: 1.5;
}

/* Summary Box */
.bkbf-summary-box {
    background: #fff;
    border: 1px solid var(--bkbf-border);
    border-radius: 4px;
    padding: 25px;
}

.bkbf-summary-title {
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bkbf-primary);
    color: var(--bkbf-primary);
    font-size: 22px;
}

.bkbf-summary-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.bkbf-summary-label {
    font-weight: 600;
    color: var(--bkbf-secondary);
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bkbf-summary-value {
    color: #333;
    font-size: 15px;
}

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

.bkbf-summary-list li {
    padding: 5px 0;
}

.bkbf-summary-divider {
    height: 2px;
    background: var(--bkbf-border);
    margin: 10px 0;
}

.bkbf-price-breakdown {
    margin-top: 12px;
}

.bkbf-price-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 15px;
}

.bkbf-price-item span:first-child {
    text-align: left;
}

.bkbf-price-item span:last-child {
    text-align: right;
}

.bkbf-total-price {
    font-size: 20px;
    color: var(--bkbf-primary);
}

.bkbf-btw-note {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-top: 0;
}

.bkbf-summary-note {
    margin-top: 10px;
    text-align: center;
    color: var(--bkbf-secondary);
}

.bkbf-summary-reset {
    margin-top: 15px;
    text-align: center;
}

.bkbf-btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* Compacte summary stijl */
.bkbf-summary-compact {
    margin-bottom: 10px;
}

/* Price tag in radio labels */
.bkbf-price-tag {
    font-size: 14px;
    color: var(--bkbf-primary);
    font-weight: 500;
    margin-left: 8px;
}

.bkbf-price-tag.bkbf-discount {
    color: #27ae60;
}

/* Disabled transport card */
.bkbf-radio-card.bkbf-disabled {
    opacity: 0.5;
    position: relative;
    pointer-events: none;
    cursor: not-allowed;
}

.bkbf-radio-card.bkbf-disabled input[type="radio"] {
    cursor: not-allowed;
}

.bkbf-transport-notice {
    font-size: 12px;
    color: #d63638;
    margin-top: 5px;
    font-style: italic;
}

.bkbf-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 14px;
    color: #333;
}

.bkbf-summary-line:first-child {
    font-weight: 600;
    font-size: 15px;
    color: var(--bkbf-primary);
}

.bkbf-summary-line.bkbf-discount {
    color: #27ae60;
}

.bkbf-summary-line span:first-child {
    flex: 1;
    text-align: left;
}

.bkbf-summary-line span:last-child {
    font-weight: 500;
    white-space: nowrap;
    margin-left: 10px;
    text-align: right;
}

/* Afstandsberekening feedback */
.bkbf-calculating {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #856404;
    font-weight: 500;
    margin-top: 10px;
}

.bkbf-info-box {
    background: #e7f3ff;
    border: 1px solid #2196F3;
    border-radius: 6px;
    padding: 12px 15px;
    color: #0d47a1;
    font-weight: 500;
    margin-top: 10px;
}

.bkbf-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 12px 15px;
    color: #155724;
    font-weight: 500;
    margin-top: 10px;
}

.bkbf-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 12px 15px;
    color: #721c24;
    font-weight: 500;
    margin-top: 10px;
}

/* Spinner animatie */
.bkbf-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(133, 100, 4, 0.3);
    border-top-color: #856404;
    border-radius: 50%;
    animation: bkbf-spin 0.8s linear infinite;
}

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

/* Lange pagina modus - progressief onthullen */
.bkbf-longpage-mode .bkbf-step {
    display: none; /* Start verborgen, wordt progressief getoond */
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.bkbf-longpage-mode .bkbf-step:last-child {
    border-bottom: none;
}

.bkbf-longpage-mode .bkbf-step-title {
    /* Sticky removed per user request */
    background: transparent;
    padding: 0;
    margin: 0 0 25px 0;
}

.bkbf-longpage-mode .bkbf-step-actions {
    display: flex; /* Toon navigatie knoppen */
    margin-top: 30px;
}

.bkbf-longpage-mode .bkbf-prev-step {
    display: none !important; /* Verberg "Vorige stap" in longpage mode */
}

/* Visuele scheiding tussen stappen in longpage mode */
.bkbf-longpage-mode .bkbf-step::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--bkbf-primary), transparent);
    margin-top: 30px;
}

.bkbf-longpage-mode .bkbf-step:last-child::after {
    display: none;
}

/* Extra's item structuur */
.bkbf-extra-item {
    margin-bottom: 8px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s;
}

.bkbf-extra-item:hover {
    background: #f9f9f9;
    border-color: var(--bkbf-primary);
}

.bkbf-extra-item label {
    cursor: pointer;
    display: block;
    margin: 0;
}

.bkbf-extra-item input[type="checkbox"] {
    margin-right: 10px;
}

.bkbf-extra-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin-bottom: 5px;
    margin-left: 5px;
}

.bkbf-extra-name {
    color: var(--bkbf-secondary);
    font-size: 14px;
    position: relative;
}

.bkbf-extra-price {
    color: var(--bkbf-primary);
    font-weight: 600;
    font-size: 14px;
}

.bkbf-extra-description {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-top: 3px;
    margin-left: 5px;
    text-transform: lowercase;
    font-weight: 400;
}

/* Capitalize first letter of description */
.bkbf-extra-description::first-letter {
    text-transform: uppercase;
}

/* Tooltip voor extra's - Modern Flat Design */
.bkbf-tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--bkbf-primary, #1e87f0);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    cursor: help;
    margin-left: 6px;
    vertical-align: middle;
    transition: all 0.2s ease;
    position: relative;
    opacity: 0.85;
}

.bkbf-tooltip-icon:hover {
    background: var(--bkbf-primary, #1e87f0);
    opacity: 1;
    transform: scale(1.1);
}

.bkbf-tooltip {
    position: fixed;
    bottom: auto;
    top: auto;
    left: auto;
    transform: none;
    background: #ffffff;
    color: #333;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 280px;
    min-width: 200px;
    z-index: 99999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #e0e0e0;
    display: none;
    pointer-events: none;
    white-space: normal;
    text-align: left;
}

.bkbf-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #ffffff;
}

.bkbf-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #e0e0e0;
    margin-top: 1px;
    z-index: -1;
}

/* Tooltip below icon (if no space above) */
.bkbf-tooltip-below::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #ffffff;
}

.bkbf-tooltip-below::before {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 1px;
    border-top-color: transparent;
    border-bottom-color: #e0e0e0;
}

/* Toast Notification */
.bkbf-toast-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #2c3e50;
    color: white;
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 999999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 500px;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
}

.bkbf-toast-notification.bkbf-toast-show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.bkbf-toast-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: #4CAF50;
    flex-shrink: 0;
}

.bkbf-toast-notification span {
    flex: 1;
}

@media (max-width: 768px) {
    .bkbf-toast-notification {
        left: 20px;
        right: 20px;
        max-width: none;
        transform: translate(0, -50%) scale(0.8);
        padding: 20px 24px;
        font-size: 15px;
    }
    
    .bkbf-toast-notification.bkbf-toast-show {
        transform: translate(0, -50%) scale(1);
    }
}

/* Success Message */
.bkbf-success-message {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.bkbf-success-message h2 {
    color: #155724;
    margin-top: 0;
}

.bkbf-success-message p {
    color: #155724;
    font-size: 16px;
}

/* Loading */
.bkbf-loading {
    text-align: center;
    padding: 20px;
    color: var(--bkbf-secondary);
}

.bkbf-btn-loader {
    display: inline-block;
}

/* Distance Display */
.bkbf-distance-display {
    background: var(--bkbf-bg-light);
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .bkbf-photobooths-grid {
        grid-template-columns: 1fr;
    }
    
    .bkbf-form-row {
        grid-template-columns: 1fr;
    }
    
    .bkbf-step-actions {
        flex-direction: column;
    }
    
    .bkbf-btn {
        width: 100%;
    }
    
    .bkbf-coupon-input {
        flex-direction: column;
    }
    
    .bkbf-summary-box {
        position: static;
    }
}

/* DateTime Modal */
.bkbf-datetime-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bkbf-datetime-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: bkbf-fade-in 0.3s ease;
}

.bkbf-datetime-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: bkbf-scale-in 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes bkbf-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bkbf-scale-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.bkbf-datetime-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.bkbf-datetime-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--bkbf-secondary, #222);
}

.bkbf-datetime-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.bkbf-datetime-modal-close:hover {
    color: #333;
}

.bkbf-datetime-modal-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.bkbf-datetime-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
}

/* Calendar */
.bkbf-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.bkbf-calendar-header button {
    background: var(--bkbf-primary, #1e87f0);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.bkbf-calendar-header button:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.bkbf-calendar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--bkbf-secondary, #222);
}

.bkbf-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.bkbf-calendar-weekdays div {
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 13px;
    padding: 8px 0;
}

.bkbf-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.bkbf-calendar-day {
    aspect-ratio: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.bkbf-calendar-day:hover:not(.disabled):not(.other-month) {
    background: #FFBA00;
    color: #000;
    border-color: #FFBA00;
}

.bkbf-calendar-day.selected {
    background: #000;
    color: white;
    font-weight: 600;
}

.bkbf-calendar-day.selected:hover {
    background: #FFBA00;
    color: #000;
    border: 2px solid #000;
}

.bkbf-calendar-day.selected.keyboard-focus {
    background: #000;
    color: white;
    border-color: #000;
}

.bkbf-calendar-day.selected.keyboard-focus:hover {
    background: #FFBA00;
    color: #000;
    border: 2px solid #000;
}

.bkbf-calendar-day.today {
    border-color: var(--bkbf-primary, #1e87f0);
    font-weight: 600;
}

.bkbf-calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #fafafa;
}

.bkbf-calendar-day.other-month {
    color: #ccc;
    cursor: default;
}

/* Keyboard focus in calendar */
.bkbf-calendar-day.keyboard-focus {
    outline: 2px dotted #000;
    outline-offset: -2px;
    background: rgba(0, 0, 0, 0.05);
}

/* Time Picker */
.bkbf-datetime-time h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    color: var(--bkbf-secondary, #222);
}

.bkbf-time-picker {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
    -webkit-overflow-scrolling: touch;
}

.bkbf-time-picker::-webkit-scrollbar {
    width: 6px;
}

.bkbf-time-picker::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.bkbf-time-picker::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.bkbf-time-picker::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.bkbf-time-option {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    font-size: 15px;
}

.bkbf-time-option:hover {
    background: #FFBA00;
    color: #000;
    border-color: #FFBA00;
}

.bkbf-time-option.selected {
    background: #000;
    color: white;
    border-color: #000;
    font-weight: 600;
}

.bkbf-time-option.selected:hover {
    background: #FFBA00;
    color: #000;
    border: 2px solid #000;
}

.bkbf-time-option.selected.keyboard-focus {
    background: #000;
    color: white;
    border-color: #000;
}

.bkbf-time-option.selected.keyboard-focus:hover {
    background: #FFBA00;
    color: #000;
    border: 2px solid #000;
}

/* Keyboard focus in time picker */
.bkbf-time-option.keyboard-focus {
    outline: 2px dotted #000;
    outline-offset: -2px;
    background: rgba(0, 0, 0, 0.05);
}

/* DateTime Modal Error Message */
.bkbf-datetime-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 0 24px 16px 24px;
    text-align: center;
    animation: bkbf-fade-in 0.3s ease;
}

/* DateTime Modal - Responsive */
@media (max-width: 768px) {
    .bkbf-datetime-modal-content {
        width: 95%;
        max-width: 95%;
        max-height: 95vh;
        margin: 10px;
    }
    
    .bkbf-datetime-modal-header {
        padding: 16px 20px;
    }
    
    .bkbf-datetime-modal-header h3 {
        font-size: 18px;
    }
    
    .bkbf-datetime-modal-body {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }
    
    .bkbf-datetime-time {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .bkbf-calendar-header button {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .bkbf-calendar-title {
        font-size: 16px;
    }
    
    .bkbf-calendar-weekdays div {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .bkbf-calendar-days {
        gap: 3px;
    }
    
    .bkbf-calendar-day {
        font-size: 13px;
        border-width: 1px;
    }
    
    .bkbf-datetime-time h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .bkbf-time-picker {
        max-height: 250px;
    }
    
    /* Zichtbaardere scrollbar op mobiel */
    .bkbf-time-picker::-webkit-scrollbar {
        width: 10px;
    }
    
    .bkbf-time-picker::-webkit-scrollbar-track {
        background: #e0e0e0;
    }
    
    .bkbf-time-picker::-webkit-scrollbar-thumb {
        background: #999;
        border-radius: 5px;
    }
    
    .bkbf-time-option {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .bkbf-datetime-modal-footer {
        padding: 12px 16px;
        flex-wrap: wrap;
        padding-bottom: 16px;
    }
    
    .bkbf-datetime-modal-footer .bkbf-btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .bkbf-datetime-modal-content {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .bkbf-calendar-days {
        gap: 2px;
    }
    
    .bkbf-calendar-day {
        font-size: 12px;
    }
}

/* Readonly input cursor */
input[readonly] {
    cursor: pointer;
}

/* Textarea font matching */
textarea {
    font-family: inherit;
}

/* Coupon message styling */
.bkbf-message {
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    animation: bkbf-fade-in 0.3s ease;
}

.bkbf-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.bkbf-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Confirm Modal (Reset) */
.bkbf-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bkbf-confirm-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: bkbf-fade-in 0.2s ease;
}

.bkbf-confirm-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    padding: 30px;
    text-align: center;
    animation: bkbf-scale-in 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bkbf-confirm-modal-content h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: var(--bkbf-secondary, #222);
}

.bkbf-confirm-modal-content p {
    margin: 0 0 25px 0;
    font-size: 15px;
    color: #666;
}

.bkbf-confirm-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.bkbf-btn-danger {
    background-color: #d63638;
    border-color: #d63638;
    color: white;
}

.bkbf-btn-danger:hover {
    background-color: #b32d2e;
    border-color: #b32d2e;
}

@media (max-width: 600px) {
    .bkbf-confirm-modal-content {
        padding: 25px 20px;
    }
    
    .bkbf-confirm-modal-actions {
        flex-direction: column;
    }
    
    .bkbf-confirm-modal-actions .bkbf-btn {
        width: 100%;
    }
}

/* Success Modal */
.bkbf-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bkbf-success-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    animation: bkbf-fade-in 0.3s ease;
}

.bkbf-success-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    padding: 50px 40px;
    text-align: center;
    animation: bkbf-scale-in 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bkbf-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bkbf-scale-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s both;
}

.bkbf-success-icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

.bkbf-success-modal-content h2 {
    margin: 0 0 15px 0;
    font-size: 28px;
    color: var(--bkbf-secondary, #222);
}

.bkbf-success-modal-content p {
    margin: 0 0 30px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.bkbf-success-home {
    min-width: 200px;
}

@media (max-width: 600px) {
    .bkbf-success-modal-content {
        padding: 40px 30px;
    }
    
    .bkbf-success-icon {
        width: 70px;
        height: 70px;
    }
    
    .bkbf-success-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .bkbf-success-modal-content h2 {
        font-size: 24px;
    }
}

/* Extra Labels */
.bkbf-extra-label {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    vertical-align: middle;
}

.bkbf-extra-label.purple {
    background-color: #9b59b6;
    color: #ffffff;
}

.bkbf-extra-label.blue {
    background-color: #3498db;
    color: #ffffff;
}

.bkbf-extra-label.red {
    background-color: #e74c3c;
    color: #ffffff;
}

.bkbf-extra-label.green {
    background-color: #27ae60;
    color: #ffffff;
}
