/**
 * Docs Search Shortcode Styles
 *
 * Styling for the sidebar documentation search form.
 * Clean, minimal design - only styles the input field itself.
 * SeedProd handles all outer borders and padding.
 */

/* Remove all default margins, padding, and borders from containers */
.search-form-docs.widget {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.search-form-docs.widget .wrap {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.search-form-docs.widget label {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* Search Input Field - Clean, borderless design */
.search-form-docs.widget input#s {
    background-color: #ffffff !important;
    display: block !important;
    width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 16px 16px 16px 48px !important;
    font-size: 16px !important;
    color: #35495c !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.search-form-docs.widget input#s:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.search-form-docs.widget input#s::placeholder {
    color: #a0a0a0;
    opacity: 1;
}

/* Search Icon */
.search-form-docs.widget button {
    background: none !important;
    border: none !important;
    -moz-appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
    height: auto;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.search-form-docs.widget button svg {
    fill: #a0a0a0;
    width: 20px;
    height: 20px;
}

/* Remove hover effects since icon is not clickable */
.search-form-docs.widget button:hover svg,
.search-form-docs.widget button:focus svg {
    fill: #a0a0a0;
}
