/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/
.section-standard {
    margin-top: 90px;
    margin-bottom: 90px;
}


/*********************************
* Contact form styles
**********************************/
/* ===== RESET WPForms layout ===== */
.custom-contact-form .wpforms-field-container {
    display: block; /* kill their layout system */
}

.custom-contact-form .wpforms-field {
    width: 100% !important;
    margin-bottom: 16px;
}

/* ===== NAME FIELD (2 columns) ===== */
.custom-contact-form .wpforms-field-name .wpforms-field-row {
    display: flex;
    gap: 16px;
}

.custom-contact-form .wpforms-field-name .wpforms-field-row-block {
    width: 50% !important;
}

/* ===== REMOVE LABELS ===== */
.custom-contact-form .wpforms-field-label,
.custom-contact-form .wpforms-field-sublabel {
    display: none !important;
}

/* ===== INPUTS ===== */
.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form select,
.custom-contact-form textarea {
    width: 100% !important;
    padding: 16px;
    border: none;
    border-radius: 8px;
    background: #efefef;
    font-size: 1rem;
    box-sizing: border-box;
    color: #757575;
    font-weight: 700;
}

/* ===== TEXTAREA ===== */
.custom-contact-form textarea {
    min-height: 180px;
    resize: none;
}

/* ===== BUTTON ===== */
.custom-contact-form .wpforms-submit-container {
    text-align: center;
    margin-top: 20px;
}

.custom-contact-form button.wpforms-submit {
    border-radius: 20px;
    text-align: center;
    padding: 9px 45px;
    font-weight: 700;
    cursor: pointer;
    background-color: #8E845F;
    border: none;
    color: white;
}

/* ===== HOVER ===== */
.custom-contact-form button.wpforms-submit:hover {
    opacity: 0.9;
}

/* ===== REMOVE WPForms WIDTH CLASSES ===== */
.custom-contact-form .wpforms-field-medium,
.custom-contact-form .wpforms-field-large {
    width: 100% !important;
    max-width: 100% !important;
}

/* ===== FOCUS ===== */
.custom-contact-form input:focus,
.custom-contact-form select:focus,
.custom-contact-form textarea:focus {
    outline: none;
    background: #e5e5e5;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .custom-contact-form .wpforms-field-name .wpforms-field-row {
        flex-direction: column;
    }

    .custom-contact-form .wpforms-field-name .wpforms-field-row-block {
        width: 100% !important;
    }
}
