.cro-widget-container {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.cro-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #64748b;
    font-size: 0.875rem;
}

.cro-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #f1f5f9;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.cro-question-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.cro-options.list-mode {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cro-option {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cro-option:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

/* Multiple Choice Specifics */
.cro-option.multiple.active {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 0 0 1px #3b82f6 inset;
}

.cro-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
    background: white;
}

.cro-option:hover .cro-checkbox {
    border-color: #3b82f6;
}

.cro-checkbox.checked {
    background: #3b82f6;
    border-color: #3b82f6;
}

.cro-checkbox.checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cro-next-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.cro-next-btn:hover {
    background: #2563eb;
}

.cro-next-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

.cro-progress {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
}

.cro-result-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    text-align: center;
}

.cro-cta {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cro-cta:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.featured-cta {
    background: #2563eb;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.125rem;
    padding: 1rem;
    margin-top: 1.5rem;
}


/* Conversion Block (Post-Result) */
.cro-conversion-block {
    animation: fadeIn 0.5s ease-out;
}

.cro-conversion-block h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.cro-conversion-block p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.cro-calendly-container iframe {
    border-radius: 8px;
    background: #fff;
}

.cro-cta-container {
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 8px;
}

/* Input Specifics */
.cro-text-input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
}

.cro-text-input:focus {
    border-color: #3b82f6;
}

.cro-text-input.error {
    border-color: #ef4444;
    animation: shake 0.3s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}