* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: #f5f7fa; }

.login-container { min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); display: flex; align-items: center; justify-content: center; }
.login-box { background: white; border-radius: 16px; padding: 50px; width: 450px; box-shadow: 0 25px 75px rgba(0,0,0,0.3); }
.login-title { text-align: center; margin-bottom: 35px; font-size: 26px; font-weight: bold; color: #333; }

.layout-container { display: flex; height: 100vh; }
.sidebar { width: 240px; background: #1a2035; color: white; display: flex; flex-direction: column; }
.sidebar-header { padding: 25px; text-align: center; font-size: 20px; font-weight: bold; border-bottom: 1px solid #2d3548; background: linear-gradient(135deg, #1a2035 0%, #2d3548 100%); }
.sidebar-menu { flex: 1; overflow-y: auto; }
.menu-item { padding: 16px 24px; cursor: pointer; display: flex; align-items: center; transition: all 0.25s; border-left: 3px solid transparent; }
.menu-item:hover { background: #2d3548; }
.menu-item.active { background: #232d42; border-left-color: #409eff; }
.menu-icon { margin-right: 12px; font-size: 18px; }
.menu-text { font-size: 15px; }
.menu-sub { padding-left: 56px; background: #151c2c; }
.menu-sub:hover { background: #1d2636; }

.main-content { flex: 1; display: flex; flex-direction: column; background: #f0f2f5; }
.top-bar { height: 56px; background: white; border-bottom: 1px solid #e8e8e8; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.top-bar-left { font-size: 18px; font-weight: bold; color: #333; }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-right span { font-size: 14px; color: #666; }

.content-area { flex: 1; padding: 24px; overflow-y: auto; }

.card { background: white; border-radius: 12px; padding: 24px; margin-bottom: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.card-title { font-size: 18px; font-weight: bold; color: #333; }
.btn-group { display: flex; gap: 12px; align-items: center; }

.status-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.status-pending { background: #fff7e6; color: #faad14; }
.status-active { background: #f6ffed; color: #52c41a; }
.status-completed { background: #e6f7ff; color: #1890ff; }
.status-disabled { background: #f5f5f5; color: #999; }

.el-table { font-size: 14px; border-radius: 8px; }
.el-table th { background: #fafafa; font-weight: 600; }
.el-form-item { margin-bottom: 20px; }
.el-dialog__body { max-height: 65vh; overflow-y: auto; }
.el-dialog__header { border-bottom: 1px solid #f0f0f0; }
.el-dialog__title { font-size: 16px; font-weight: bold; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.stat-card { background: white; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); display: flex; flex-direction: column; }
.stat-icon { font-size: 36px; margin-bottom: 12px; }
.stat-value { font-size: 32px; font-weight: bold; color: #333; margin-bottom: 6px; }
.stat-label { font-size: 14px; color: #999; }

.chart-container { height: 350px; }

.spot-container { padding: 16px; }
.pond-section { margin-bottom: 32px; }
.pond-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px 16px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 12px; }
.pond-icon { font-size: 28px; }
.pond-info { display: flex; flex-direction: column; }
.pond-name { font-size: 18px; font-weight: bold; color: white; }
.pond-stats { font-size: 13px; color: rgba(255,255,255,0.8); }
.spot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; }
.spot-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 8px; border-radius: 12px; cursor: pointer; transition: all 0.3s; border: 2px solid transparent; }
.spot-item:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.spot-number { font-size: 20px; font-weight: bold; margin-bottom: 4px; }
.spot-status-text { font-size: 12px; }
.spot-status-0 { background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%); border-color: #b7eb8f; }
.spot-status-0 .spot-number { color: #52c41a; }
.spot-status-0 .spot-status-text { color: #52c41a; }
.spot-status-1 { background: linear-gradient(135deg, #fff7e6 0%, #ffd591 100%); border-color: #ffa940; }
.spot-status-1 .spot-number { color: #fa8c16; }
.spot-status-1 .spot-status-text { color: #fa8c16; }
.spot-status-2 { background: linear-gradient(135deg, #f5f5f5 0%, #e6e6e6 100%); border-color: #d9d9d9; }
.spot-status-2 .spot-number { color: #999; }
.spot-status-2 .spot-status-text { color: #999; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; color: #999; }
.empty-icon { font-size: 64px; margin-bottom: 16px; }
.empty-text { font-size: 16px; margin-bottom: 20px; }