.dsim-wrap {
    max-width: 720px;
    margin: 40px auto;
    padding: 32px 28px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    font-family: "Assistant", sans-serif;
    color: #2a2a2a;
    direction: rtl;
    text-align: right;
    line-height: 1.7;
}

.dsim-wrap h1 { font-size: 44px; margin: 0 0 18px; color: #FF5A5C; }
.dsim-wrap h2 { font-size: 26px; margin: 0 0 12px; color: #FF5A5C; }
.dsim-wrap h3 { font-size: 24px; margin: 22px 0 8px; color: #FF5A5C; }
.dsim-wrap p  { margin: 0 0 12px; font-size: 24px; line-height: 1.5em; }

.dsim-screen { display: none; }
.dsim-screen.is-active { display: block; }

.dsim-intro .dsim-btn-primary { margin-top: 20px; background: #FF5A5C; }

.dsim-progress {
    height: 6px;
    background: #EFECE8;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 24px!important;
}
.dsim-progress-bar {
    height: 100%;
    width: 0;
    background: #FF5A5C;
    transition: width 0.3s ease;
}

.dsim-step { font-size: 14px; color: #000; margin-bottom: 8px; }
.dsim-scenario { background: #EFECE8; padding: 14px 16px; border-radius: 10px; margin-bottom: calc(24px + 1em); }

.dsim-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.dsim-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 2px solid #EFECE8;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: #fff;
}
.dsim-option:hover { border-color: #FF5A5C; background: #fff; }
.dsim-option input { margin-top: 6px; accent-color: #FF5A5C; }
.dsim-option input:checked ~ .dsim-answer-text,
.dsim-option input:checked ~ .dsim-letter { font-weight: 600; }
.dsim-option:has(input:checked) { border-color: #FF5A5C; background: #EFECE8; }
.dsim-letter { font-weight: 600; color: #FF5A5C; min-width: 20px; }
.dsim-answer-text { flex: 1; }

.dsim-nav { display: flex; gap: 10px; justify-content: flex-start; }
.dsim-btn {
    display: inline-block;
    padding: 12px 26px;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.1s, background 0.15s;
}
.dsim-btn:active { transform: translateY(1px); }
.dsim-btn-primary { background: #FF5A5C; color: #fff; }
.dsim-btn-primary:hover,
.dsim-btn-primary:focus,
.dsim-btn-primary:active { background: #FF5A5C; color: #fff; }
.dsim-btn-primary[disabled] { background: #ffb3b4; color: #fff; cursor: not-allowed; }
.dsim-btn-ghost { background: #fff!important; color: #FF5A5C; border: 2px solid #FF5A5C; }
.dsim-btn-ghost:hover,
.dsim-btn-ghost:focus,
.dsim-btn-ghost:active { background: #FF5A5C; color: #FF5A5C; border-color: #FF5A5C; }

.dsim-field { display: block; margin-bottom: 14px; }
.dsim-field span { display: block; margin-bottom: 6px; font-size: 15px; color: #555; }
.dsim-field input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e8e0d2;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}
.dsim-field input:focus { outline: none; border-color: #c89660; }

.dsim-error {
    background: #fdecea;
    color: #a4291f;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 15px;
}

.dsim-result hr { border: 0; border-top: 1px solid #eee; margin: 24px 0; }
.dsim-result-closing { font-weight: 600; color: #FF5A5C; }
.dsim-multiline { white-space: pre-line; }
.dsim-closing-note { color: #000; font-size: 15px; }
.dsim-closing-note p { margin: 0 0 12px; }
.dsim-book-cta { margin-top: 16px !important; }
.dsim-book-cta a {
    display: inline-block;
    padding: 11px 24px;
    background: #FF5A5C;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 24px;
    transition: background 0.15s;
}
.dsim-book-cta a:hover { background: #FF5A5C; color: #fff; }

@media (max-width: 600px) {
    .dsim-wrap { margin: 16px; padding: 22px 18px; }
    .dsim-wrap h1 { font-size: 32px; }
    .dsim-wrap h2 { font-size: 19px; }
    .dsim-btn { padding: 11px 20px; font-size: 15px; width: 100%; }
    .dsim-nav { flex-direction: column-reverse; }
}
