.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body.admin-bar .quote-modal-overlay {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}
@media screen and (max-width: 782px) {
    body.admin-bar .quote-modal-overlay {
        top: 46px;
        height: calc(100% - 46px);
    }
}

.quote-modal-content {
    background: #1A1A1A; /* Primary Charcoal */
    color: #F5F5DC; /* Cream-ish base text */
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 4px;
    padding: 40px;
    position: relative;
    box-sizing: border-box;
    border: 1px solid #C5A46D; /* Secondary Gold */
}

.quote-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #C5A46D;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}
.quote-modal-close:hover {
    color: #FFF;
}

.quote-modal-header {
    text-align: center;
    margin-bottom: 30px;
}
.quote-modal-header .quote-modal-logo {
    color: #C5A46D;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.quote-modal-header h2 {
    color: #FFF;
    margin: 0;
    font-size: 24px;
}

.quote-modal-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}
.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #333;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid #333;
}
.progress-step.active {
    background: #C5A46D;
    color: #1A1A1A;
    border-color: #C5A46D;
}
.progress-step.completed {
    background: #C5A46D;
    color: #1A1A1A;
    border-color: #C5A46D;
}
.progress-line {
    flex: 1;
    height: 2px;
    background: #333;
    margin: 0 10px;
}

.form-step {
    display: none;
}
.form-step.active {
    display: block;
}

.form-step h3 {
    color: #C5A46D;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #FFF;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #444;
    color: #FFF;
    border-radius: 4px;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #C5A46D;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: normal;
}
.checkbox-group input {
    margin-right: 10px;
    accent-color: #C5A46D;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}
.form-actions.space-between {
    justify-content: space-between;
}

.form-actions button,
.btn-close-success {
    padding: 12px 24px;
    background: #333;
    color: #FFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.2s;
}
.form-actions button.btn-next,
.form-actions button.btn-submit {
    background: #C5A46D;
    color: #1A1A1A;
}
.form-actions button:hover {
    opacity: 0.9;
}
.btn-close-success {
    background: #C5A46D;
    color: #1A1A1A;
    margin-top: 20px;
}

.form-success {
    text-align: center;
    padding: 40px 0;
}
.form-success h3 {
    color: #C5A46D;
    font-size: 24px;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .quote-modal-content {
        padding: 20px;
    }
}
