/* Slider Form Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.slider-form-root {
    font-family: Inter, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: #111827;
}

/* Focus mode header */
.focus-mode-header {
    background: #f5f6f7;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 10001;
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
    padding: 0;
}

.slider-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin-top: 20px;
}

.slider-content {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    padding: 0px;
    padding-top: 32px;
    margin-top: 30px;
}

.slides-wrapper {
    position: relative;
    transition: height 0.4s ease-in-out;
    will-change: height;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 26px;
    color: #111827;
    line-height: 1.3;
}

.slide-description {
    font-size: 16px;
    text-align: center;
    margin-bottom: 32px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 500px;
}

.options-container {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.option-button {
    padding: 18px 24px;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-family: inherit;
}

.option-button:hover {
    border-color: #2773F7;
    background: #eff6ff;
}

.option-button:active {
    transform: scale(0.98);
}

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

/* Form page styles */
.form-container {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.input-field {
    padding: 14px 16px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: #2773F7;
}

.input-field.error {
    border-color: #dc2626;
}

.error-message {
    font-size: 13px;
    color: #dc2626;
    margin-top: 4px;
    display: none;
}

.error-message.visible {
    display: block;
}

.submit-button {
    padding: 16px 24px;
    background: #2773F7;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    margin-top: 10px;
}

.submit-button:hover {
    background: #1E5DD9;
}

.submit-button:active {
    transform: scale(0.98);
}

.submit-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.legal-text {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    text-align: left;
}

/* Success page styles */
#slide4 {
    padding-top: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    margin-top: 0px;
}

.success-icon svg {
    width: 48px;
    height: 48px;
    color: #2773F7;
}

.success-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #111827;
}

.success-message {
    font-size: 18px;
    text-align: center;
    color: #6b7280;
    line-height: 1.6;
    max-width: 400px;
}

/* Header section */
.header-section {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 30px;
}

.main-headline {
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    margin-top: 8px;
}

.checkboxes-container {
    display: flex;
    flex-direction: row;
    gap: 60px;
    margin-top: 16px;
    margin-bottom: 16px;
    align-items: flex-start;
    justify-content: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.header-cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: linear-gradient(to right, #16a34a, #15803d);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-cta-button:hover {
    background: linear-gradient(to right, #15803d, #166534);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.checkbox-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 10px;
    font-size: 15px;
    color: #374151;
}

.checkbox-icon {
    font-size: 18px;
    flex-shrink: 0;
    padding-bottom: 2px;
    margin-top: 1px;
}

/* Progress indicators */
.progress-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #2773F7;
    width: 24px;
    border-radius: 5px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .slide {
        padding: 10px 10px;
    }

    .slide-title {
        font-size: 24px;
    }

    .option-button {
        font-size: 16px;
        padding: 16px 20px;
    }

    .success-title {
        font-size: 28px;
    }

    .main-headline {
        font-size: 20px;
    }

    .checkbox-item {
        font-size: 14px;
    }

    .checkboxes-container {
        max-width: 100%;
        gap: 30px;
    }

    .badge-box {
        gap: 30px;
        padding: 16px;
    }

    .badge-item {
        font-size: 14px;
    }

    .badge-item svg {
        width: 24px;
        height: 24px;
    }

    .badge-item div {
        font-size: 14px !important;
    }
}

@media (max-width: 450px) {
    .logo-text {
        margin-top: 0px !important;
    }
}

@media (max-width: 400px) {
    .checkboxes-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .badge-box {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
}

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

.slide {
    animation: fadeIn 0.5s ease;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.c-star {
    width: var(--size, 32px);
    height: var(--size, 32px);
    fill: lightgrey;
}

.c-star.active {
    fill: #fed94b;
}

.badge-box {
    background: #eef6ff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 32px 10px;
    max-width: 600px;
    justify-self: center;
    display: flex;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    flex: 1;
    min-width: 0;
}

/* Footer */
.slider-footer {
    width: 100%;
    border-top: 1px solid #e5e7eb;
    margin-top: 60px;
}

.slider-footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 16px;
    font-size: 12px;
    color: #9ca3af;
}

.slider-footer-content a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.slider-footer-content a:hover {
    color: #111827;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top-color: #16a34a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.submit-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 12px;
    display: none;
}

.submit-error.visible {
    display: block;
}

.submit-error-text {
    font-size: 14px;
    color: #dc2626;
    line-height: 1.5;
}
