/* Kliko Configurator Styles */
/* Mobile touch support - prevent double-tap zoom and improve responsiveness */
* {
    -webkit-tap-highlight-color: rgba(70, 127, 5, 0.2);
}

.kliko-configurator {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    touch-action: pan-y; /* Allow vertical scrolling, prevent horizontal */
}

.configurator-header {
    text-align: center;
    margin-bottom: 30px;
}

.configurator-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.configurator-header p {
    color: #7f8c8d;
    font-size: 1.1em;
}

/* Progress Bar */
.configurator-progress {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #467f05, #3a6a04) !important;
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* Force override any conflicting progress bar styles */
#kliko-configurator .progress-fill,
.kliko-configurator .progress-fill,
.progress-fill {
    background: linear-gradient(90deg, #467f05, #3a6a04) !important;
    background-color: #467f05 !important;
}

/* Override any blue progress bars */
.progress-fill[style*="blue"],
.progress-fill[style*="#07f"],
.progress-fill[style*="#006de9"],
.progress-fill[style*="#3498db"],
.progress-fill[style*="#2980b9"] {
    background: linear-gradient(90deg, #467f05, #3a6a04) !important;
    background-color: #467f05 !important;
}

/* Override Gravity Forms progress bar styles */
.gform_wrapper .progress-fill,
.gform_legacy_markup_wrapper .progress-fill,
.gf_progressbar_percentage.progress-fill {
    background: linear-gradient(90deg, #467f05, #3a6a04) !important;
    background-color: #467f05 !important;
}

/* Override any other progress bar styles */
*[class*="progress"] .progress-fill,
*[id*="progress"] .progress-fill {
    background: linear-gradient(90deg, #467f05, #3a6a04) !important;
    background-color: #467f05 !important;
}

/* Override Bootstrap progress bar styles specifically */
.progress-bar {
    background-color: #467f05 !important;
    background: linear-gradient(90deg, #467f05, #3a6a04) !important;
}

/* Override any Bootstrap or theme progress bar styles */
.progress .progress-bar,
.progress-bar,
[class*="progress"] .progress-bar,
[class*="progress"] .progress-fill {
    background-color: #467f05 !important;
    background: linear-gradient(90deg, #467f05, #3a6a04) !important;
}

/* Force override for any blue colors */
[style*="#007bff"],
[style*="blue"],
.progress-bar[style*="blue"],
.progress-fill[style*="blue"] {
    background-color: #467f05 !important;
    background: linear-gradient(90deg, #467f05, #3a6a04) !important;
}

/* Very specific override for Bootstrap progress bar */
.progress-bar,
.progress .progress-bar,
.progress-bar[style*="background-color: #007bff"],
.progress-bar[style*="background-color:#007bff"] {
    background-color: #467f05 !important;
    background: linear-gradient(90deg, #467f05, #3a6a04) !important;
}

/* Override any inline styles */
.progress-bar[style] {
    background-color: #467f05 !important;
    background: linear-gradient(90deg, #467f05, #3a6a04) !important;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    width: 40px;
    height: 40px;
    min-width: 44px; /* Minimum touch target size */
    min-height: 44px; /* Minimum touch target size */
    border-radius: 50%;
    background-color: #467f05;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(70, 127, 5, 0.2);
}

.step:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(70, 127, 5, 0.3);
}

.step:focus {
    outline: 2px solid #467f05;
    outline-offset: 2px;
}

.step.active {
    background-color: #467f05;
    color: white;
    transform: scale(1.1);
}

.step.completed {
    background-color: #27ae60;
    color: white;
}

.step.completed:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Tooltip for clickable steps */
.step[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2c3e50;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9em;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

.step[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2c3e50;
    z-index: 1000;
}

/* Step Content */
.config-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.config-step.active {
    display: block;
}

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

.step-header {
    text-align: center;
    margin-bottom: 30px;
}

.step-header h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.8em;
}

.step-header p {
    color: #7f8c8d;
    font-size: 1.1em;
}

/* Kliko Grid (Stap 1) */
.kliko-grid {
    width: 100%;
    margin-bottom: 30px;
}

.kliko-card {
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(70, 127, 5, 0.2);
    min-height: 44px; /* Minimum touch target size */
}

.kliko-card:hover {
    border-color: #467f05;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(70, 127, 5, 0.2);
}

.kliko-card.selected {
    border-color: #467f05;
    background-color: #f8f9ff;
}

.card-image {
    height: 250px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0; /* Prevent shrinking in flexbox */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-content h3,
.card-content h4 {
    min-height: 2.6em; /* Approximately 2 lines of text */
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-content h4 {
    color: #2c3e50;
    font-size: 1.3em;
}

.card-content p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-input label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 60px;
}

.quantity-field {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 1em;
    text-align: center;
    transition: border-color 0.3s ease;
}

.quantity-field:focus {
    outline: none;
    border-color: #467f05;
}

/* Type Grid (Stap 2) */
.type-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

/* Kliko Type Sections */
.kliko-type-section {
    margin-bottom: 40px;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    position: relative;
}

.section-header {
    background: linear-gradient(135deg, #467f05, #3a6a04);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #2980b9;
}

.houtsoort-options,
.sedumdak-options,
.achterwand-options,
.bediening-options {
    width: 100%;
    padding: 20px;
}

/* Multiple sections styling */
.kliko-type-section + .kliko-type-section {
    margin-top: 30px;
}

/* Section indicator */
.kliko-type-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #467f05, #3a6a04);
}

/* Option Grids (Stap 3-6) */
.sedumdak-grid,
.achterwand-grid,
.bediening-grid {
    width: 100%;
    margin-bottom: 30px;
}

.option-card {
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(70, 127, 5, 0.2);
    min-height: 44px; /* Minimum touch target size */
    flex-direction: column;
}

.option-card:hover {
    border-color: #467f05;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(70, 127, 5, 0.15);
}

.option-card.selected {
    border: 3px solid #467f05 !important;
    background-color: #f8f9ff !important;
    box-shadow: 0 0 10px rgba(70, 127, 5, 0.3) !important;
}

.option-image {
    height: 250px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0; /* Prevent shrinking in flexbox */
}

.option-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.option-content {
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.option-card h3, .option-content h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.option-content p {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0;
}

/* Price Overview */
.price-overview {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    border: 1px solid #ecf0f1;
    position: relative;
}

.price-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    min-height: 60px;
    align-items: center;
}

.price-thumbnails.hidden {
    display: none;
}

.price-thumbnail {
    width: auto;
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #467f05;
    position: relative;
    flex-shrink: 0;
}

.price-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-thumbnails-empty {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    width: 100%;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item.total {
    font-weight: bold;
    font-size: 1.2em;
    color: #2c3e50;
}

/* Navigation */
.configurator-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.btn {
    padding: 12px 24px;
    min-height: 44px; /* Minimum touch target size */
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(70, 127, 5, 0.2);
}

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

.btn-prev {
    background-color: #95a5a6;
    color: white;
}

.btn-prev:hover:not(:disabled) {
    background-color: #467f05;
}

.btn-next {
    background-color: #467f05;
    color: white;
}

.btn-next:hover:not(:disabled) {
    background-color: #467f05;
}

.btn-order {
    background-color: #27ae60;
    color: white;
}

.btn-order:hover:not(:disabled) {
    background-color: #229954;
}
.btn:hover, input[type="submit"]:hover, input#gform_submit_button_1:hover, input#gform_submit_button_:hover {
    background-color: #9f8447!important;
    color:white!important;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #467f05;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .kliko-grid {
        grid-template-columns: repeat(3, calc(33.333% - 13.33px));
    }
}

@media (max-width: 900px) {
    .kliko-grid {
        grid-template-columns: repeat(2, calc(50% - 10px));
    }
}

@media (max-width: 768px) {
    .kliko-configurator {
        padding: 15px;
    }
    
    .configurator-header h2 {
        font-size: 2em;
    }
    
    .kliko-grid {
        grid-template-columns: 1fr;
    }
    
    .type-grid,
    .sedumdak-grid,
    .achterwand-grid,
    .bediening-grid,
    .extras-grid {
        grid-template-columns: 1fr;
    }
    
    .configurator-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .progress-steps {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .step {
        width: 44px; /* Minimum touch target size on mobile */
        height: 44px; /* Minimum touch target size on mobile */
        min-width: 44px;
        min-height: 44px;
        font-size: 0.9em;
    }
    
    .card-content,
    .option-content {
        padding: 15px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.kliko-card:focus,
.option-card:focus,
.quantity-field:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #467f05;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .kliko-configurator {
        border: 2px solid #000;
    }
    
    .kliko-card,
    .option-card {
        border: 2px solid #000;
    }
    
    .kliko-card.selected,
    .option-card.selected {
        border-color: #000;
        background: #fff;
    }
} 

/* Responsive adjustments for sections */
@media (max-width: 768px) {
    .section-header {
        padding: 12px 15px;
        font-size: 1.1em;
    }
}

/* Type Option Styling */
.type-option {
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.type-option:hover {
    border-color: #467f05;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(70, 127, 5, 0.15);
}

.type-option.selected {
    border-color: #467f05;
    background-color: #f8f9ff;
} 

.extras-grid {
    width: 100%;
    margin-bottom: 30px;
}

/* Type option styling */
.type-option {
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.type-option:hover {
    border-color: #467f05;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(70, 127, 5, 0.15);
}

.type-option.selected {
    border-color: #467f05;
    background-color: #f8f9ff;
} 

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: block;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
}

.modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
}

.modal-body {
    padding: 1rem;
    color: #6c757d;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}

.close {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: 0.5;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.close:hover {
    opacity: 0.75;
}

/* Alert Styles */
.alert {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

/* Improved Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #467f05;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-message {
    font-size: 1.1em;
    font-weight: 500;
}

/* Accessibility Improvements */
.option-card:focus,
.kliko-card:focus,
.type-option:focus {
    outline: 2px solid #467f05;
    outline-offset: 2px;
}

.option-card:focus:not(:focus-visible),
.kliko-card:focus:not(:focus-visible),
.type-option:focus:not(:focus-visible) {
    outline: none;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Improved button states */
.btn:focus {
    outline: 2px solid #467f05;
    outline-offset: 2px;
}

.btn:focus:not(:focus-visible) {
    outline: none;
}

/* Better responsive design */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
        max-width: none;
    }
    
    .configurator-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .configurator-navigation .btn {
        width: 100%;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .option-card,
    .kliko-card {
        border-width: 3px;
    }
    
    .btn {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .option-card,
    .kliko-card,
    .btn {
        transition: none;
    }
    
    .loading-spinner {
        animation: none;
    }
    
    #total {
        transition: none;
    }
}

/* Tooltip/Pop-up Styles */
.info-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #467f05;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.info-icon:hover {
    background: #3a6a04;
    transform: scale(1.1);
}

.option-card,
.kliko-card,
.type-option {
    position: relative;
}

.card-content,
.option-content {
    position: relative;
}

/* Tooltip/Pop-up Modal */
.tooltip-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

.tooltip-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltip-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: tooltipSlideIn 0.3s ease;
}

@keyframes tooltipSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.tooltip-header {
    padding: 20px 20px 0 20px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.tooltip-title {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.5em;
}

.tooltip-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tooltip-close:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.tooltip-body {
    padding: 0 20px 20px 20px;
}

.tooltip-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #495057;
}

.tooltip-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.tooltip-gallery img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tooltip-gallery img:hover {
    border-color: #467f05;
    transform: scale(1.05);
}

/* Responsive tooltip */
@media (max-width: 768px) {
    .tooltip-content {
        margin: 10px;
        max-width: none;
        max-height: 90vh;
    }
    
    .tooltip-gallery {
        flex-direction: column;
        gap: 10px;
    }
    
    .tooltip-gallery img {
        width: 100%;
        height: 120px;
    }
}

/* Delivery Options Styling */
.delivery-icon {
    font-size: 4em;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.option-content .description {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Contact Form Styling */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

/* Save & Resume Styling */
.kliko-save-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    color: #fff;
    font-weight: 500;
    z-index: 1000000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
}

.kliko-save-notification.show {
    transform: translateX(0);
}

.kliko-save-notification-success {
    background-color: #28a745;
}

.kliko-save-notification-error {
    background-color: #dc3545;
}

/* Modal Styling */
.kliko-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kliko-modal-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90%;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.kliko-modal-header {
    padding: 24px 24px 0 24px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kliko-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5em;
    font-weight: 600;
}

.kliko-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.kliko-modal-close:hover {
    background: #f8f9fa;
    color: #495057;
}

.kliko-modal-body {
    padding: 24px;
}

.kliko-modal-body p {
    margin: 0 0 16px 0;
    color: #495057;
    font-size: 1.1em;
    line-height: 1.5;
}

.kliko-modal-body p:last-child {
    margin-bottom: 0;
}

.kliko-modal-body strong {
    color: #467f05;
}

.kliko-modal-footer {
    padding: 0 24px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.kliko-modal-footer .button {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid;
}

.kliko-modal-footer .button-secondary {
    border-color: #6c757d;
    background: transparent;
    color: #6c757d;
}

.kliko-modal-footer .button-secondary:hover {
    background: #6c757d;
    color: white;
}

.kliko-modal-footer .button-primary {
    border-color: #467f05;
    background: #467f05;
    color: white;
}

.kliko-modal-footer .button-primary:hover {
    background: #3a6a04;
    border-color: #3a6a04;
}

.save-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
}

.save-info p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #495057;
}

.save-info p:last-child {
    margin-bottom: 0;
}

#save-config-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 2px solid #6c757d;
    background: transparent;
    color: #6c757d;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

#save-config-btn:hover {
    background: #6c757d;
    color: #fff;
    border-color: #6c757d;
}

#save-config-btn i {
    font-size: 16px;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #467f05;
    box-shadow: 0 0 0 3px rgba(70, 127, 5, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.form-check-input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    border: 2px solid #ecf0f1;
    border-radius: 4px;
}

.form-check-input:checked {
    background-color: #467f05;
    border-color: #467f05;
}

.form-check-label {
    font-size: 0.95em;
    line-height: 1.5;
    color: #495057;
}

.form-check-label a {
    color: #467f05;
    text-decoration: underline;
}

.form-check-label a:hover {
    color: #3a6a04;
}

/* Responsive form adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 0 15px;
    }
    
    .form-control {
        padding: 10px 12px;
    }
    
    .delivery-icon {
        font-size: 3em;
    }
}

/* Tooltip Styles */
.tooltip-trigger {
    cursor: help;
    margin-left: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #467f05;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.3s ease;
    position: relative;
    vertical-align: middle;
    text-decoration: none;
    border: none;
    outline: none;
}

.tooltip-trigger:hover {
    background-color: #5a9a0a;
    transform: scale(1.05);
}

#tooltip-container {
    position: fixed !important;
    background: #333 !important;
    color: white !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    max-width: 500px !important;
    min-width: 200px !important;
    width: auto !important;
    z-index: 9999999 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    display: none;
    line-height: 1.6 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    pointer-events: none !important;
}

#tooltip-container img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
    margin: 5px 0;
}

#tooltip-container p {
    margin: 5px 0;
    font-size: 14px;
}

#tooltip-container ul {
    margin: 10px 0;
    padding-left: 25px;
    list-style-type: disc;
    max-width: 100%;
    overflow: hidden;
    font-size: 14px;
}

#tooltip-container li {
    margin: 6px 0;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 14px;
}

#tooltip-container strong {
    color: #fff;
}

#tooltip-container a {
    color: #4CAF50;
    text-decoration: underline;
}

#tooltip-container a:hover {
    color: #66BB6A;
}

/* Mobile tooltip adjustments */
@media (max-width: 767px) {
    #tooltip-container {
        max-width: calc(100vw - 20px);
        min-width: 200px;
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 6px;
        max-height: 50vh;
        overflow-y: auto;
    }
    
    #tooltip-container::before {
        display: none; /* Hide arrow on mobile for cleaner look */
    }
}

#tooltip-container::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #333;
}

.option-content {
    position: relative;
}

.option-content .tooltip-trigger {
    position: absolute;
    bottom: 8px;
    right: 8px;
    margin: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #467f05;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.3s ease;
    cursor: help;
    z-index: 10;
    text-decoration: none;
    border: none;
    outline: none;
}

.option-content .tooltip-trigger:hover {
    background-color: #5a9a0a;
    transform: scale(1.05);
}

/* Sedumdak Options Layout */
.sedumdak-option-group {
    margin-bottom: 20px;
}

.option-group-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
}

.kliko-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.kliko-sedumdak-option {
    text-align: center;
}

.kliko-type-label {
    font-size: 0.9em;
    font-weight: 500;
    color: #7f8c8d;
    margin-bottom: 8px;
    text-align: center;
    padding: 4px 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.kliko-sedumdak-option .option-card {
    margin-bottom: 0;
    min-height: auto;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.kliko-sedumdak-option .option-card.selected {
    border: 5px solid #467f05 !important;
    background-color: #e8f5e8 !important;
    box-shadow: 0 0 15px rgba(70, 127, 5, 0.5) !important;
    transform: scale(1.02) !important;
}

.kliko-sedumdak-option .card-content h3 {
    font-size: 1.1em;
}

.kliko-sedumdak-option .card-content .price {
    font-size: 1em;
}

/* Achterwand Options Layout */
.achterwand-option-group {
    margin-bottom: 20px;
}

.kliko-achterwand-option {
    text-align: center;
}

.kliko-achterwand-option .option-card {
    margin-bottom: 0;
    min-height: 120px;
}

.kliko-achterwand-option .card-content h3 {
    font-size: 0.9em;
}

.kliko-achterwand-option .card-content .price {
    font-size: 0.8em;
}

/* Bediening Options Layout */
.bediening-option-group {
    margin-bottom: 20px;
}

.kliko-bediening-option {
    text-align: center;
}

.kliko-bediening-option .option-card {
    margin-bottom: 0;
    min-height: 120px;
}

.kliko-bediening-option .card-content h3 {
    font-size: 0.9em;
}

.kliko-bediening-option .card-content .price {
    font-size: 0.8em;
}

/* Print styles */
@media print {
    .configurator-navigation,
    #loading-overlay,
    .modal,
    .tooltip-modal {
        display: none !important;
    }
    
    .config-step {
        display: block !important;
        page-break-inside: avoid;
    }
} 