/* ══════════════════════════════════════
		   QUOTE MODAL STYLES ONLY
		   ══════════════════════════════════════ */

/* Modal Shell */
#quoteModal .modal-dialog {
    max-width: 700px;
}

#quoteModal .modal-content {
    border: none;
    border-radius: 0;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

/* ── Sidebar ── */
.qm-sidebar {
    background: #1e1a16;
    padding: 44px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.qm-sidebar::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.15);
}

.qm-sidebar::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.1);
}

.qm-brand {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #cfa446;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 44px;
}

.qm-step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 8px;
    opacity: 0.38;
    transition: opacity 0.35s;
}

.qm-step-item.active {
    opacity: 1;
}

.qm-step-item.done {
    opacity: 0.6;
}

.qm-step-num {
    width: 30px;
    height: 30px;
    border: 1.5px solid #cfa446;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    color: #cfa446;
    flex-shrink: 0;
    transition: background 0.3s;
}

.qm-step-item.active .qm-step-num,
.qm-step-item.done .qm-step-num {
    background: #cfa446;
    color: #1e1a16;
}

.qm-step-label strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #f5f0e8;
    font-family: 'DM Sans', sans-serif;
}

.qm-step-label span {
    font-size: 13px;
    color: #e7e4e4;
    font-family: 'DM Sans', sans-serif;
}

.qm-connector {
    width: 1px;
    height: 22px;
    background: linear-gradient(to bottom, rgba(201, 169, 110, 0.4), transparent);
    margin-left: 14px;
    margin-bottom: 8px;
}

/* ── Service label in sidebar ── */
.qm-service-label {
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid rgba(201, 169, 110, 0.2);
}

.qm-service-label span {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.qm-service-label strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #cfa446;
}

/* ── Form Body ── */
.qm-body {
    padding: 44px 40px;
    background: #faf8f5;
    position: relative;
}

.qm-close {
    position: absolute;
    top: 17px;
    right: 22px;
    background: none;
    border: none;
    font-size: 36px;
    color: #000000;
    cursor: pointer;
    line-height: 0;
    z-index: 10;
    transition: color 0.2s;
    background-color: #cfa446;
    height: 40px;
    width: 40px;
    border-radius: 30px;
}

.qm-close:hover {
    color: #fff;
}

/* Step panes */
.step-pane {
    display: none;
}

.step-pane.active {
    display: block;
}

.qm-heading {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #1e1a16;
    margin-bottom: 10px;
    line-height: 1.1;
}

.qm-subheading {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #000000;
    margin-bottom: 15px;
}

/* Radio Cards */
.radio-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-card-body {
    border: 1px solid #ddd8d0;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.25s, background 0.25s;
    background: #fff;
}

.radio-card input[type="radio"]:checked+.radio-card-body {
    border-color: #cfa446;
    background: #fdf8f0;
}

.radio-dot {
    width: 17px;
    height: 17px;
    border: 1.5px solid #cfa446;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-card input[type="radio"]:checked+.radio-card-body .radio-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #cfa446;
    border-radius: 50%;
    display: block;
}

.radio-card-body span {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #3a322a;
}

/* BHK Select */
.qm-select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #ddd8d0;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a96e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
    -webkit-appearance: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #3a322a;
    outline: none;
    transition: border-color 0.25s;
    margin-top: 18px;
}

.qm-select:focus {
    border-color: #cfa446;
}

/* Room Grid */
.room-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.room-card {
    border: 1px solid #ddd8d0;
    background: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.room-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #3a322a;
    font-weight: 500;
}

.counter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.counter-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #cfa446;
    background: none;
    color: #cfa446;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.counter-btn:hover {
    background: #cfa446;
    color: #fff;
}

.counter input[type="number"] {
    width: 32px;
    border: none;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1e1a16;
    background: transparent;
    -moz-appearance: textfield;
}

.counter input::-webkit-inner-spin-button {
    display: none;
}

/* Package Cards */
.package-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pkg-card {
    position: relative;
    cursor: pointer;
}

.pkg-card input[type="radio"] {
    display: none;
}

.pkg-card-body {
    border: 1px solid #ddd8d0;
    padding: 16px 18px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.25s, background 0.25s;
}

.pkg-card input[type="radio"]:checked+.pkg-card-body {
    border-color: #cfa446;
    background: #fdf8f0;
}

.pkg-name {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1e1a16;
}

.pkg-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8a7e72;
    display: block;
}

.pkg-dot {
    width: 18px;
    height: 18px;
    border: 1.5px solid #cfa446;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.2s, box-shadow 0.2s;
}

.pkg-card input[type="radio"]:checked+.pkg-card-body .pkg-dot {
    background: #cfa446;
    box-shadow: 0 0 0 3px #fdf8f0, 0 0 0 4.5px #cfa446;
}

/* Text Inputs */
.qm-input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #ddd8d0;
    background: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #3a322a;
    outline: none;
    transition: border-color 0.25s;
    margin-bottom: 10px;
}

.qm-input:focus {
    border-color: #cfa446;
}

.qm-input::placeholder {
    color: #b0a89e;
}

.qm-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Checkbox */
.qm-check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #000;
    cursor: pointer;
    margin-top: 4px;
}

.qm-check-label input[type="checkbox"] {
    display: none;
}

.check-box {
    width: 17px;
    height: 17px;
    border: 1.5px solid #cfa446;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.qm-check-label input:checked+.check-box {
    background: #cfa446;
}

.qm-check-label input:checked+.check-box::after {
    content: '✓';
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

/* Error messages */
.qm-error {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: #c0392b;
    margin-top: 6px;
    display: none;
}

.qm-error.show {
    display: block;
}

/* Buttons */
.qm-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    align-items: center;
}

.qm-btn-next {
    background: #cfa446;
    color: #1e1a16;
    border: none;
    padding: 13px 32px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
}

.qm-btn-next:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

.qm-btn-back {
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #8a7e72;
    cursor: pointer;
    transition: color 0.2s;
}

.qm-btn-back:hover {
    color: #1e1a16;
}

@media (max-width: 576px) {
    .qm-sidebar {
        display: none;
    }

    .qm-body {
        padding: 32px 24px;
    }

    .room-grid,
    .qm-input-row {
        grid-template-columns: 1fr;
    }
}