.interactive-demo {
    margin: 32px 0;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
}

.interactive-demo h3 {
    font-size: 1.25rem; /* 20px */
    font-weight: 500;
    margin-bottom: 16px;
}

.demo-area {
    background-color: #fafafa;
    padding: 24px;
    border-radius: 4px;
    min-height: 200px;
    position: relative;
    border: 1px solid #e0e0e0;
}

.action-button {
    background-color: var(--primary-color);
    color: var(--on-primary-color);
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
    margin: 8px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.action-button:hover {
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.2);
}

.action-button:active {
    box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
}

.action-button-outlined {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 9px 23px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 8px;
    outline: none;
}

.action-button-outlined:hover {
    background-color: rgba(25, 118, 210, 0.04); /* primary-color with low opacity */
    border-color: var(--primary-color);
}

.action-button:disabled,
.action-button-outlined:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.action-button:disabled:hover,
.action-button-outlined:disabled:hover {
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    background-color: inherit;
}