
:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --muted: #718096;
    --accent-1: #2b87f0;
    --accent-2: #7bd389;
    --danger: #ff6b6b;
    --glass: rgba(255,255,255,0.6);
    --radius: 14px;
    --shadow: 0 8px 30px rgba(20,30,60,0.08);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}


.card {
    width: 95%;
    max-width: 610px;
    background: linear-gradient(180deg,var(--card),#fbfdff);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
    box-sizing: border-box;
    border: 1px solid rgba(35,60,120,0.04);
    margin: auto;
    margin-top: 20px;
    margin-bottom: 17px;
}

.head {
    gap: 12px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.title-desc{
    text-align: left;
    padding-left: 5px;
}

.icon-wrap {
    min-width: 48px;
    min-height: 48px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,var(--accent-1),#5aa7ff);
    color: white;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(43,135,240,0.18);
}

h1 {
    font-size: 15px;
    margin: 0 0 4px 0;
    font-weight: 600;
    color: #0f1724
}

p.lead {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.choice-group {
    margin-top: 18px;
    gap: 12px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/* hide native radios */
.choice input[type="radio"] {
    display: none
}

/* the button-like radio label */
.choice label {
    user-select: none;
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 7px 11px;
    border-radius: 12px;
    border: 1px solid rgba(15,23,36,0.06);
    background: linear-gradient(180deg,rgba(255,255,255,0.9),var(--glass));
    box-shadow: 0 2px 10px rgba(16,24,40,0.03);
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
    min-width: 90px;
    justify-content: center;
    font-weight: 600;
    color: #123;
    position: relative;
}

    .choice label:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(20,30,60,0.08)
    }

/* visual state when checked */
.choice input[type="radio"]:checked + label {
    border-color: rgba(43,135,240,0.22);
    box-shadow: 0 10px 30px rgba(43,135,240,0.12);
    transform: translateY(-4px) scale(1.02);
    color: #062c5b;
}

.choice .dot {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    display: inline-grid;
    place-items: center;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(15,23,36,0.06);
}

/* special styles for YES / NO */
.choice.yes input[type="radio"]:checked + label {
    background: linear-gradient(90deg,var(--accent-1),#66a8ff);
    color: white;
    border-color: transparent;
}

.choice.yes label .dot {
    background: rgba(255,255,255,0.18);
}

.choice.no input[type="radio"]:checked + label {
    background: linear-gradient(90deg,#ffe6e6,var(--danger));
    color: #390b0b;
    border-color: transparent
}

.choice.no label .dot {
    background: rgba(255,255,255,0.22)
}

.actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end
}

.btn {
    padding: 10px 14px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    background: #f1f5f9;
    color: #0f1724;
    border: 1px solid rgba(15,23,36,0.06);
}

    .btn.primary {
        background: linear-gradient(90deg,var(--accent-1),#66a8ff);
        color: white;
        box-shadow: 0 8px 30px rgba(43,135,240,0.12);
    }

.note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--muted);
    display: flex;
    gap: 8px;
    align-items: center
}

/* small responsive tweaks */
@media (max-width:420px) {
    .choice-group {
        /*flex-direction: column*/
    }

    .actions {
        justify-content: stretch
    }

    .btn {
        width: 100%
    }
}
