/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.custom-job-search-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* Input + Select wrapper */
.custom-job-search-bar .search-field {
    position: relative;
    flex: 1;
}

/* Icon inside field */
.custom-job-search-bar .search-field .icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #4A90E2;
}

/* Input + Select same design */
.custom-job-search-bar .search-field input,
.custom-job-search-bar .search-field select {
    width: 100%;
    padding: 10px 10px 10px 35px; /* space for icon */
    border: 1px solid #0f19412b;
    border-radius: 4px;
    font-size: 16px;
    background: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    height: 45px; /* make consistent height */
    line-height: 1.2;
}

/* Add custom dropdown arrow for select */
.custom-job-search-bar .search-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='black' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
    padding-right: 35px; /* space for arrow */
}

/* Focus state */
.custom-job-search-bar .search-field input:focus-visible,
.custom-job-search-bar .search-field select:focus-visible {
    border: 1px solid #4A90E2;
    outline: none;
}

/* Search Button */
.custom-job-search-bar .search-btn {
    background: linear-gradient(90deg, #4A90E2, #4AC5DD);
    color: #0F1941;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    height: 45px;
}

.custom-job-search-bar .search-btn i {
    margin-right: 6px;
}

.custom-job-search-bar .search-btn:hover {
    background: linear-gradient(90deg, #4AC5DD, #4A90E2);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .custom-job-search-bar {
        flex-direction: column;
    }
    .search-field {
        width: 100%;
    }
    .custom-job-search-bar .search-btn {
        width: 100%;
        text-align: center;
    }
}