* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; background: #f0f2f5; color: #333; min-height: 100vh; }
a { color: #0A6EBD; text-decoration: none; }
.layout { display: flex; min-height: 100vh; }
.sidebar { width: 240px; background: linear-gradient(180deg, #001529 0%, #002140 100%); color: #fff; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; transition: transform 0.3s; overflow-y: auto; }
.sidebar.collapsed { transform: translateX(-240px); }
.main { flex: 1; margin-left: 240px; transition: margin-left 0.3s; }
.main.expanded { margin-left: 0; }
.sidebar-header { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-header h1 { font-size: 18px; font-weight: 600; color: #fff; }
.sidebar-header p { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.sidebar-menu { padding: 12px 0; }
.menu-item { display: flex; align-items: center; padding: 12px 24px; color: rgba(255,255,255,0.7); cursor: pointer; transition: all 0.3s; font-size: 14px; border-left: 3px solid transparent; }
.menu-item:hover { color: #fff; background: rgba(255,255,255,0.08); }
.menu-item.active { color: #fff; background: rgba(10,110,189,0.3); border-left-color: #0A6EBD; }
.menu-item .icon { width: 20px; margin-right: 12px; text-align: center; font-size: 16px; }
.menu-group { padding: 16px 24px 8px; font-size: 12px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1px; }
.header { background: #fff; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 4px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 50; }
.header-left { display: flex; align-items: center; gap: 16px; }
.toggle-btn { background: none; border: none; font-size: 20px; cursor: pointer; color: #666; padding: 4px 8px; border-radius: 4px; }
.toggle-btn:hover { background: #f0f0f0; }
.breadcrumb { font-size: 14px; color: #999; }
.breadcrumb span { color: #333; font-weight: 500; }
.header-right { display: flex; align-items: center; gap: 16px; }
.env-badge { background: #e6f7ff; color: #0A6EBD; padding: 4px 12px; border-radius: 12px; font-size: 12px; border: 1px solid #91d5ff; }
.user-info { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #0A6EBD; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.content { padding: 24px; }
.card { background: #fff; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); margin-bottom: 20px; }
.card-header { padding: 16px 24px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 16px; font-weight: 600; }
.card-body { padding: 20px 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 20px; }
.stat-card { background: #fff; border-radius: 8px; padding: 20px 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.stat-card .stat-label { font-size: 14px; color: #999; margin-bottom: 8px; }
.stat-card .stat-value { font-size: 28px; font-weight: 700; }
.stat-card .stat-sub { font-size: 12px; color: #999; margin-top: 4px; }
.stat-card .stat-icon { float: right; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.stat-card .stat-value.red { color: #ff4d4f; }
.stat-card .stat-value.green { color: #52c41a; }
.stat-card .stat-value.blue { color: #0A6EBD; }
.stat-card .stat-value.orange { color: #fa8c16; }
.stat-icon.blue { background: #e6f7ff; }
.stat-icon.green { background: #f6ffed; }
.stat-icon.red { background: #fff2f0; }
.stat-icon.orange { background: #fff7e6; }
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #f0f0f0; font-size: 14px; white-space: nowrap; }
th { background: #fafafa; font-weight: 600; color: #666; }
tr:hover td { background: #fafafa; }
.goods-table { width: 100%; table-layout: fixed; }
.goods-table th,
.goods-table td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; }
.goods-table th,
.goods-table td { box-sizing: border-box; }
.goods-cell-text { display: block; width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.goods-col-th { position: relative; }
.goods-col-resizer { position: absolute; top: 0; right: 0; width: 10px; height: 100%; cursor: col-resize; z-index: 10; }
.goods-col-resizer:hover::before,
.goods-col-resizer::before { content: ''; position: absolute; top: 0; right: 3px; width: 2px; height: 100%; background: rgba(0,0,0,0.16); pointer-events: none; }
.goods-table-resizing { cursor: col-resize !important; user-select: none; }
@media (max-width: 768px) {
  .goods-table { table-layout: auto; }
  .goods-table th,
  .goods-table td { white-space: normal; overflow: visible; text-overflow: clip; }
  .goods-cell-text { display: block; width: auto; min-width: 0; overflow: visible; text-overflow: clip; white-space: normal; }
  .goods-col-resizer { display: none; }
}
.tag { display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.tag-blue { background: #e6f7ff; color: #0A6EBD; }
.tag-green { background: #f6ffed; color: #52c41a; }
.tag-red { background: #fff2f0; color: #ff4d4f; }
.tag-orange { background: #fff7e6; color: #fa8c16; }
.tag-gray { background: #f5f5f5; color: #999; }
.tag-gold { background: #fffbe6; color: #d48806; }
.tag-purple { background: #f9f0ff; color: #722ed1; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 6px; font-size: 14px; cursor: pointer; border: 1px solid #d9d9d9; background: #fff; color: #333; transition: all 0.3s; }
.btn:hover { border-color: #0A6EBD; color: #0A6EBD; }
.btn-primary { background: #0A6EBD; color: #fff; border-color: #0A6EBD; }
.btn-primary:hover { background: #085a9c; border-color: #085a9c; color: #fff; }
.btn-success { background: #52c41a; color: #fff; border-color: #52c41a; }
.btn-success:hover { background: #389e0d; border-color: #389e0d; color: #fff; }
.btn-danger { background: #ff4d4f; color: #fff; border-color: #ff4d4f; }
.btn-danger:hover { background: #cf1322; border-color: #cf1322; color: #fff; }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-link { border: none; background: none; color: #0A6EBD; padding: 0; }
.btn-link:hover { color: #085a9c; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: #333; }
.form-control { width: 100%; padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 14px; transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: #0A6EBD; box-shadow: 0 0 0 2px rgba(10,110,189,0.2); }
select.form-control { appearance: auto; }
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.45); z-index: 200; display: flex; align-items: center; justify-content: center; }
.modal { background: #fff; border-radius: 12px; width: 90%; max-width: 560px; max-height: 80vh; overflow-y: auto; box-shadow: 0 6px 30px rgba(0,0,0,0.2); }
.modal-header { padding: 20px 24px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-size: 16px; }
.modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: #999; padding: 4px; }
.modal-close:hover { color: #333; }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid #f0f0f0; display: flex; justify-content: flex-end; gap: 12px; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid #f0f0f0; margin-bottom: 20px; }
.tab { padding: 10px 20px; font-size: 14px; color: #666; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.3s; }
.tab:hover { color: #0A6EBD; }
.tab.active { color: #0A6EBD; border-bottom-color: #0A6EBD; font-weight: 500; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.search-input { padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 14px; width: 240px; }
.search-input:focus { outline: none; border-color: #0A6EBD; }
.empty-state { text-align: center; padding: 60px 20px; color: #999; }
.empty-state .icon { font-size: 48px; margin-bottom: 16px; }
.empty-state p { font-size: 14px; }
.pagination { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.pagination .info { font-size: 14px; color: #999; }
.pagination .pages { display: flex; gap: 4px; }
.pagination .page-btn { width: 32px; height: 32px; border: 1px solid #d9d9d9; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; background: #fff; }
.pagination .page-btn:hover { border-color: #0A6EBD; color: #0A6EBD; }
.pagination .page-btn.active { background: #0A6EBD; color: #fff; border-color: #0A6EBD; }
.toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 999; background: #fff; padding: 12px 24px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); font-size: 14px; display: flex; align-items: center; gap: 8px; transition: opacity 0.3s; }
.toast.success { border-left: 4px solid #52c41a; }
.toast.error { border-left: 4px solid #ff4d4f; }
.toast.info { border-left: 4px solid #0A6EBD; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.detail-item { padding: 8px 0; }
.detail-item .label { font-size: 12px; color: #999; margin-bottom: 4px; }
.detail-item .value { font-size: 14px; color: #333; }
.goods-list { display: flex; flex-direction: column; gap: 12px; }
.goods-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fafafa; border-radius: 8px; }
.goods-item img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; }
.goods-item .info { flex: 1; }
.goods-item .name { font-size: 14px; font-weight: 500; }
.goods-item .spec { font-size: 12px; color: #999; margin-top: 2px; }
.goods-item .price { font-size: 14px; color: #ff4d4f; font-weight: 600; text-align: right; }
.chart-container { height: 300px; position: relative; }
.mini-chart { display: flex; align-items: flex-end; gap: 8px; height: 200px; padding: 20px 0; }
.chart-bar { flex: 1; border-radius: 4px 4px 0 0; min-width: 20px; transition: height 0.5s; position: relative; }
.chart-bar .chart-label { position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%); font-size: 11px; color: #999; white-space: nowrap; }
.chart-bar .chart-value { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; color: #666; white-space: nowrap; }
.chart-area { margin-top: 40px; }
.credit-bar { height: 20px; background: #f0f0f0; border-radius: 10px; overflow: hidden; margin: 8px 0; }
.credit-bar .used { height: 100%; border-radius: 10px; transition: width 0.5s; }
.credit-bar .used.warning { background: linear-gradient(90deg, #faad14, #ff4d4f); }
.credit-bar .used.normal { background: linear-gradient(90deg, #52c41a, #0A6EBD); }
@media (max-width: 768px) {
  .sidebar { transform: translateX(-240px); }
  .sidebar.mobile-open { transform: translateX(0); }
  .main { margin-left: 0 !important; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search-input { width: 100%; }
}
.config-section { background: #f9f9f9; border-radius: 8px; padding: 20px; margin-top: 16px; }
.config-section h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: #0A6EBD; }
.config-section pre { background: #1e1e1e; color: #d4d4d4; padding: 16px; border-radius: 8px; font-size: 13px; overflow-x: auto; line-height: 1.6; }
/* Dynamic list styles */
.dynamic-list { display: flex; flex-direction: column; gap: 8px; }
.dynamic-list-item { display: flex; align-items: center; gap: 8px; }
.dynamic-list-item .form-control { flex: 1; }
.dynamic-list-item .btn-remove { background: #fff2f0; color: #ff4d4f; border: 1px solid #ffccc7; border-radius: 6px; padding: 6px 10px; cursor: pointer; font-size: 14px; line-height: 1; }
.dynamic-list-item .btn-remove:hover { background: #ff4d4f; color: #fff; }
.btn-add-item { background: #f6ffed; color: #52c41a; border: 1px dashed #b7eb8f; border-radius: 6px; padding: 8px 16px; cursor: pointer; font-size: 13px; width: 100%; text-align: center; }
.btn-add-item:hover { background: #d9f7be; border-color: #52c41a; }
/* Category tag list */
.cat-tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.cat-tag-item { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: #e6f7ff; color: #0A6EBD; border-radius: 4px; font-size: 13px; }
.cat-tag-item .cat-tag-del { cursor: pointer; font-size: 16px; line-height: 1; color: #999; margin-left: 2px; }
.cat-tag-item .cat-tag-del:hover { color: #ff4d4f; }
.cat-input-row { display: flex; gap: 8px; }
.cat-input-row .form-control { flex: 1; }
.cat-input-row .btn { white-space: nowrap; }
/* Image upload area */
.img-upload-area { border: 2px dashed #d9d9d9; border-radius: 8px; padding: 16px; text-align: center; cursor: pointer; transition: border-color 0.3s; margin-bottom: 12px; }
.img-upload-area:hover { border-color: #0A6EBD; }
.img-upload-area .upload-icon { font-size: 28px; color: #bbb; margin-bottom: 4px; }
.img-upload-area .upload-text { font-size: 13px; color: #999; }
.img-list { display: flex; flex-wrap: wrap; gap: 10px; }
.img-item { position: relative; width: 90px; height: 90px; border-radius: 6px; overflow: hidden; border: 1px solid #f0f0f0; }
.img-item img { width: 100%; height: 100%; object-fit: cover; }
.img-item .img-del { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; background: rgba(0,0,0,0.5); color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 20px; text-align: center; }
.img-item .img-del:hover { background: #ff4d4f; }
.img-item .img-main-tag { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.6); color: #fff; font-size: 10px; text-align: center; padding: 2px 0; }
.goods-table-img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; display: block; background: #f5f5f5; color: #999; font-size: 12px; text-align: center; line-height: 48px; }
.goods-table-img-empty { border: 1px dashed #d9d9d9; }
.detail-img-item { width: 120px; height: 120px; }
.img-item .img-move-up { left: 2px; right: auto; }
.img-item .img-move-down { left: 24px; right: auto; }
.img-url-input-row { display: flex; gap: 8px; margin-top: 8px; }
.img-url-input-row .form-control { flex: 1; font-size: 12px; }
.img-url-input-row .btn { white-space: nowrap; font-size: 12px; }
.modal { max-width: 680px; }
/* Model card styles */
.model-card { border: 1px solid #e8e8e8; border-radius: 8px; padding: 12px; margin-bottom: 10px; background: #fafbfc; }
.model-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.model-card-header .form-control { flex: 1; font-size: 13px; }
.model-card-header .btn-remove { background: #fff2f0; color: #ff4d4f; border: 1px solid #ffccc7; border-radius: 6px; padding: 4px 8px; cursor: pointer; font-size: 16px; line-height: 1; }
.model-card-header .btn-remove:hover { background: #ff4d4f; color: #fff; }
.model-card .model-imgs { display: flex; flex-wrap: wrap; gap: 6px; min-height: 40px; padding: 6px; background: #fff; border-radius: 6px; border: 1px dashed #e0e0e0; }
.model-card .model-imgs .mini-img-item { position: relative; width: 48px; height: 48px; border-radius: 4px; overflow: hidden; border: 1px solid #f0f0f0; }
.model-card .model-imgs .mini-img-item img { width: 100%; height: 100%; object-fit: cover; }
.model-card .model-imgs .mini-img-del { position: absolute; top: 0; right: 0; width: 16px; height: 16px; background: rgba(0,0,0,0.5); color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: 11px; line-height: 16px; text-align: center; }
.model-card .model-imgs .mini-add-btn { width: 48px; height: 48px; border: 1px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #bbb; font-size: 20px; background: #fff; }
.model-card .model-imgs .mini-add-btn:hover { border-color: #0A6EBD; color: #0A6EBD; }
/* Qualification cert styles */
.cert-section { border: 1px solid #e8e8e8; border-radius: 8px; padding: 12px; background: #fafbfc; }
.cert-section h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: #333; }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cert-item { border: 1px solid #e0e0e0; border-radius: 6px; padding: 10px; background: #fff; }
.cert-item-label { font-size: 12px; color: #666; margin-bottom: 6px; font-weight: 500; }
.cert-item .cert-imgs { display: flex; flex-wrap: wrap; gap: 6px; min-height: 36px; }
.cert-item .cert-img-box { position: relative; width: 60px; height: 60px; border-radius: 4px; overflow: hidden; border: 1px solid #f0f0f0; }
.cert-item .cert-img-box img { width: 100%; height: 100%; object-fit: cover; }
.cert-item .cert-del { position: absolute; top: 0; right: 0; width: 16px; height: 16px; background: rgba(0,0,0,0.5); color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: 11px; line-height: 16px; text-align: center; }
.cert-add-btn { width: 60px; height: 60px; border: 1px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #bbb; font-size: 20px; background: #fff; }
.cert-add-btn:hover { border-color: #0A6EBD; color: #0A6EBD; }
.config-section .step { display: flex; gap: 12px; margin-bottom: 12px; }
.config-section .step-num { width: 28px; height: 28px; background: #0A6EBD; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.config-section .step-content { flex: 1; font-size: 14px; line-height: 1.8; }
.config-section .step-content strong { color: #333; }
.hidden { display: none !important; }
/* Ship goods item styles */
.ship-goods-item { transition: border-color 0.3s; }
.ship-goods-item:hover { border-color: #0A6EBD !important; }
.ship-goods-item input:focus { outline: none; border-color: #0A6EBD; box-shadow: 0 0 0 2px rgba(10,110,189,0.2); }
.ship-goods-item select:focus { outline: none; border-color: #0A6EBD; }
/* Modal large size */
.modal.large { max-width: 1200px; width: 95vw; }
.modal.large .modal-body { max-height: 70vh; overflow-y: auto; }
/* Modal xlarge size - for two-column goods form */
.modal.xlarge { max-width: 1400px; width: 96vw; }
.modal.xlarge .modal-body { max-height: 80vh; overflow-y: auto; }
/* 商品搜索下拉 */
.co-goods-dropdown { position:absolute;top:100%;left:0;right:0;z-index:1060;background:#fff;border:1px solid #d9d9d9;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,0.15);max-height:280px;overflow-y:auto;margin-top:4px; }
.co-goods-option { padding:10px 16px;cursor:pointer;border-bottom:1px solid #f5f5f5;transition:background 0.2s; }
.co-goods-option:last-child { border-bottom:none; }
.co-goods-option:hover { background:#e6f7ff; }
.co-goods-option.disabled { opacity:0.5;cursor:not-allowed;background:#fafafa; }
.co-goods-option.disabled:hover { background:#fafafa; }
.loading { text-align: center; padding: 40px; color: #999; }
.spinner { display: inline-block; width: 32px; height: 32px; border: 3px solid #f0f0f0; border-top-color: #0A6EBD; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Config modal styles */
.config-preview { transition: all 0.3s; }
.config-preview code { background: #f0f0f0; padding: 2px 6px; border-radius: 4px; font-family: monospace; }
/* Mode switch animation */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in { animation: fadeIn 0.3s ease; }
/* Radio button custom style */
input[type="radio"] { width: 16px; height: 16px; accent-color: #0A6EBD; }
/* Batch import styles */
.batch-import-modal { margin-bottom: 4px; }
.batch-import-note { padding: 14px; background: #f7f9fc; border: 1px solid #e8edf5; border-radius: 8px; margin-bottom: 16px; }
.batch-rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.batch-rule-grid div { padding: 10px; background: #fff; border: 1px solid #edf0f5; border-radius: 6px; }
.batch-rule-grid strong { display: block; font-size: 13px; color: #222; margin-bottom: 4px; }
.batch-rule-grid span { display: block; font-size: 12px; line-height: 1.5; color: #666; }
.batch-upload-area { border: 2px dashed #d9d9d9; border-radius: 8px; padding: 32px; text-align: center; cursor: pointer; transition: all 0.3s; background: #fff; }
.batch-upload-area:hover { border-color: #0A6EBD; background: #fafafa; }
.batch-upload-area.dragover { border-color: #0A6EBD; background: #e6f7ff; }
.batch-preview-table { max-height: 300px; overflow: auto; border: 1px solid #e8e8e8; border-radius: 8px; }
.batch-preview-table table { width: 100%; border-collapse: collapse; font-size: 12px; }
.batch-preview-table th { position: sticky; top: 0; background: #f5f5f5; padding: 8px; border: 1px solid #e8e8e8; text-align: left; font-weight: 500; white-space: nowrap; }
.batch-preview-table td { padding: 8px; border: 1px solid #e8e8e8; }
.batch-error { color: #ff4d4f; font-size: 13px; }
.batch-success { color: #52c41a; font-size: 13px; }
@media (max-width: 768px) { .batch-rule-grid { grid-template-columns: 1fr; } }
textarea.form-control { resize: vertical; min-height: 80px; font-family: inherit; }
/* ===== Login Page ===== */
.login-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, #001529 0%, #003a70 50%, #001529 100%); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.login-box { background: #fff; border-radius: 16px; padding: 48px 40px 40px; width: 400px; max-width: 90vw; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo h1 { font-size: 28px; font-weight: 700; color: #001529; margin: 0; }
.login-logo p { font-size: 14px; color: #999; margin-top: 8px; }
.login-form .form-group { margin-bottom: 20px; }
.login-form .form-group label { font-size: 14px; font-weight: 500; color: #333; margin-bottom: 8px; display: block; }
.login-form .form-control { padding: 12px 14px; font-size: 15px; border-radius: 8px; }
.login-form .btn { width: 100%; padding: 12px; font-size: 16px; border-radius: 8px; height: auto; }
.login-error { color: #ff4d4f; font-size: 13px; margin-top: -8px; margin-bottom: 12px; display: none; align-items: center; gap: 4px; }
.login-footer { text-align: center; margin-top: 24px; font-size: 12px; color: #bbb; }
.login-remember { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; margin-bottom: 20px; }
.login-remember input[type="checkbox"] { width: 16px; height: 16px; accent-color: #0A6EBD; }
/* Header user dropdown */
.header-user-area { position: relative; cursor: pointer; }
.header-user-dropdown { position: absolute; top: 100%; right: 0; background: #fff; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); min-width: 160px; padding: 8px 0; display: none; z-index: 300; }
.header-user-dropdown.show { display: block; }
.header-user-dropdown .dropdown-item { padding: 10px 16px; font-size: 14px; color: #333; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background 0.2s; }
.header-user-dropdown .dropdown-item:hover { background: #f5f5f5; }
.header-user-dropdown .dropdown-item.danger { color: #ff4d4f; }
.header-user-dropdown .dropdown-item.danger:hover { background: #fff2f0; }
