/*
 Theme Name:   Astra Child
 Theme URI:    https://we2usat.com/
 Description:  基于 Astra 主题的子主题，包含自定义搜索和数据管理功能（不影响Astra核心）
 Author:       we2usat
 Author URI:   https://we2usat.com/
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/

/* 自定义搜索表单样式 */
.astra-child-custom-search {
    width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    max-width: 100%;
    justify-content: center;
    align-items: center;
}

#custom-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

#custom-search-form input, 
#custom-search-form select, 
#custom-search-form button {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    flex: 1 1 600px;
    font-size: 24px;
}

#custom-search-form button {
    background: #007cba;
    color: white;
    border: none;
    cursor: pointer;
    flex: 1 1 180px;
}

.red{
    color: red;
}

.green{
    color: green;
}

@media screen and (max-width: 767px) {
    #custom-search-form {
        flex-direction: column;
    }

    #custom-search-form input, 
    #custom-search-form select {
        flex: 1 1 100%;
    }
    #custom-search-form button {
        flex: 1 1 100%;
    }
    
}