
/* ==========================================
   4G63PARTS.COM
   VEHICLE QUOTE FORM - COMPLETE DESIGN
   DARK CHARCOAL / PURPLE THEME
   ========================================== */


/* ==========================================
   1. MAIN FORM CONTAINER
   ========================================== */

.vehicle-quote-form {
    background: #15151a !important;
    color: #ffffff !important;
    padding: 35px 28px !important;
    border: 1px solid #49444b;
    border-radius: 14px;
    width: 100%;
    max-width: 900px;
    margin: 25px auto !important;
    box-sizing: border-box;
}

.vehicle-quote-form,
.vehicle-quote-form *,
.vehicle-quote-form *::before,
.vehicle-quote-form *::after {
    box-sizing: border-box;
}

.vehicle-quote-form form,
.vehicle-quote-form .wpcf7,
.vehicle-quote-form .wpforms-container,
.vehicle-quote-form .fluentform,
.vehicle-quote-form .ff-el-group {
    color: #ffffff;
}


/* ==========================================
   2. FORM INTRODUCTION
   ========================================== */

.vehicle-quote-form .vehicle-form-header {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center !important;
    padding: 0 10px 28px;
    margin: 0 0 30px !important;
    border-bottom: 1px solid #393941;
}

.vehicle-quote-form .vehicle-form-header h1 {
    color: #ffffff !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px;
    text-align: center !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
}

.vehicle-quote-form .vehicle-form-header p {
    display: block;
    color: #b9b9c4 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 750px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}


/* ==========================================
   3. SECTION HEADINGS
   ========================================== */

.vehicle-quote-form h2,
.vehicle-quote-form h3,
.vehicle-quote-form h4,
.vehicle-quote-form legend {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    line-height: 1.3;
    letter-spacing: 0.3px;
    margin: 30px 0 20px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #44444b;
}

/* Purple accent beside section headings */

.vehicle-quote-form h3::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 20px;
    background: #7c3aed;
    border-radius: 3px;
    margin-right: 12px;
    vertical-align: middle;
}

/* Avoid excess spacing after introduction */

.vehicle-quote-form .vehicle-form-header + h2,
.vehicle-quote-form .vehicle-form-header + h3,
.vehicle-quote-form .vehicle-form-header + h4 {
    margin-top: 0 !important;
}


/* ==========================================
   4. FIELD LABELS
   ========================================== */

.vehicle-quote-form label,
.vehicle-quote-form .wpforms-field-label,
.vehicle-quote-form .ff-el-input--label label,
.vehicle-quote-form .wpcf7-form label {
    color: #dedee5 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.4px;
    line-height: 1.5;
}

/* Required field indicators */

.vehicle-quote-form .wpforms-required-label,
.vehicle-quote-form .ff-el-is-required,
.vehicle-quote-form .required {
    color: #aa83ff !important;
}


/* ==========================================
   5. TEXT FIELDS AND DROPDOWNS
   ========================================== */

.vehicle-quote-form input[type="text"],
.vehicle-quote-form input[type="email"],
.vehicle-quote-form input[type="tel"],
.vehicle-quote-form input[type="number"],
.vehicle-quote-form input[type="url"],
.vehicle-quote-form select,
.vehicle-quote-form textarea {
    display: block;
    width: 100% !important;
    background: #26262d !important;
    color: #ffffff !important;
    border: 1px solid #484852 !important;
    border-radius: 8px !important;
    padding: 13px 15px !important;
    min-height: 48px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

/* Placeholder text */

.vehicle-quote-form input::placeholder,
.vehicle-quote-form textarea::placeholder {
    color: #a4a4ae !important;
    opacity: 1 !important;
}

/* Active input styling */

.vehicle-quote-form input:focus,
.vehicle-quote-form select:focus,
.vehicle-quote-form textarea:focus {
    background: #2d2a36 !important;
    border-color: #9a63ff !important;
    outline: 2px solid rgba(154, 99, 255, 0.18) !important;
    outline-offset: 1px;
    box-shadow: none !important;
}

/* Dropdown styling */

.vehicle-quote-form select option {
    background: #26262d;
    color: #ffffff;
}

/* Longer descriptions */

.vehicle-quote-form textarea {
    min-height: 140px !important;
    resize: vertical;
    line-height: 1.6;
}


/* ==========================================
   6. FIELD SPACING
   ========================================== */

.vehicle-quote-form .wpforms-field,
.vehicle-quote-form .ff-el-group,
.vehicle-quote-form .form-row {
    margin-bottom: 20px !important;
}


/* ==========================================
   7. PHOTO UPLOADS
   ========================================== */

.vehicle-quote-form input[type="file"] {
    display: block;
    width: 100%;
    background: #22222a !important;
    border: 2px dashed #8050d8 !important;
    border-radius: 10px !important;
    padding: 22px 14px !important;
    color: #d8d8e0 !important;
    font-size: 14px;
}

/* Choose files button */

.vehicle-quote-form input[type="file"]::file-selector-button {
    background: #373044;
    color: #ffffff;
    border: 1px solid #8256d6;
    border-radius: 6px;
    padding: 10px 14px;
    margin-right: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.vehicle-quote-form input[type="file"]::file-selector-button:hover {
    background: #493761;
}


/* ==========================================
   8. SUBMIT BUTTON
   ========================================== */

.vehicle-quote-form button[type="submit"],
.vehicle-quote-form input[type="submit"],
.vehicle-quote-form .wpforms-submit,
.vehicle-quote-form .ff-btn-submit,
.vehicle-quote-form .wpcf7-submit {
    display: block;
    width: 100% !important;
    min-height: 54px;
    background: #7c3aed !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px 22px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: none !important;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

/* Button hover */

.vehicle-quote-form button[type="submit"]:hover,
.vehicle-quote-form input[type="submit"]:hover,
.vehicle-quote-form .wpforms-submit:hover,
.vehicle-quote-form .ff-btn-submit:hover,
.vehicle-quote-form .wpcf7-submit:hover {
    background: #9254f5 !important;
    transform: translateY(-1px);
}

/* Keyboard focus */

.vehicle-quote-form button[type="submit"]:focus-visible,
.vehicle-quote-form input[type="submit"]:focus-visible {
    outline: 2px solid #c4b5fd;
    outline-offset: 3px;
}


/* ==========================================
   9. CHECKBOXES AND RADIO BUTTONS
   ========================================== */

.vehicle-quote-form input[type="checkbox"],
.vehicle-quote-form input[type="radio"] {
    accent-color: #8b5cf6;
}


/* ==========================================
   10. HELP TEXT
   ========================================== */

.vehicle-quote-form small,
.vehicle-quote-form .wpforms-field-description,
.vehicle-quote-form .ff-el-help-message {
    color: #a8a8b4 !important;
    font-size: 12px !important;
    line-height: 1.5;
}


/* ==========================================
   11. DIVIDERS
   ========================================== */

.vehicle-quote-form hr {
    border: none;
    border-top: 1px solid #393941;
    margin: 28px 0;
}


/* ==========================================
   12. FORM ERRORS
   ========================================== */

.vehicle-quote-form .wpforms-error,
.vehicle-quote-form .wpcf7-not-valid-tip,
.vehicle-quote-form .error {
    color: #ff9898 !important;
}


/* ==========================================
   13. SUCCESS MESSAGES
   ========================================== */

.vehicle-quote-form .wpforms-confirmation-container,
.vehicle-quote-form .wpcf7-response-output {
    background: #252332;
    color: #ffffff !important;
    border: 1px solid #8b5cf6;
    border-radius: 8px;
    padding: 18px;
}


/* ==========================================
   14. TABLET AND MOBILE
   ========================================== */

@media (max-width: 767px) {

    /* Main container */

    .vehicle-quote-form {
        padding: 24px 18px !important;
        margin: 20px auto 15px !important;
        border-radius: 10px;
    }

    /* Introduction */

    .vehicle-quote-form .vehicle-form-header {
        padding: 0 0 24px;
        margin-bottom: 25px !important;
    }

    .vehicle-quote-form .vehicle-form-header h1 {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .vehicle-quote-form .vehicle-form-header p {
        font-size: 14px !important;
        line-height: 1.65 !important;
        max-width: 100% !important;
    }

    /* Section headings */

    .vehicle-quote-form h2,
    .vehicle-quote-form h3,
    .vehicle-quote-form h4 {
        font-size: 18px !important;
        margin-top: 26px !important;
    }

    /* Fields */

    .vehicle-quote-form input[type="text"],
    .vehicle-quote-form input[type="email"],
    .vehicle-quote-form input[type="tel"],
    .vehicle-quote-form input[type="number"],
    .vehicle-quote-form input[type="url"],
    .vehicle-quote-form select,
    .vehicle-quote-form textarea {
        font-size: 16px !important;
        min-height: 50px !important;
    }

    /* Submit */

    .vehicle-quote-form button[type="submit"],
    .vehicle-quote-form input[type="submit"],
    .vehicle-quote-form .wpforms-submit,
    .vehicle-quote-form .ff-btn-submit,
    .vehicle-quote-form .wpcf7-submit {
        min-height: 56px;
        font-size: 14px !important;
    }

    /* Photos */

    .vehicle-quote-form input[type="file"] {
        padding: 18px 12px !important;
    }

}


/* ==========================================
   15. SMALL MOBILE SCREENS
   ========================================== */

@media (max-width: 400px) {

    .vehicle-quote-form {
        padding: 20px 14px !important;
    }

    .vehicle-quote-form .vehicle-form-header h1 {
        font-size: 24px !important;
    }

    .vehicle-quote-form .vehicle-form-header p {
        font-size: 14px !important;
    }

    .vehicle-quote-form h3 {
        font-size: 17px !important;
    }

}


/* ==========================================
   END OF VEHICLE QUOTE STYLES
   ========================================== */


/* ==========================================
   4G63PARTS.COM
   CONTACT PAGE - COMPLETE STYLING
   CHARCOAL / PURPLE THEME
   ========================================== */

/* MAIN PAGE */

.contact-page {
    width: 100%;
    max-width: 900px;
    margin: 30px auto 50px;
    color: #ffffff;
    box-sizing: border-box;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}

/* ==========================================
   PAGE INTRODUCTION
   ========================================== */

.contact-page-header {
    text-align: center;
    padding: 10px 15px 15px;
    margin-bottom: 25px;
}

.contact-page-header h1 {
    color: #ffffff !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 0 16px !important;
}

.contact-page-header p {
    color: #b9b9c4 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    width: 100%;
    max-width: 750px;
    margin: 0 auto !important;
}

/* ==========================================
   CONTACT CARDS
   ========================================== */

.contact-info-card,
.contact-form-card {
    background: #15151a !important;
    border: 1px solid #49444b;
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 25px;
}

/* CONTACT INFORMATION LINKS */

.contact-info-item {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    padding: 18px 12px;
    border-bottom: 1px solid #35353c;
    border-radius: 6px;
    transition: background-color .2s ease;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item:hover {
    background: #24212c;
}

/* CATEGORY LABELS */

.contact-info-label {
    display: block;
    color: #b494ff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* CONTACT DETAILS */

.contact-info-value {
    display: block;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* LINK HOVER */

.contact-info-item:hover .contact-info-value {
    color: #c4b5fd !important;
}

/* ==========================================
   FORM INTRODUCTION
   ========================================== */

.contact-form-card h2 {
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    border-left: 5px solid #7c3aed;
    padding-left: 14px;
    margin: 0 0 18px !important;
}

.contact-form-description {
    color: #b9b9c4 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin: 0 0 30px !important;
}

/* ==========================================
   FORM LABELS
   ========================================== */

.contact-form-card label {
    display: block;
    color: #dedee5 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .4px;
    margin-bottom: 20px;
}

/* ==========================================
   FORM INPUTS
   ========================================== */

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea {
    display: block;
    width: 100% !important;
    background: #26262d !important;
    color: #ffffff !important;
    border: 1px solid #484852 !important;
    border-radius: 8px !important;
    padding: 13px 15px !important;
    min-height: 48px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    margin-top: 8px;
    box-shadow: none !important;
    transition:
        border-color .2s ease,
        background-color .2s ease;
}

/* PLACEHOLDERS */

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #a4a4ae !important;
    opacity: 1;
}

/* ACTIVE FIELDS */

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    background: #2d2a36 !important;
    border-color: #9a63ff !important;
    outline: 2px solid rgba(154,99,255,.18) !important;
    outline-offset: 1px;
    box-shadow: none !important;
}

/* MESSAGE BOX */

.contact-form-card textarea {
    min-height: 160px !important;
    resize: vertical;
    line-height: 1.6;
}

/* ==========================================
   SUBMIT BUTTON
   ========================================== */

.contact-form-card input[type="submit"],
.contact-form-card button[type="submit"] {
    display: block;
    width: 100% !important;
    min-height: 54px;
    background: #7c3aed !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px 22px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: .8px;
    cursor: pointer;
    box-shadow: none !important;
    transition:
        background-color .2s ease,
        transform .2s ease;
}

.contact-form-card input[type="submit"]:hover,
.contact-form-card button[type="submit"]:hover {
    background: #9254f5 !important;
    transform: translateY(-1px);
}

/* ==========================================
   VALIDATION AND MESSAGES
   ========================================== */

.contact-page .wpcf7-not-valid-tip {
    color: #ff9898 !important;
    font-size: 12px;
    margin-top: 5px;
}

.contact-page .wpcf7-response-output {
    color: #ffffff !important;
    border-radius: 8px;
    padding: 15px !important;
}

/* ==========================================
   TABLET / MOBILE
   ========================================== */

@media (max-width: 767px) {

    .contact-page {
        margin: 20px auto 35px;
        padding: 0 12px;
    }

    .contact-page-header {
        padding: 10px 5px 15px;
    }

    .contact-page-header h1 {
        font-size: 28px !important;
    }

    .contact-page-header p {
        font-size: 14px !important;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 22px 18px;
        border-radius: 10px;
    }

    .contact-info-value {
        font-size: 15px !important;
    }

    .contact-form-card h2 {
        font-size: 21px !important;
    }

    .contact-form-card input[type="text"],
    .contact-form-card input[type="email"],
    .contact-form-card textarea {
        font-size: 16px !important;
        min-height: 50px !important;
    }

    .contact-form-card input[type="submit"] {
        min-height: 56px;
    }

}

/* ==========================================
   END CONTACT PAGE CSS
   ========================================== */


/* =====================================
   4G63 PARTS - CATEGORY HOVER PURPLE
   ===================================== */

/* Product category hover background */
.product-category .box:hover .box-text,
.product-category .box:hover .box-text-inner,
.product-category:hover .box-text,
.product-category:hover .box-text-inner {
    background-color: #7c3aed !important;
}

/* Flatsome category label hover */
.product-category .box-category:hover .box-text {
    background-color: #7c3aed !important;
}

/* Keep text white on hover */
.product-category:hover .box-text h5,
.product-category:hover .box-text p,
.product-category:hover .box-text span {
    color: #ffffff !important;
}



/* =====================================
   4G63 PARTS - PURPLE MENU INDICATOR
   ===================================== */

/* Flatsome navigation indicator */
.header-nav.nav-line > li > a:before,
.header-nav.nav-line-bottom > li > a:before,
.header-nav.nav-line-grow > li > a:before,
.header-bottom-nav.nav-line > li > a:before,
.header-bottom-nav.nav-line-bottom > li > a:before,
.header-bottom-nav.nav-line-grow > li > a:before,
.nav-line > li > a:before,
.nav-line-bottom > li > a:before,
.nav-line-grow > li > a:before {
    background-color: #7c3aed !important;
}

/* Keep navigation text white */
.header-nav .nav-top-link:hover,
.header-nav .active .nav-top-link,
.header-bottom-nav .nav-top-link:hover,
.header-bottom-nav .active .nav-top-link {
    color: #ffffff !important;
}


/* =====================================
   VEHICLE QUOTE - LARGER TEXT BOXES
   ===================================== */

/* Modification List */
.vehicle-quote-form textarea[name="vehicle-modifications"],

/* Additional Information */
.vehicle-quote-form textarea[name="additional-info"] {
    height: 360px !important;
    min-height: 360px !important;
    resize: vertical;
    padding: 15px !important;
    line-height: 1.6 !important;
}

/* Mobile optimization */
@media (max-width: 767px) {
    .vehicle-quote-form textarea[name="vehicle-modifications"],
    .vehicle-quote-form textarea[name="additional-info"] {
        height: 150px !important;
        min-height: 150px !important;
    }
}

