* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.main-content {
    padding: 30px;
}

.search-section {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-section input {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
}

.search-section button {
    padding: 12px 25px;
    font-size: 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-section button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.search-section button:last-child {
    background: #ff9800;
}

.search-section button:last-child:hover {
    background: #e68900;
}

.admin-panel {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 2px dashed #667eea;
}

.admin-panel h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-group input {
    flex: 1;
    min-width: 150px;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
}

.form-group button {
    padding: 12px 30px;
    font-size: 16px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.form-group button:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.scammer-list {
    display: grid;
    gap: 15px;
}

.scammer-item {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    gap: 15px;
    flex-wrap: wrap;
}

.scammer-item:hover {
    border-color: #ff6b6b;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
}

.scammer-info {
    flex: 1;
}

.scammer-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.scammer-wechat {
    font-size: 18px;
    color: #666;
}

.copy-btn {
    padding: 10px 20px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: #0b7dda;
    transform: scale(1.05);
}

.copy-btn:active {
    transform: scale(0.95);
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.delete-btn {
    padding: 10px 20px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.delete-btn:hover {
    background: #da190b;
    transform: scale(1.05);
}

.delete-btn:active {
    transform: scale(0.95);
}

footer {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    color: #666;
    border-top: 2px solid #e0e0e0;
}

footer p {
    font-size: 14px;
    margin-bottom: 15px;
}

.qrcode-img {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 24px;
    }
    
    .search-section {
        flex-direction: column;
    }
    
    .search-section input,
    .search-section button {
        width: 100%;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input,
    .form-group button {
        width: 100%;
    }
    
    .scammer-item {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .action-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .copy-btn,
    .delete-btn {
        width: 100%;
    }
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 18px;
}
