body {
    font-family: 'Inter', sans-serif;
}
.page {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.page.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.progress-bar-fill {
    transition: width 0.5s ease-in-out;
}

/* Styles for button-like radio inputs */
.btn-radio input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.btn-radio label {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    width: 120px;
    text-align: center;
}

/* Yes Button Styles */
.btn-radio-yes label {
    border-color: #10b981;
    color: #059669;
}
.btn-radio-yes label:hover {
    background-color: #d1fae5;
}
.btn-radio-yes input[type="radio"]:checked + label {
    background-color: #10b981;
    border-color: #059669;
    color: white;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* No Button Styles */
.btn-radio-no label {
    border-color: #ef4444;
    color: #dc2626;
}
.btn-radio-no label:hover {
    background-color: #fee2e2;
}
.btn-radio-no input[type="radio"]:checked + label {
    background-color: #ef4444;
    border-color: #dc2626;
    color: white;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Validation Error Style */
.question-error {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
    border-width: 2px;
}
