#mbs-decision-wheel {
    max-width: 1100px;
    margin: 40px auto;
    padding: 24px;
    font-family: Inter, Arial, sans-serif;
}

.dw-app {
    background: #ffffff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.dw-header {
    margin-bottom: 32px;
}

.dw-header h1 {
    margin: 0 0 8px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1;
}

.dw-header p {
    margin: 0;
    color: #6f6f7b;
    font-size: 18px;
}

.dw-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 32px;
    align-items: start;
}

.dw-tasks,
.dw-wheel {
    background: #f7f7fb;
    border-radius: 24px;
    padding: 24px;
}

.dw-tasks h2 {
    margin: 0 0 18px;
    font-size: 24px;
}

.dw-input-row {
    display: flex;
    gap: 12px;
}

.dw-input-row input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #ddddE8;
    border-radius: 14px;
    font-size: 16px;
    outline: none;
}

.dw-input-row input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.dw-input-row button,
#spin-button {
    border: 0;
    border-radius: 14px;
    background: #8b5cf6;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.dw-input-row button {
    padding: 0 20px;
}

.dw-wheel {
    text-align: center;
}

#wheel {
    display: block;
    width: min(100%, 420px);
    height: auto;
    margin: 0 auto 20px;

    background: #ffffff;
    border-radius: 50%;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.08),
        inset 0 0 0 8px #ffffff;

    transition: transform 4s cubic-bezier(.17, .67, .18, 1);
}
.dw-wheel {
    position: relative;
}

.dw-wheel::before{
    content:"";

    position:absolute;

    top:14px;
    left:50%;

    transform:translateX(-50%);

    width:0;
    height:0;

    border-left:18px solid transparent;
    border-right:18px solid transparent;
    border-top:32px solid #8b5cf6;

    z-index:10;

    filter:drop-shadow(0 5px 10px rgba(0,0,0,.18));
}



#spin-button {
    width:100%;
    padding:16px;
    border:0;
    border-radius:16px;
    background:#8b5cf6;
    color:white;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}
#spin-button:hover{
    transform:translateY(-2px);

    box-shadow:0 12px 30px rgba(139,92,246,.35);
}

#spin-button:active{
    transform:scale(.98);
}

#spin-button:disabled{
    opacity:.6;
    cursor:not-allowed;
}

@media (max-width: 800px) {
    #mbs-decision-wheel {
        margin: 20px auto;
        padding: 12px;
    }

    .dw-app {
        padding: 20px;
    }

    .dw-layout {
        grid-template-columns: 1fr;
    }
}