/**
 * Zorgvergoeding Checker Styles
 * Iris Optiek - Zichtbaar Beter
 */

/* Main Container */
.zv-checker {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Header */
.zv-header {
    text-align: center;
    margin-bottom: 32px;
}

.zv-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 8px;
}

.zv-header p {
    color: #64748b;
    font-size: 1rem;
}

/* Progress Bar */
.zv-progress {
    margin-bottom: 32px;
}

.zv-progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.zv-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4a853 0%, #c9a227 100%);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.zv-steps-indicator {
    display: flex;
    justify-content: space-between;
}

.zv-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
}

.zv-step-dot.active {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    color: white;
    transform: scale(1.1);
}

.zv-step-dot.completed {
    background: linear-gradient(90deg, #d4a853 0%, #c9a227 100%);
    color: #1a365d;
}

/* Steps Content */
.zv-content {
    min-height: 280px;
}

.zv-step {
    animation: fadeIn 0.3s ease;
}

.zv-step h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 24px;
    text-align: center;
}

/* Options */
.zv-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zv-options-large {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.zv-option-btn {
    padding: 16px 24px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.zv-option-btn:hover {
    border-color: #1a365d;
    background: #f1f5f9;
}

.zv-option-btn.selected {
    border-color: #1a365d;
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    color: white;
}

.zv-options-large .zv-option-btn {
    flex: 1;
    max-width: 200px;
    flex-direction: column;
    padding: 30px 24px;
}

.zv-option-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zv-option-icon svg {
    width: 40px;
    height: 40px;
}

.zv-option-btn.selected .zv-option-icon svg {
    stroke: white;
    fill: white;
}

/* Select Dropdown */
.zv-select-wrapper {
    position: relative;
}

.zv-select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #1e293b;
    background: #f8fafc;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
}

.zv-select:focus {
    outline: none;
    border-color: #1a365d;
}

/* Hint Text */
.zv-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 16px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #92400e;
}

.zv-hint svg {
    flex-shrink: 0;
    margin-top: 2px;
    fill: #d97706;
}

/* Navigation */
.zv-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.zv-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zv-prev-btn {
    background: #f1f5f9;
    color: #475569;
}

.zv-prev-btn:hover {
    background: #e2e8f0;
}

.zv-next-btn {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    color: white;
    margin-left: auto;
}

.zv-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

.zv-nav-btn svg {
    width: 20px;
    height: 20px;
}

/* Result */
.zv-result-card {
    text-align: center;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.zv-result-likely {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.zv-result-likely .zv-result-icon {
    background: #10b981;
}

.zv-result-possible {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.zv-result-possible .zv-result-icon {
    background: #f59e0b;
}

.zv-result-unknown {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.zv-result-unknown .zv-result-icon {
    background: #64748b;
}

.zv-result-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.zv-result-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.zv-result-title {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 8px;
}

.zv-result-description {
    color: #475569;
    line-height: 1.6;
}

/* Result Details */
.zv-result-details {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.zv-result-details h4 {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

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

.zv-summary-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #1e293b;
}

.zv-summary-list li:last-child {
    border-bottom: none;
}

.zv-summary-list strong {
    color: #64748b;
    font-weight: 500;
}

/* Disclaimer */
.zv-disclaimer {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #eff6ff;
    border-radius: 12px;
    margin-bottom: 24px;
}

.zv-disclaimer svg {
    flex-shrink: 0;
    fill: #3b82f6;
}

.zv-disclaimer p {
    font-size: 0.875rem;
    color: #1e40af;
    margin: 0;
    line-height: 1.5;
}

/* CTA Buttons */
.zv-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zv-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #d4a853 0%, #c9a227 100%);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a365d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zv-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 83, 0.4);
}

.zv-restart-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zv-restart-btn:hover {
    border-color: #1a365d;
    color: #1a365d;
}

/* Modal */
.zv-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.zv-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.zv-modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 16px;
    padding: 32px;
    animation: slideUp 0.3s ease;
}

.zv-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.zv-modal-close:hover {
    background: #e2e8f0;
}

.zv-modal-close svg {
    width: 20px;
    height: 20px;
    color: #64748b;
}

.zv-modal-content h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 8px;
}

.zv-modal-content > p {
    color: #64748b;
    margin-bottom: 24px;
}

/* Form */
.zv-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zv-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.zv-form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}

.zv-form-group input,
.zv-form-group select,
.zv-form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.zv-form-group input:focus,
.zv-form-group select:focus,
.zv-form-group textarea:focus {
    outline: none;
    border-color: #1a365d;
}

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

.zv-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: #64748b;
}

.zv-privacy input {
    margin-top: 3px;
}

.zv-privacy a {
    color: #1a365d;
    text-decoration: underline;
}

.zv-submit-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zv-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

.zv-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.zv-form-success {
    text-align: center;
    padding: 20px;
}

.zv-success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.zv-success-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.zv-form-success h4 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 8px;
}

.zv-form-success p {
    color: #64748b;
    margin-bottom: 20px;
}

.zv-close-success-btn {
    padding: 12px 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s;
}

.zv-close-success-btn:hover {
    background: #e2e8f0;
}

/* Honeypot */
.zv-honeypot {
    position: absolute;
    left: -9999px;
}

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

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

/* Mobile Responsive */
@media (max-width: 640px) {
    .zv-checker {
        padding: 24px 20px;
        border-radius: 12px;
    }
    
    .zv-header h2 {
        font-size: 1.5rem;
    }
    
    .zv-options-large {
        flex-direction: column;
    }
    
    .zv-options-large .zv-option-btn {
        max-width: 100%;
        flex-direction: row;
        padding: 20px 24px;
    }
    
    .zv-form-row {
        grid-template-columns: 1fr;
    }
    
    .zv-modal-content {
        padding: 24px 20px;
    }
}

/* Hidden utility */
.hidden {
    display: none !important;
}
