/*
 * COMENSA Search Form Styles
 * Essential styles for mentor-coach search functionality
 */

/* Reset and Base Styles */
.search-accordion {
    margin-bottom: 0px;
}

.search-elements {
    max-width: 995px;
    margin: auto;
}

.elementor-16994 .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 0px;
}

.search-elements {
    display: flex;
}

/* Search Accordion Styles */
.search-accordion input {
    position: relative;
    font-size: 16px;
    line-height: 17px;
    font-weight: medium;
}

.search-accordion {
    margin-bottom: 96px;
    text-align: center;
}

.search-accordion .search-btn {
    border: none;
    outline: none;
    color: #15AE50;
    position: absolute;
    top: 50% !important;
    right: 80px !important;
    font-size: 25px;
    -webkit-transform: translate(0%, -50%);
        -ms-transform: translate(0%, -50%);
            transform: translate(0%, -50%);
    padding: 0;
}

.search-accordion .search-btn:hover {
    background-color: transparent;
    opacity: 0.9;
}

.search-accordion .search-btn::before {
    content: "e.g. Privacy policy";
    margin-right: 10px;
    font-size: 16px;
    top: -4px;
    position: relative;
    color: #4B4B4B;
    opacity: 0.35;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.search-accordion input[type=text] {
    width: 100%;
    height: 74px;
    border-radius: 37px;
    background: #fff;
    border: 1px solid #eaeaea;
    -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.16);
            box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.16);
    font-family: 'Poppins', sans-serif;
    color: #4B4B4B;
    padding-left: 35px;
    font-weight: 500;
}

.search-accordion {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.search-accordion input[type=text]:focus {
    outline: none;
    border-color: #15AE50;
}

/* Search Elements Styles */
.search-elements {
    max-width: 995px;
    margin: auto;
    display: flex;
}

.search-elements .search-accordion {
    max-width: initial;
    margin-left: inherit;
    margin-right: -15px;
    position: relative;
    width: 80%;
    padding-right: 50px;
}

.search-accordion input {
    max-width: 750px;
    box-shadow: 0px 1px 3px rgb(0 0 0 / 16%) !important;
    margin-right: 0px;
}

.search-elements .search-accordion {
    max-width: initial;
    margin-left: inherit;
    margin-right: -15px;
    position: relative;
    width: 80%;
    padding-right: 50px;
}

.search-elements .filter-members {
    width: 20%;
    border-left: solid 2px #eaeaea;
    height: 75px;
    justify-content: center;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

/* Additional shortcode-specific styles */
.filter-members a {
    color: #fff;
    font-family: Poppins;
    font-weight: 700;
    font-size: 18px;
    line-height: 17px;
    text-align: left;
}

.elementor img {
    height: auto;
    max-width: 100%;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.comensa-members-results .container {
    max-width: 1120px;
    padding-right: 15px;
    padding-left: 15px;
    margin: 0 auto;
}

.filter-members a {
    color: #fff;
    font-family: Poppins;
    font-weight: 700;
    font-size: 18px;
    line-height: 17px;
    text-align: left;
}

/* Keywords Styles */
.keywords {
    display: flex;
    position: absolute;
    margin-top: 20px;
    left: 8%;
}

.keywords li {
    margin: 0 10px !important;
    padding: 3px 10px 3px 14px !important;
    background-color: #dedede !important;
    color: black !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    list-style: none;
    font-weight: 500;
    justify-content: left;
    display: flex;
    align-items: center;
    min-width: 144px;
    position: relative;
}

/* Filter Options */
.filter-options-wrap {
    max-width: 715px;
    margin: auto;
}

.filter-option select {
    font-family: Poppins;
    font-weight: 500;
    font-size: 16px;
    line-height: 17px;
    text-align: left;
    color: #000;
    border: none;
    outline: none;
    padding: 0px 0px 25px 0px;
    border-bottom: 1px solid #7B7B7B;
    display: block;
    border-radius: 0px;
    background-color: #f7f7f7;
}

.filter-option select:last-child {
    padding-right: 0px;
    margin-top: 30px;
}

/* Search Section */
.searchsec2 {
    background-color: #F7F7F7;
    padding-top: 100px;
    padding-bottom: 150px;
}

/* Filter Buttons */
.filter-btn-wrap {
    padding-top: 50px;
}

.filter-btn-wrap input:first-child {
    font-family: Lato;
    font-weight: bold;
    font-size: 16px;
    line-height: 32px;
    text-align: center;
    color: #15ae50;
    width: 107px;
    height: 47px;
    border-radius: 9px;
    background: transparent;
    border: 2px solid #15ae50;
    padding: 0;
}

.filter-btn-wrap input:last-child {
    width: 107px;
    height: 47px;
    border-radius: 9px;
    background: linear-gradient(to left, #15ae50 0%, #78c973 100%);
    color: #ffffff;
    border: none;
    padding: 0px;
}

/* Member Results */
.comensa-members-results .container {
    max-width: 1640px;
    padding-right: 15px;
    padding-left: 15px;
    margin: 0 auto;
}

.comensa-members-results .members-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.comensa-members-results .col-3 {
    width: 25%;
}

.comensa-members-results .card {
    position: relative;
    height: auto;
    margin: 0px 10px 26px 10px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    padding: 0px 0px;
    border-radius: 14px;
    background: #fff;
    min-height: 650px;
}

.comensa-members-results .card.active {
    background-color: #222222;
    color: #ffffff;
}

.comensa-members-results h3 {
    font-size: 22px;
    line-height: 26px;
}

.comensa-members-results h5 {
    font-size: 13px;
    line-height: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .search-elements {
        flex-direction: column;
    }
    
    .search-elements .search-accordion {
        width: 100%;
        padding-right: 0;
        margin-right: 0;
    }
    
    .search-elements .filter-members {
        width: 100%;
        border-left: none;
        border-top: solid 2px #eaeaea;
        height: auto;
        padding: 20px;
    }
    
    .search-accordion input[type=text] {
        height: 60px;
        font-size: 14px;
    }
}

/* Placeholder styles */
.search-accordion input[type=text]::placeholder, 
.search-member input[type=text]::placeholder, 
.popup-search-box input[type=text]::placeholder { 
    text-align: left !important; 
}

/* Button focus/hover states */
[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus,
button:hover {
    color: #15AE50;
    background-color: white;
}

/* High specificity overrides to ensure proper styling */
body .search-elements {
    max-width: 995px !important;
    margin: auto !important;
    display: flex !important;
}

body .search-elements .search-accordion {
    max-width: initial !important;
    margin-left: inherit !important;
    margin-right: -15px !important;
    position: relative !important;
    width: 80% !important;
    padding-right: 50px !important;
}

body .search-elements .search-accordion input[type="text"] {
    width: 100% !important;
    height: 74px !important;
    border-radius: 37px !important;
    background: #fff !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.16) !important;
    font-family: 'Poppins', sans-serif !important;
    color: #4B4B4B !important;
    padding-left: 35px !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 17px !important;
}

body .search-elements .search-accordion .search-btn {
    border: none !important;
    outline: none !important;
    color: #15AE50 !important;
    position: absolute !important;
    top: 50% !important;
    right: 80px !important;
    font-size: 25px !important;
    transform: translate(0%, -50%) !important;
    padding: 0 !important;
    background: transparent !important;
}

body .search-elements .filter-members {
    width: 20% !important;
    border-left: solid 2px #eaeaea !important;
    height: 75px !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 20px !important;
}

/* Additional input styling for compatibility */
body .search-accordion input {
    max-width: 750px !important;
    box-shadow: 0px 1px 3px rgb(0 0 0 / 16%) !important;
    margin-right: 0px !important;
}