/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui;
}

body {
    background: #f8fafc;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2d3748;
    font-size: 24px;
    margin-bottom: 20px;
}

/* 手机版样式 */
.mobile-table {
    display: block;
}

.mobile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.account-name {
    flex: 1;
    padding-right: 15px;
    font-weight: 500;
    color: #2d3748;
}

.detail-btn {
    background: #4e73df;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    transition: background 0.3s;
}

.detail-btn:hover {
    background: #375abb;
}

/* PC版样式 */
.desktop-table {
    display: none;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    padding: 15px;
    animation: fadeIn 0.3s ease;
}

.modal-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin: 20px auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    color: #2d3748;
    font-size: 18px;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    padding: 8px;
    color: #718096;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #4a5568;
}

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

/* 信息项样式 */
.info-item {
    display: flex;
    margin-bottom: 15px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    align-items: center;
}

.info-item label {
    flex: 0 0 100px;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
}

.info-item span {
    flex: 1;
    color: #2d3748;
    font-size: 14px;
    word-break: break-all;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 响应式布局 */
@media (min-width: 769px) {
    .mobile-table {
        display: none;
    }
    
    .desktop-table {
        display: block;
    }
    
    table {
        width: 100%;
        border-collapse: collapse;
        background: white;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }
    
    th, td {
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #e3e6f0;
    }
    
    th {
        background: #4e73df;
        color: white;
    }
}


/* 红色字体样式 */
.red-text {
    color: #ff4444; /* 鲜艳的红色 */
    font-weight: 500; /* 加粗 */
}

/* 手机版账号名称样式调整 */
.mobile-row .account-name.red-text {
    color: #ff4444;
    font-weight: 500;
}

/* PC版表格账号名称样式调整 */
.desktop-table td.red-text {
    color: #ff4444;
    font-weight: 500;
}