.payment-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    background-color: rgba(30, 30, 30, 0.9);
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
    border: 1px solid #333;
    --webkit-backdrop-filter: blur(5px);
}

/* 表单样式 */
#uid-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

#uid-form .form-group {
    margin-bottom: 0;
    flex: 1;
}

/* 玩家信息样式 */
.player-info, .product-list {
    display: none;
    margin-top: 30px;
}

.player-info .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

/* 商品列表样式 */
#products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.product-item {
    position: relative;
    padding: 30px;
    background-color: #2a2a2a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #444;
    color: #e0e0e0;
}

.product-item:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.product-item h5 {
    font-size: 16px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: #ffffff;
}

.product-item p {
    color: #b0b0b0;
    margin-bottom: 0;
}

.title-style {
    color: #ffffff;
}

h4 {
    margin-bottom: 15px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

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

#uid-form input {
    color: #333 !important;
}

#uid-error {
    flex-basis: 100%;
    margin-top: 10px;
}

#uid-form input:-webkit-autofill,
#uid-form input:-webkit-autofill:hover, 
#uid-form input:-webkit-autofill:focus, 
#uid-form input:-webkit-autofill:active {
    -webkit-text-fill-color: #333 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.player-info p {
    margin-bottom: 0;
    background-color: #2a2a2a;
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid #444;
    white-space: nowrap;
    color: #e0e0e0;
}

.player-summary-content p {
    margin: 0;
    padding: 0;
    white-space: nowrap;
    color: #e0e0e0;
    font-size: 14px;
}

.player-summary {
    margin: 15px 0;
    padding: 0;
    background-color: transparent;
}

.player-summary-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.player-summary-content {
    display: flex;
    gap: 15px;
    background-color: transparent;
    padding: 0;
    flex-grow: 1;
}

/* 响应式设计 */
@media (max-width: 576px) {
    #uid-form, 
    .player-summary-container,
    .player-summary-content,
    .player-info .row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .player-summary-content p,
    .player-info p {
        white-space: normal;
        width: 100%;
    }
    
    #back-to-uid {
        margin-top: 10px;
        width: 100%;
    }
}