.dmq-wrapper * {
    box-sizing: border-box;
}

.dmq-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #EBF7FF 50%, #ffffff 100%);
    padding: 3rem 1rem;
}

.dmq-container {
    max-width: 760px;
    margin: 0 auto;
}

.dmq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dmq-header h2 {
    font-size: 2.5rem;
    color: #142542;
    margin: 0 0 1rem;
    font-weight: 700;
}

.dmq-header p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.dmq-progress-section {
    margin-bottom: 2rem;
}

.dmq-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #142542;
}

.dmq-progress-bar {
    width: 100%;
    height: 12px;
    background-color: #EBF7FF;
    border-radius: 20px;
    overflow: hidden;
}

.dmq-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3392FF, #0053B2);
    transition: width 0.35s ease;
}

.dmq-card,
.dmq-result-card,
.dmq-form-section,
.dmq-success-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.dmq-question {
    font-size: 1.5rem;
    font-weight: 700;
    color: #142542;
    margin-bottom: 2rem;
}

.dmq-answers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dmq-answer-btn {
    text-align: left;
    padding: 1.25rem;
    border: 2px solid #EBF7FF;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.dmq-answer-btn:hover,
.dmq-answer-btn:focus {
    border-color: #0053B2;
    background-color: #EBF7FF;
    box-shadow: 0 4px 12px rgba(0, 83, 178, 0.1);
    outline: none;
}

.dmq-chevron {
    color: #5FBEFF;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.dmq-answer-btn:hover .dmq-chevron,
.dmq-answer-btn:focus .dmq-chevron {
    transform: translateX(4px);
}

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

.dmq-result-card {
    margin-bottom: 2rem;
    border-top: 4px solid #0053B2;
}

.dmq-result-title {
    font-size: 2rem;
    color: #0053B2;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.dmq-result-why {
    background-color: #EBF7FF;
    border-left: 4px solid #FF9933;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    color: #555;
    line-height: 1.6;
}

.dmq-result-why strong {
    color: #142542;
}

.dmq-result-section-title,
.dmq-form-title {
    font-size: 1.5rem;
    color: #142542;
    margin-bottom: 1rem;
    font-weight: 700;
}

.dmq-result-points {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dmq-result-points li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: #555;
    line-height: 1.6;
}

.dmq-result-points li:before {
    content: "•";
    color: #3392FF;
    font-weight: bold;
    flex-shrink: 0;
}

.dmq-form-subtitle {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.dmq-grid {
    display: grid;
    gap: 1rem;
}

.dmq-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dmq-grid-3 {
    grid-template-columns: 2fr 1fr 1fr;
}

.dmq-form-group {
    margin-bottom: 1.25rem;
}

.dmq-form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #142542;
    margin-bottom: 0.5rem;
}

.dmq-form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #EBF7FF;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.dmq-form-group input:focus {
    outline: none;
    border-color: #0053B2;
}

.dmq-disclaimer {
    background-color: #EBF7FF;
    border-left: 4px solid #5FBEFF;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.dmq-disclaimer strong {
    color: #142542;
}

.dmq-disclaimer-top {
    margin-bottom: 2rem;
}

.dmq-submit-btn,
.dmq-reset-btn {
    width: 100%;
    padding: 1rem;
    background-color: #0053B2;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dmq-submit-btn:hover,
.dmq-submit-btn:focus,
.dmq-reset-btn:hover,
.dmq-reset-btn:focus {
    background-color: #142542;
    outline: none;
}

.dmq-submit-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.dmq-error {
    display: none;
    margin: 0 0 1rem;
    color: #9b1c1c;
    background: #fde8e8;
    border: 1px solid #f8b4b4;
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.dmq-error.is-visible {
    display: block;
}

.dmq-success-card {
    text-align: center;
    border-top: 4px solid #0053B2;
}

.dmq-success-icon {
    width: 4rem;
    height: 4rem;
    background-color: #3392FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 2rem;
}

.dmq-success-title {
    font-size: 2rem;
    color: #142542;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.dmq-success-message {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .dmq-wrapper {
        padding: 1.5rem 1rem;
    }

    .dmq-header h2 {
        font-size: 1.75rem;
    }

    .dmq-card,
    .dmq-result-card,
    .dmq-form-section,
    .dmq-success-card {
        padding: 1.5rem;
    }

    .dmq-question {
        font-size: 1.25rem;
    }

    .dmq-grid-2,
    .dmq-grid-3 {
        grid-template-columns: 1fr;
    }
}


.dmq-result-label {
    display: inline-block;
    background-color: #0053B2;
    color: #fff;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.dmq-primary-result {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #EBF7FF;
}

.dmq-secondary-result {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #EBF7FF;
}

.dmq-secondary-result:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.dmq-secondary-result .dmq-result-title {
    font-size: 1.5rem;
    color: #142542;
}
