/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f0f2f5; color: #333; }
a { text-decoration: none; color: inherit; }

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: #001529; color: #fff; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; }
.admin-sidebar-logo { padding: 20px; font-size: 20px; font-weight: 700; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); letter-spacing: 2px; }
.admin-sidebar-nav { flex: 1 1; padding: 12px 0; overflow-y: auto; }
.admin-sidebar-item { display: flex; align-items: center; gap: 10px; padding: 14px 24px; color: rgba(255,255,255,0.65); font-size: 14px; transition: all 0.2s; cursor: pointer; }
.admin-sidebar-item:hover { color: #fff; background: rgba(255,255,255,0.08); }
.admin-sidebar-item.active { color: #fff; background: #1890ff; }
.admin-sidebar-item .icon { font-size: 18px; width: 20px; text-align: center; }
.admin-main { flex: 1 1; margin-left: 220px; }
.admin-header { background: #fff; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 4px rgba(0,0,0,0.08); position: -webkit-sticky; position: sticky; top: 0; z-index: 50; }
.admin-header h2 { font-size: 18px; font-weight: 600; color: #333; }
.admin-header-right { display: flex; align-items: center; gap: 16px; }
.admin-header-user { font-size: 14px; color: #666; }
.admin-content { padding: 24px 32px; max-width: 1400px; }
.admin-card { background: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); margin-bottom: 24px; }
.admin-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.admin-card-title { font-size: 16px; font-weight: 600; color: #333; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-gap: 16px; gap: 16px; margin-bottom: 24px; }
.admin-stat-card { background: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.admin-stat-value { font-size: 32px; font-weight: 700; color: #1890ff; margin-bottom: 4px; }
.admin-stat-label { font-size: 14px; color: #999; }
.admin-stat-card.green .admin-stat-value { color: #52c41a; }
.admin-stat-card.orange .admin-stat-value { color: #fa8c16; }
.admin-stat-card.purple .admin-stat-value { color: #722ed1; }
.admin-stat-card.red .admin-stat-value { color: #f5222d; }

table { width: 100%; border-collapse: collapse; }
th { background: #fafafa; padding: 12px 16px; text-align: left; font-weight: 600; font-size: 13px; color: #666; border-bottom: 2px solid #f0f0f0; }
td { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
tr:hover td { background: #fafafa; }
.table-wrap { overflow-x: auto; }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 20px; border-radius: 6px; font-size: 14px; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary { background: #1890ff; color: #fff; }
.btn-primary:hover { background: #40a9ff; }
.btn-danger { background: #ff4d4f; color: #fff; }
.btn-danger:hover { background: #ff7875; }
.btn-success { background: #52c41a; color: #fff; }
.btn-success:hover { background: #73d13d; }
.btn-default { background: #fff; color: #333; border: 1px solid #d9d9d9; }
.btn-default:hover { border-color: #1890ff; color: #1890ff; }
.btn-sm { padding: 4px 12px; font-size: 12px; }
.btn-link { background: none; border: none; color: #1890ff; cursor: pointer; padding: 0; font-size: 14px; }
.btn-link:hover { color: #40a9ff; }
.btn-link.danger { color: #ff4d4f; }
.btn-link.danger:hover { color: #ff7875; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: #333; margin-bottom: 6px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 14px; outline: none; transition: border-color 0.2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: #1890ff; box-shadow: 0 0 0 2px rgba(24,144,255,0.2); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 16px; gap: 16px; }

.tag { display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.tag-blue { background: #e6f7ff; color: #1890ff; }
.tag-green { background: #f6ffed; color: #52c41a; }
.tag-orange { background: #fff7e6; color: #fa8c16; }
.tag-red { background: #fff1f0; color: #f5222d; }
.tag-purple { background: #f9f0ff; color: #722ed1; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; }
.pagination button { padding: 6px 14px; border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; cursor: pointer; font-size: 14px; }
.pagination button:hover { border-color: #1890ff; color: #1890ff; }
.pagination button:disabled { opacity: 0.5; cursor: not-allowed; }
.pagination .page-info { font-size: 14px; color: #666; }

.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.login-card { background: #fff; border-radius: 12px; padding: 48px 40px; width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.login-title { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 8px; color: #333; }
.login-subtitle { font-size: 14px; text-align: center; color: #999; margin-bottom: 32px; }
.login-error { background: #fff1f0; border: 1px solid #ffccc7; border-radius: 6px; padding: 10px 16px; color: #f5222d; font-size: 14px; margin-bottom: 16px; text-align: center; }
.login-btn { width: 100%; padding: 12px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: opacity 0.2s; }
.login-btn:hover { opacity: 0.9; }

.search-bar { display: flex; gap: 12px; margin-bottom: 16px; }
.search-bar input { flex: 1 1; padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 14px; outline: none; }
.search-bar input:focus { border-color: #1890ff; }
.search-bar select { padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 14px; outline: none; }

.empty-state { text-align: center; padding: 60px 20px; color: #999; }
.empty-state .icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal { background: #fff; border-radius: 12px; padding: 32px; width: 600px; max-width: 90vw; max-height: 80vh; overflow-y: auto; }
.modal-lg { width: 800px; }
.modal-title { font-size: 18px; font-weight: 600; margin-bottom: 24px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

.tag-default { background: #f0f0f0; color: #666; }
pre { margin: 0; }

.badge { display: inline-block; min-width: 20px; height: 20px; border-radius: 10px; background: #ff4d4f; color: #fff; font-size: 12px; text-align: center; line-height: 20px; padding: 0 6px; }

@media (max-width: 768px) {
  .admin-sidebar { width: 60px; }
  .admin-sidebar-logo span { display: none; }
  .admin-sidebar-item span:not(.icon) { display: none; }
  .admin-main { margin-left: 60px; }
  .admin-content { padding: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

