﻿/* 现代风格 */
select.modern {
    padding: 12px 16px;
    border: none;
    border-bottom: 2px solid #4a90e2;
    border-radius: 0;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

    select.modern:focus {
        background-color: #fff;
        border-bottom-color: #2c6cb0;
        box-shadow: none;
    }

/* 圆角阴影风格 */
select.rounded {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    select.rounded:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

/* 极简风格 */
select.minimal {
    height: 44px;
    width: 195px;
    /* padding: 4px 6px;*/
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: transparent;
    box-shadow: none;
    /* 防止长文本撑开宽度 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
}

    select.minimal:focus {
        border-color: #999;
    }


.styled-select-container {
    display: flex;
    width: 100%;
    justify-content: space-between; /* 向两边平分 */
    /*   background: #f5f7fa;*/
    border-radius: 8px;
}

.styled-select {
    flex: 1;
    width: 100%;
    margin-right: 10px;
    padding: 12px;
    min-width: 0; /* 防止内容撑开 */
    /*text-align: center;*/
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    color: #374151;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.styled-select-container .styled-select:last-child {
    margin-right: 0; /* 最后一个去掉右边距 */
}

    .styled-select:hover {
        border-color: #9ca3af;
    }

    .styled-select:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

/*.styled-select-container select {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 120px;
}*/

@media (max-width: 200px) {
    .styled-select-container select {
        flex: 1 1 100%;
    }
}

.error-message {
    color: #ff3860;
    font-size: 0.8em;
    height: 16px;
    display: block;
    margin-top: 0px;
}