body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; background: #f0f2f5; color: #333; }
.navbar { background: #fff; padding: 1rem 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; }
.brand { font-weight: bold; font-size: 1.2rem; color: #1dbf73; }
.container { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }
.card { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-bottom: 2rem; }
.card h3 { margin-top: 0; border-bottom: 2px solid #f0f2f5; padding-bottom: 0.5rem; }
.btn { padding: 8px 16px; border: none; border-radius: 4px; cursor: pointer; font-weight: 500; transition: all 0.2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.btn-primary { background: #1dbf73; color: white; }
.btn-primary:hover { background: #19a463; }
.btn-danger { background: #ff4d4f; color: white; }
.btn-danger:hover { background: #ff7875; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #eee; }
th { color: #666; font-weight: 600; }
input, select { padding: 8px; border: 1px solid #ddd; border-radius: 4px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
input:focus, select:focus { outline: none; border-color: #1dbf73; box-shadow: 0 0 0 3px rgba(29,191,115,0.1); }
.status-badge { padding: 4px 8px; border-radius: 12px; font-size: 0.85em; font-weight: bold; }
.status-active { background: #e6f7ff; color: #1890ff; }
.status-off { background: #fff1f0; color: #ff4d4f; }
.log-box { background: #1e1e1e; color: #d4d4d4; padding: 1rem; border-radius: 4px; height: 300px; overflow-y: auto; font-family: monospace; font-size: 0.9rem; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card { animation: fadeIn 0.3s ease; }
