/* FORM WRAPPER */
.wrq-form-wrapper {
    max-width: 1100px !important;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* PROGRESS BAR */
.wrq-progress-bar-wrapper {
    margin-bottom: 20px;
}

.wrq-progress-bar {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #f1f5f9;
    overflow: hidden;
}

.wrq-progress-bar-fill {
    height: 100%;
    width: 0;
    background: #fa8c16;
    transition: width 0.25s ease-out;
}

.wrq-progress-text {
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
    text-align: right;
}

/* STEPS */
.wrq-step {
    display: none;
}

.wrq-step-active {
    display: block;
}

.wrq-step-title {
    font-size: 30px !important;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wrq-step-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.wrq-icon {
    color: #fa8c16;
}

/* FIELD INPUTS */
.wrq-field {
    margin-bottom: 14px;
}

.wrq-input {
    width: 100%;
    padding: 15px 15px !important;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 18px !important;
    background: #f8fafc;
    box-sizing: border-box;
}

.wrq-input:focus {
    outline: none;
    border-color: #fa8c16;
    box-shadow: 0 0 0 1px rgba(250, 140, 22, 0.25);
}

/* HORIZONTAL LINEAR GRID FOR OPTIONS */
.wrq-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

/* OPTION & CHECKBOX BOXES */
.wrq-option,
.wrq-checkbox {
    flex: 1 1 calc(50% - 12px);
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 15px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    font-size: 18px;
    background: #f8fafc;
    transition: all 0.2s ease-out;
    text-align: center;
    box-sizing: border-box;
}

/* Hide actual inputs */
.wrq-option input,
.wrq-checkbox input {
    display: none !important;
}

/* Hover effect */
.wrq-option:hover,
.wrq-checkbox:hover {
    border-color: #fa8c16;
    background: #fff7ed;
    transform: translateY(-2px);
}

/* SELECTED STATE */
.wrq-option.selected,
.wrq-checkbox.selected {
    border-color: #fa8c16 !important;
    background: #fff7ed !important;
    box-shadow: 0 0 0 3px rgba(250, 140, 22, 0.25) !important;
    transform: translateY(-2px) !important;
}

/* Selection animation */
.wrq-option.selected,
.wrq-checkbox.selected {
    animation: wrqSelectPop 0.12s ease-out;
}

@keyframes wrqSelectPop {
    0% { transform: scale(0.97); }
    100% { transform: scale(1); }
}

/* CHECKBOX LIST */
.wrq-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.wrq-checkbox-list .wrq-checkbox {
    flex: 1 1 100%;
    justify-content: flex-start;
}

/* FOOTER BUTTONS */
.wrq-step-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.wrq-step-footer-final {
    justify-content: flex-end;
}

.wrq-btn {
    border: none;
    border-radius: 999px;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

/* Back button */
.wrq-btn-back {
    background: #e2e8f0;
    color: #0f172a;
}

.wrq-btn-back:hover {
    background: #cbd5e1;
}

/* Next + Submit */
.wrq-btn-next,
.wrq-btn-submit {
    background: #fa8c16;
    color: #ffffff;
}

.wrq-btn-next:hover,
.wrq-btn-submit:hover {
    background: #d9720c;
}

.wrq-form-loading {
    opacity: 0.65;
    pointer-events: none;
}

/* MESSAGES */
.wrq-message {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.wrq-message-error {
    background: #fee2e2;
    color: #b91c1c;
}

.wrq-message-success {
    background: #dcfce7;
    color: #166534;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .wrq-form-wrapper {
        padding: 20px;
        margin: 20px 10px;
    }

    .wrq-options-grid {
        flex-direction: column;
    }

    .wrq-option,
    .wrq-checkbox {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .wrq-step-title {
        font-size: 24px !important;
    }

    .wrq-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
