.dcr-quiz {
    max-width: 560px;
    margin: 40px auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.dcr-quiz-header {
    text-align: center;
    margin-bottom: 32px;
}

.dcr-quiz-header h2 {
    color: #2d5c4f;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 12px;
}

.dcr-quiz-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 6px;
}

.dcr-quiz-subtle {
    color: #aaa !important;
    font-style: italic;
    font-size: 15px !important;
}

/* Steps */
.dcr-quiz-step {
    display: none;
    animation: dcr-fade-in 0.4s ease;
}

.dcr-quiz-step.dcr-active {
    display: block;
}

.dcr-hidden {
    display: none !important;
}

@keyframes dcr-fade-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Counter */
.dcr-quiz-counter {
    display: inline-block;
    background: #f0ede8;
    color: #888;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Labels */
.dcr-quiz-label {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.dcr-quiz-hint {
    color: #999;
    font-size: 14px;
    margin: 0 0 16px;
}

/* Text input */
.dcr-quiz-input {
    display: block;
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #e0dbd5;
    border-radius: 10px;
    background: #fff;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.dcr-quiz-input:focus {
    border-color: #2d5c4f;
}

/* Radio options */
.dcr-quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 24px;
}

.dcr-quiz-option {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border: 2px solid #e0dbd5;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.dcr-quiz-option:hover {
    border-color: #b8d4c8;
    background: #f9fdf9;
}

.dcr-quiz-option.dcr-selected {
    border-color: #2d5c4f;
    background: #f0f8f4;
}

.dcr-quiz-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin: 0 14px 0 0;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.dcr-quiz-option input[type="radio"]:checked {
    border-color: #2d5c4f;
    background: #2d5c4f;
}

.dcr-quiz-option input[type="radio"]:checked::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dcr-quiz-option span {
    font-size: 15px;
    color: #444;
    line-height: 1.4;
}

/* Navigation */
.dcr-quiz-nav {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 4px;
}

.dcr-quiz-btn,
.dcr-quiz-btn-back {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.dcr-quiz-btn {
    background: #2d5c4f;
    color: #fff;
    margin-top: 20px;
}

.dcr-quiz-btn:hover {
    background: #234a3f;
}

.dcr-quiz-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

.dcr-quiz-btn-back {
    background: #f0ede8;
    color: #666;
    margin-top: 20px;
}

.dcr-quiz-btn-back:hover {
    background: #e0dbd5;
}

/* Progress bar */
.dcr-quiz-progress {
    height: 4px;
    background: #e0dbd5;
    border-radius: 2px;
    margin-top: 32px;
    overflow: hidden;
}

.dcr-quiz-progress-bar {
    height: 100%;
    background: #2d5c4f;
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* Done state */
.dcr-quiz-done {
    text-align: center;
    padding: 40px 0;
}

.dcr-quiz-done-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    font-size: 32px;
    color: #fff;
    background: #2d5c4f;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.dcr-quiz-done h2 {
    color: #2d5c4f;
    font-size: 24px;
    margin: 0 0 12px;
}

.dcr-quiz-done p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 8px;
}

/* Mobile */
@media (max-width: 600px) {
    .dcr-quiz {
        margin: 20px 16px;
    }

    .dcr-quiz-label {
        font-size: 18px;
    }

    .dcr-quiz-option {
        padding: 12px 14px;
    }

    .dcr-quiz-btn,
    .dcr-quiz-btn-back {
        padding: 12px 20px;
        font-size: 14px;
    }
}
