/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 11 2026 | 10:21:54 */
/* ==========================================================
   GRIPPER BOOKING FORM — STYLING V1
   Controls the full customer-facing Gripper booking form.
   ========================================================== */


/* ==========================================================
   1. GLOBAL BOX SIZING
   Keeps padding and borders inside each element's width.
   This helps prevent fields from overflowing their containers.
   ========================================================== */

.gripper-booking-form,
.gripper-booking-form * {
    box-sizing: border-box;
}


/* ==========================================================
   2. MAIN FORM CONTAINER
   Controls the width, spacing, font and background of the
   complete Gripper booking form.
   ========================================================== */

.gripper-booking-form {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px;
    font-family: "Roboto", Arial, sans-serif;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 24px;
}


/* ==========================================================
   3. HERO HEADING
   Styles the main "Reserve Your Gripper Appointment Slot"
   heading above the booking form.
   ========================================================== */

.gripper-booking-form > h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
}


/* ==========================================================
   4. SECTION HEADINGS
   Styles headings such as Customer Details, Vehicle Details
   and Appointment Slot.
   ========================================================== */

.gripper-booking-form .gripper-form-section h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
}


/* ==========================================================
   5. MAIN INTRODUCTION TEXT
   Styles the description below the main hero heading.
   ========================================================== */

.gripper-booking-form > p {
    margin: 0 0 28px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
}


/* ==========================================================
   6. FORM GRID LAYOUT
   Uses one column by default. Larger screens switch to two
   columns further down in the responsive section.
   ========================================================== */

#gripperBookingForm {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}


/* ==========================================================
   7. INDIVIDUAL FORM SECTIONS
   Styles each main section container with spacing, a black
   overlay and a white border.
   ========================================================== */

.gripper-form-section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 24px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
}


/* ==========================================================
   8. FIELD LABELS
   Styles labels such as Full Name, Vehicle Type and Rim Size.
   ========================================================== */

.gripper-form-section label {
    display: block;
    margin: 16px 0 7px;
    color: #ffffff;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
}

.gripper-form-section h3 + label {
    margin-top: 0;
}


/* ==========================================================
   9. TEXT FIELDS, DATE FIELDS, DROPDOWNS AND TEXTAREAS
   Controls the size, colour, border and rounded shape of the
   main form fields.
   ========================================================== */

.gripper-booking-form input:not([type="file"]),
.gripper-booking-form select,
.gripper-booking-form textarea {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 18px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid #ffffff;
    border-radius: 999px;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    outline: none;
    box-shadow: none;
    color-scheme: dark;
}


/* ==========================================================
   10. APPOINTMENT DATE FIELD
   Prevents the mobile date field from extending outside the
   Appointment Slot section.
   ========================================================== */

#gripper_appointment_date {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: 100%;
}


/* ==========================================================
   11. TEXTAREA FIELDS
   Gives multi-line fields rounded corners without forcing
   them into a narrow pill shape.
   ========================================================== */

.gripper-booking-form textarea {
    min-height: 120px;
    border-radius: 24px;
    resize: vertical;
}


/* ==========================================================
   12. PLACEHOLDER TEXT
   Styles the example text shown inside empty form fields.
   ========================================================== */

.gripper-booking-form input::placeholder,
.gripper-booking-form textarea::placeholder {
    color: #c7c7c7;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 1;
}


/* ==========================================================
   13. DROPDOWN OPTIONS
   Styles the options shown when a customer opens a dropdown.
   ========================================================== */

.gripper-booking-form select option {
    color: #ffffff;
    background: #111111;
}


/* ==========================================================
   14. ACTIVE FIELD STYLING
   Adds the orange highlight when a customer clicks or taps
   inside a field.
   ========================================================== */

.gripper-booking-form input:focus,
.gripper-booking-form select:focus,
.gripper-booking-form textarea:focus {
    border-color: #ff3f00;
    box-shadow: 0 0 0 2px rgba(255, 63, 0, 0.2);
}


/* ==========================================================
   15. FIELD DESCRIPTIONS AND HELPER TEXT
   Styles the smaller italic explanations shown below fields.
   ========================================================== */

.gripper-custom-tyre-wrap > p,
.gripper-price-disclaimer {
    margin: 8px 0 14px;
    color: #ffffff;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.7rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
}


/* ==========================================================
   16. CUSTOM TYRE DETAILS AREA
   Adds spacing above the custom tyre information fields.
   ========================================================== */

.gripper-custom-tyre-wrap {
    margin-top: 16px;
    padding-top: 4px;
}


/* ==========================================================
   17. PHOTO UPLOAD FIELDS
   Styles the two image upload fields used for custom tyre
   quote requests.
   ========================================================== */

.gripper-booking-form input[type="file"] {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 7px;
    color: #c7c7c7;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid #ffffff;
    border-radius: 999px;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
}


/* ==========================================================
   18. PHOTO UPLOAD BUTTON
   Styles the button inside each image upload field.
   ========================================================== */

.gripper-booking-form input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 10px 18px;
    color: #ffffff;
    background: #ff3f00;
    border: none;
    border-radius: 999px;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}


/* ==========================================================
   19. ESTIMATED PRICE LABELS AND TEXT
   Styles wording such as "Price per tyre" and
   "Estimated total".
   ========================================================== */

#gripper_standard_price_content p,
#gripper_custom_quote_content p {
    margin: 0 0 14px;
    color: #ffffff;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
}


/* ==========================================================
   20. ESTIMATED PRICE AMOUNTS
   Makes the calculated Rand amounts larger and bolder than
   the surrounding descriptive text.
   ========================================================== */

#gripper_price_per_tyre,
#gripper_estimated_total {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

#gripper_custom_quote_content strong {
    color: #ffffff;
    font-weight: 800;
}


/* ==========================================================
   21. SUBMIT BUTTON
   Styles the main orange appointment request button.
   ========================================================== */

#gripper_submit_button {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 420px;
    padding: 15px 28px;
    color: #ffffff;
    background: #ff3f00;
    border: none;
    border-radius: 999px;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* ==========================================================
   22. SUBMIT BUTTON HOVER
   Moves the button upward slightly when a mouse hovers over it.
   ========================================================== */

#gripper_submit_button:hover {
    transform: translateY(-2px);
}


/* ==========================================================
   23. DISABLED SUBMIT BUTTON
   Shows customers that the form is currently submitting.
   ========================================================== */

#gripper_submit_button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}


/* ==========================================================
   24. FORM RESPONSE MESSAGE CONTAINER
   Keeps success and error messages across the full grid width.
   ========================================================== */

#gripper_form_message {
    grid-column: 1 / -1;
    width: 100%;
}


/* ==========================================================
   25. GENERAL FORM RESPONSE MESSAGE
   Controls the shared shape, spacing and typography of both
   success and error messages.
   ========================================================== */

.gripper-message {
    padding: 14px 18px;
    border-radius: 18px;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
}


/* ==========================================================
   26. SUCCESS MESSAGE
   Styles the message shown after a successful submission.
   ========================================================== */

.gripper-message-success {
    color: #ffffff;
    background: rgba(31, 126, 63, 0.85);
    border: 1px solid #ffffff;
}


/* ==========================================================
   27. ERROR MESSAGE
   Styles validation and submission error messages.
   ========================================================== */

.gripper-message-error {
    color: #ffffff;
    background: rgba(170, 35, 35, 0.85);
    border: 1px solid #ffffff;
}


/* ==========================================================
   28. TABLET LANDSCAPE AND LAPTOP LAYOUT
   Changes the form to two columns from 900px upward.
   ========================================================== */

@media (min-width: 900px) {
    #gripperBookingForm {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ==========================================================
   29. MOBILE AND TABLET PORTRAIT LAYOUT
   Keeps the form in one column and reduces outer spacing.
   ========================================================== */

@media (max-width: 899px) {
    .gripper-booking-form {
        padding: 20px;
        border-radius: 18px;
    }

    .gripper-form-section {
        padding: 20px;
        border-radius: 18px;
    }

    #gripper_appointment_date {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}


/* ==========================================================
   30. SMALL MOBILE SCREEN LAYOUT
   Reduces padding further for narrow phone screens.
   ========================================================== */

@media (max-width: 480px) {
    .gripper-booking-form {
        padding: 14px;
    }

    .gripper-form-section {
        padding: 17px;
    }

    .gripper-booking-form > h2 {
        font-size: 2.5rem;
    }

    .gripper-booking-form .gripper-form-section h3 {
        font-size: 1.3rem;
    }

    #gripper_submit_button {
        max-width: none;
    }
}

/* ==========================================================
   MOBILE DATE FIELD — IOS SAFARI WIDTH FIX
   Prevents the appointment date field from extending beneath
   or outside its section container on iPhones.
   ========================================================== */

@media (max-width: 899px) {
    .gripper-booking-form #gripper_appointment_date {
        -webkit-appearance: none !important;
        appearance: none !important;
        display: block !important;

        width: 100% !important;
        width: -webkit-fill-available !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        overflow: hidden;
    }
}

/* ==========================================================
   MOBILE SUCCESS MESSAGE — HORIZONTAL OVERFLOW FIX
   Keeps the form and response message locked inside the screen
   after a booking has been submitted.
   ========================================================== */

.gripper-booking-form,
#gripperBookingForm,
#gripper_form_message,
.gripper-message {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.gripper-booking-form {
    overflow-x: clip;
}

.gripper-message {
    overflow-wrap: anywhere;
    word-break: break-word;
}

#gripperBookingForm > * {
    min-width: 0;
    max-width: 100%;
}

/* ==========================================================
   IPHONE FORM ZOOM FIX
   Prevents Safari from automatically zooming into form fields.
   ========================================================== */

@media (max-width: 899px) {
    .gripper-booking-form input,
    .gripper-booking-form select,
    .gripper-booking-form textarea {
        font-size: 16px !important;
    }
}

/* ==========================================================
   COUPON FIELD AND APPLY BUTTON
   Adds spacing below the coupon field and matches the
   Apply Coupon button to the main submit button.
   ========================================================== */

.gripper-coupon-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

#gripper_apply_coupon_button {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 15px 28px;
    color: #ffffff;
    background: #ff3f00;
    border: none;
    border-radius: 999px;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

#gripper_apply_coupon_button:hover {
    color: #ffffff;
    background: #ff3f00;
    transform: translateY(-2px);
}

#gripper_apply_coupon_button:focus {
    color: #ffffff;
    background: #ff3f00;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 63, 0, 0.25);
}

#gripper_apply_coupon_button:disabled {
    color: #ffffff;
    background: #ff3f00;
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

/* ==========================================================
   COUPON RESULT SPACING
   Adds space between the Apply Coupon button and the
   coupon result message shown beneath it.
   ========================================================== */

#gripper_standard_price_content #gripper_coupon_message {
    margin-top: 20px;
}


/* ==========================================================
   COUPON DISCOUNT AMOUNT
   Matches the coupon discount amount to the Price Per Tyre
   and Estimated Total amounts above it.
   ========================================================== */

#gripper_coupon_discount_amount {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}