/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #e6e6e6;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(30, 30, 46, 0.8);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    color: #64b5f6;
    margin-bottom: 20px;
    font-size: 2.5rem;
    text-align: center;
    text-shadow: 0 2px 10px rgba(100, 181, 246, 0.3);
}

h2 {
    color: #81c784;
    margin: 25px 0 15px;
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #b0bec5;
}

/* 表单样式 */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #90caf9;
}

input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(100, 181, 246, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #64b5f6;
    box-shadow: 0 0 15px rgba(100, 181, 246, 0.5);
}

button {
    background: linear-gradient(135deg, #64b5f6, #2196f3);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 20px;
}

button:hover {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.4);
}

/* 状态显示样式 */
.status-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.status-card {
    background: rgba(40, 40, 60, 0.8);
    border-radius: 15px;
    padding: 25px;
    border-left: 5px solid #64b5f6;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.status-card:hover {
    transform: translateY(-5px);
}

.status-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.status-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.status-title {
    font-size: 1.5rem;
    color: #64b5f6;
}

.status-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #81c784;
    margin: 10px 0;
}

.status-label {
    color: #b0bec5;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 用户列表 */
.user-list {
    list-style: none;
    margin-top: 20px;
}

.user-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    border-left: 4px solid #81c784;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.user-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.user-icon {
    font-size: 1.5rem;
    margin-right: 15px;
}

.user-name {
    font-size: 1.2rem;
    color: #e6e6e6;
}

/* 分隔线 */
.separator {
    height: 2px;
    background: linear-gradient(90deg, transparent, #64b5f6, transparent);
    margin: 30px 0;
}

/* 消息样式 */
.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4caf50;
    color: #81c784;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    color: #ef9a9a;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
}

/* 链接样式 */
a {
    color: #64b5f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #90caf9;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .status-container {
        grid-template-columns: 1fr;
    }
}

/* 更新时间样式 */
.update-time {
    text-align: center;
    margin-top: 30px;
    color: #b0bec5;
    font-size: 0.9rem;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #64b5f6;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 控制台样式 */
.console {
    background: rgba(20, 20, 30, 0.9);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(100, 181, 246, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    margin-top: 20px;
}

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

.console-header h2 {
    color: #64b5f6;
    font-size: 2rem;
    margin-bottom: 15px;
}

.console-separator {
    color: #64b5f6;
    text-align: center;
    margin: 20px 0;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.console-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.console-icon {
    font-size: 1.8rem;
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
}

.console-label {
    color: #90caf9;
    font-weight: bold;
    min-width: 120px;
}

.console-value {
    color: #81c784;
    flex-grow: 1;
    word-break: break-word;
}

.user-tag {
    display: inline-block;
    background: rgba(100, 181, 246, 0.2);
    border: 1px solid #64b5f6;
    border-radius: 20px;
    padding: 5px 15px;
    margin: 5px;
    font-size: 1rem;
    color: #e6e6e6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .console {
        padding: 20px;
        font-size: 1rem;
    }
    
    .console-icon {
        font-size: 1.5rem;
        margin-right: 15px;
    }
    
    .console-label {
        min-width: 100px;
    }
    
    .console-separator {
        font-size: 1.2rem;
    }
}