.aimw-form-shell {
    --aimw-primary: #f05a1a;
    max-width: 520px;
    margin: 24px auto;
    background: #fff;
    font-family: inherit;
}
.aimw-multistep-form {
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    background: #fff;
}
.aimw-form-title,
.aimw-step h3 {
    text-align: center;
    color: var(--aimw-primary);
    margin: 0 0 22px;
    font-weight: 700;
}
.aimw-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 4px 0 28px;
}
.aimw-progress-dot {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #e7e7e7;
    background: #fff;
    color: #aaa;
    font-weight: 700;
    cursor: default;
    z-index: 1;
}
.aimw-progress-dot:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 46px;
    top: 50%;
    width: 34px;
    height: 2px;
    background: #e7e7e7;
    transform: translateY(-50%);
    z-index: -1;
}
.aimw-progress-dot.active,
.aimw-progress-dot.completed {
    background: var(--aimw-primary);
    border-color: var(--aimw-primary);
    color: #fff;
}
.aimw-step { display: none; }
.aimw-step.active { display: block; }
.aimw-field { margin-bottom: 18px; }
.aimw-field label,
.aimw-label {
    display: block;
    font-size: 14px;
    color: #575757;
    margin-bottom: 7px;
    line-height: 1.35;
}
.aimw-field label span,
.aimw-label span { color: var(--aimw-primary); }
.aimw-field input[type="text"],
.aimw-field input[type="email"],
.aimw-field input[type="number"],
.aimw-field input[type="date"],
.aimw-field select,
.aimw-field textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid #bdbdbd;
    border-radius: 0;
    background: #fff;
    padding: 12px 14px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}
.aimw-field textarea { min-height: 100px; }
.aimw-field input:focus,
.aimw-field select:focus,
.aimw-field textarea:focus {
    border-color: var(--aimw-primary);
    box-shadow: 0 0 0 1px var(--aimw-primary);
}
.aimw-help {
    display: block;
    color: #777;
    font-size: 12px;
    margin-top: 5px;
}
.aimw-error {
    color: #b42318;
    font-size: 12px;
    margin-top: 5px;
}
.aimw-field.has-error input,
.aimw-field.has-error select,
.aimw-field.has-error textarea,
.aimw-field.has-error .aimw-file-drop {
    border-color: #b42318;
}
.aimw-check,
.aimw-radio {
    display: flex !important;
    gap: 10px;
    align-items: flex-start;
    color: #444 !important;
    font-size: 14px !important;
    margin: 8px 0 !important;
}
.aimw-check input,
.aimw-radio input { margin-top: 3px; accent-color: var(--aimw-primary); }
.aimw-file-drop {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    border: 2px dashed #bbb;
    background: #fafafa;
    color: #555 !important;
    font-size: 15px !important;
    text-align: center;
    cursor: pointer;
    margin-bottom: 0 !important;
}
.aimw-file-drop span { color: var(--aimw-primary); text-decoration: underline; }
.aimw-file-drop input { display: none; }
.aimw-file-drop[data-file]::after {
    content: attr(data-file);
    display: block;
    margin-left: 8px;
    color: #111;
    font-size: 13px;
}
.aimw-card-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
/* ===========================
   Quote Cards
=========================== */

.aimw-card-options{
    display:grid;
    gap:15px;
}

.aimw-quote-card{
    position:relative;
    display:block;
    cursor:pointer;
}

.aimw-quote-card input{
    display:none;
}

.aimw-quote-card-inner{
    position:relative;
    display:block;
    padding:22px;
    border:2px solid #dddddd;
    border-radius:12px;
    background:#fff;
    transition:.3s ease;
}

/* Select Badge */

.aimw-select-badge{
    position:absolute;
    top:15px;
    right:15px;
    background:#f3f3f3;
    color:#555;
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

.aimw-select-badge:after{
    content:"";
}

/* Selected */

.aimw-quote-card.selected .aimw-quote-card-inner,
.aimw-quote-card input:checked + .aimw-quote-card-inner{

    background:#FFFBE6;
    border-color:#FFD400;
    box-shadow:0 0 0 3px rgba(255,212,0,.25);

}

.aimw-quote-card.selected .aimw-select-badge,
.aimw-quote-card input:checked + .aimw-quote-card-inner .aimw-select-badge{

    background:#FFD400;
    color:#000;

}

.aimw-quote-card.selected .aimw-select-badge:after,
.aimw-quote-card input:checked + .aimw-quote-card-inner .aimw-select-badge:after{

    content:"";

}
.aimw-quote-card strong{
    display:block;
    font-size:18px;
    margin-bottom:8px;
}

.aimw-quote-card b{
    display:block;
    font-size:22px;
    color:#000;
    margin-bottom:8px;
}

.aimw-quote-card small{
    display:block;
    color:#666;
}
.aimw-quote-card input { display: none; }
.aimw-quote-card-inner {
    display: block;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: .18s ease;
}
.aimw-quote-card.selected .aimw-quote-card-inner,
.aimw-quote-card input:checked + .aimw-quote-card-inner {
    border-color: #eca30c;
    box-shadow: 0 0 0 2px rgba(240,90,26,.16);
}
.aimw-quote-card strong,
.aimw-quote-card b,
.aimw-quote-card small { display: block; }
.aimw-quote-card b {
    margin: 6px 0;
    color: var(--aimw-primary);
    font-size: 20px;
}
.aimw-quote-card small { color: #666; }
.aimw-review-table {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}
.aimw-review-table div {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}
.aimw-review-table div:last-child { border-bottom: 0; }
.aimw-review-table strong { color: #333; }
.aimw-review-table span { color: #555; overflow-wrap: anywhere; }
.aimw-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}
.aimw-next,
.aimw-submit,
.aimw-back {
    border: 0;
    min-height: 50px;
    padding: 0 30px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0;
}
.aimw-next,
.aimw-submit {
    background: var(--aimw-primary);
    color: #fff;
}
.aimw-back {
    background: #fff;
    color: #222;
}
.aimw-next:disabled,
.aimw-submit:disabled,
.aimw-back:disabled { opacity: .55; cursor: wait; }
.aimw-message {
    padding: 12px 14px;
    border-radius: 8px;
    margin: 0 0 18px;
    font-weight: 600;
}
.aimw-message.success { background: #e7f7ed; color: #0a6b2b; }
.aimw-message.error { background: #fde7e9; color: #8a0011; }
.aimw-html-field {
    background: #fafafa;
    border: 1px solid #eee;
    padding: 14px;
    margin-bottom: 18px;
}
@media (max-width: 560px) {
    .aimw-form-shell { margin: 10px auto; }
    .aimw-multistep-form { padding: 18px 14px; border-radius: 0; box-shadow: none; }
    .aimw-progress-dot { width: 40px; height: 40px; }
    .aimw-progress-dot:not(:last-child)::after { left: 38px; width: 18px; }
    .aimw-actions { flex-direction: column-reverse; }
    .aimw-next,
    .aimw-submit,
    .aimw-back { width: 100%; }
    .aimw-review-table div { grid-template-columns: 1fr; }
}
/* Quote Button */

.aimw-select-badge{
    position:absolute;
    top:15px;
    right:15px;
    background:#102047;
    color:#fff;
    padding:10px 22px;
    border-radius:4px;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    transition:.3s;
}

.aimw-select-badge.active{
    background:#E0B03D;
    color:#102047;
}

.aimw-quote-card.selected .aimw-quote-card-inner{
    border:2px solid #E0B03D;
    background:#fff;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}