/* 原有样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f2f5;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #1a73e8;
    font-size: 28px;
    margin-bottom: 10px;
}

.header p {
    color: #5f6368;
    font-size: 16px;
}

.main {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-card {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-size: 18px;
    color: #202124;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f2f5;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3c4043;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dadce0;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
    word-break: break-all;
}

.form-control:focus {
    outline: none;
    border-color: #1a73e8;
}

.alipay-tip {
    font-size: 12px;
    color: #80868b;
    margin-top: 5px;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #1a73e8;
}

.status-btn-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.status-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #dadce0;
    background: white;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.status-btn.active {
    background-color: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: #1557b0;
}

.list-card {
    flex: 2;
    min-width: 300px;
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.list-title {
    font-size: 18px;
    color: #202124;
}

.filter-group {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 6px 12px;
    border: 1px solid #dadce0;
    background: white;
    border-radius: 16px;
    font-size: 14px;
    color: #5f6368;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.filter-btn.active {
    background-color: #e8f0fe;
    color: #1a73e8;
    border-color: #1a73e8;
}

.user-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.user-item {
    border: 1px solid #f0f2f5;
    border-radius: 8px;
    padding: 16px;
    position: relative;
    transition: box-shadow 0.2s;
}

.user-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.user-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-找队 {
    background-color: #e6f4ea;
    color: #137333;
}

.status-缺人 {
    background-color: #fce8e6;
    color: #c5221f;
}

.user-score {
    font-size: 24px;
    font-weight: bold;
    color: #202124;
    margin: 10px 0;
}

.user-alipay {
    font-size: 13px;
    color: #5f6368;
    margin-bottom: 12px;
    line-height: 1.5;
    word-break: break-all;
    background-color: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
}

.copy-btn {
    width: 100%;
    padding: 8px;
    border: 1px solid #1a73e8;
    background: white;
    color: #1a73e8;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.copy-btn:hover {
    background-color: #1a73e8;
    color: white;
}

.copy-btn.copied {
    background-color: #137333;
    border-color: #137333;
    color: white;
}

.user-time {
    font-size: 12px;
    color: #80868b;
    margin-top: 8px;
    text-align: right;
}

.empty {
    text-align: center;
    padding: 40px 0;
    color: #80868b;
    font-size: 16px;
    grid-column: 1 / -1;
}

.msg {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.msg.success {
    background-color: #e6f4ea;
    color: #137333;
}

.msg.error {
    background-color: #fce8e6;
    color: #c5221f;
}

.status-desc {
    font-size: 12px;
    color: #80868b;
    font-weight: normal;
    margin-left: 5px;
    display: block;
    margin-top: 3px;
}

.score-need {
    padding: 3px 0;
}

.score-info {
    margin: 10px 0;
    padding: 10px;
    background: #f0f7ff;
    border-left: 3px solid #1a73e8;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.team-info {
    font-size: 13px;
    color: #5f6368;
    margin: 6px 0;
    line-height: 1.5;
}

select.form-control {
    height: 42px;
    color: #3c4043;
}

@media (max-width: 768px) {
    .main {
        flex-direction: column;
    }
}

/* 新增：搜索框样式 */
.search-group form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-group .form-control {
    flex: 1;
    padding: 10px 15px;
    height: 40px;
}

.search-btn, .reset-btn {
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
}

.search-btn {
    background-color: #1a73e8;
    color: white;
}

.search-btn:hover {
    background-color: #1557b0;
}

.reset-btn {
    background-color: #f0f2f5;
    color: #5f6368;
    text-decoration: none;
}

.reset-btn:hover {
    background-color: #e5e7eb;
}