/* ===================================================================
   DEFINITIVE & PROFESSIONAL QUOTE MODAL STYLES (Mobile First)
   =================================================================== */

/* Main modal container */
#rsp-quote-modal-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
}

/* Professional Header */
#rsp-quote-modal-wrapper #rsp-modal-title {
    background-color: #007bff; /* Professional blue */
    color: white !important;
    font-size: 1.4em;
    font-weight: 600;
    margin: -24px -24px 25px -24px;
    padding: 20px;
    border-radius: 8px 8px 0 0;
}

/* Form fields and labels */
#rsp-quote-modal-wrapper .rsp-form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

#rsp-quote-modal-wrapper input[type="text"],
#rsp-quote-modal-wrapper input[type="date"],
#rsp-quote-modal-wrapper input[type="number"],
#rsp-quote-modal-wrapper select,
#rsp-quote-modal-wrapper textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 15px;
    background-color: #fafafa;
    transition: border-color 0.2s ease;
}

#rsp-quote-modal-wrapper input:focus,
#rsp-quote-modal-wrapper select:focus,
#rsp-quote-modal-wrapper textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* --- THIS IS THE FIX FOR THE RADIO BUTTONS --- */
#rsp-quote-modal-wrapper .rsp-radio-group {
    display: flex;
    flex-direction: column; /* Stack them vertically */
    align-items: flex-start; /* Align them to the left */
    gap: 1rem; /* Add space between them */
    margin-bottom: 16px;
}

#rsp-quote-modal-wrapper .rsp-radio-group label {
    display: flex;
    align-items: center;
    gap: 0.75em;
    font-weight: normal;
    margin-bottom: 0;
}

/* --- THIS IS THE FIX FOR THE CHECKBOXES --- */
#rsp-quote-modal-wrapper .rsp-checkbox-group .options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
 #rsp-quote-modal-wrapper .rsp-checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75em;
    font-weight: normal;
    margin-bottom: 0;
}

/* Professional Submit Button */
#rsp-quote-modal-wrapper .rsp-modal-btn {
    width: 100%;
    padding: 14px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
#rsp-quote-modal-wrapper .rsp-modal-btn:hover {
    background-color: #0056b3;
}