/* ============================================
   金币奖励管理后台 - 现代化设计 v2
   参考：深色侧边栏 + 彩色圆形图标
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #6C3FD1;
    --primary-dark: #5B2FB8;
    --primary-light: #EDE8FB;
    --sidebar-bg: #1E1145;
    --sidebar-gradient: linear-gradient(180deg, #1E1145 0%, #0F0829 100%);
    --sidebar-item-hover: rgba(108, 63, 209, 0.25);
    --sidebar-item-active: linear-gradient(135deg, #6C3FD1 0%, #8B5CF6 100%);
    --success: #10B981;
    --success-bg: #ECFDF5;
    --warning: #F59E0B;
    --warning-bg: #FFFBEB;
    --danger: #EF4444;
    --danger-bg: #FEF2F2;
    --info: #3B82F6;
    --info-bg: #EFF6FF;
    --text-main: #0F172A;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --bg: #F5F6FA;
    --card: #FFFFFF;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --sidebar-w: 240px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body { height: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
        'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* ============================================
   登录页
   ============================================ */
.login-body {
    background: linear-gradient(135deg, #1E1145 0%, #2D1B69 50%, #0F0829 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108,63,209,0.2) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.login-body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    border-radius: 50%;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.login-brand { text-align: center; margin-bottom: 36px; }

.login-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #6C3FD1 0%, #8B5CF6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 10px 25px rgba(108,63,209,0.4);
}

.login-brand h1 {
    font-size: 22px;
    color: var(--text-main);
    font-weight: 700;
}

.login-sub {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 6px;
    letter-spacing: 1px;
}

.login-form .form-group { margin-bottom: 22px; }

.login-tip {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

/* ============================================
   表单元素
   ============================================ */
.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group .required { color: var(--danger); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-main);
    background: #fff;
    transition: var(--transition);
    font-family: inherit;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #CBD5E1;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108,63,209,0.12);
}

.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================
   按钮
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1.4;
    font-family: inherit;
}

.btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, #6C3FD1 0%, #8B5CF6 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(108,63,209,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108,63,209,0.45);
    color: #fff;
}

.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { background: #059669; border-color: #059669; color: #fff; }

.btn-warning { background: var(--warning); border-color: var(--warning); color: #fff; }
.btn-warning:hover { background: #D97706; border-color: #D97706; color: #fff; }

.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #DC2626; border-color: #DC2626; color: #fff; }

.btn-sm { padding: 5px 12px; font-size: 12px; border-radius: 8px; }
.btn-block { width: 100%; padding: 13px; font-size: 15px; }

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--text-secondary);
}
.btn-ghost:hover { background: var(--primary-light); color: var(--primary); }

/* ============================================
   布局 - 侧边栏
   ============================================ */
.layout { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-w);
    background: var(--sidebar-gradient);
    color: #C4B5E0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    overflow: hidden;
}

.logo {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #6C3FD1 0%, #8B5CF6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(108,63,209,0.4);
}

.logo-text {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}

.menu {
    flex: 1;
    padding: 20px 14px;
    overflow-y: auto;
}

.menu::-webkit-scrollbar { width: 4px; }
.menu::-webkit-scrollbar-track { background: transparent; }
.menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: #A89BC7;
    font-size: 14px;
    margin-bottom: 4px;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    cursor: pointer;
}

.menu-item:hover {
    background: var(--sidebar-item-hover);
    color: #fff;
}

.menu-item.active {
    background: var(--sidebar-item-active);
    color: #fff;
    box-shadow: 0 4px 14px rgba(108,63,209,0.4);
}

.menu-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.sidebar-footer {
    padding: 16px 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.admin-info { display: flex; align-items: center; gap: 12px; }

.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6C3FD1 0%, #8B5CF6 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
}

.admin-meta { flex: 1; min-width: 0; }
.admin-name { color: #fff; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logout-link { color: #8B7FB0; font-size: 12px; transition: var(--transition); }
.logout-link:hover { color: #F87171; }

/* ============================================
   主内容区
   ============================================ */
.main {
    flex: 1;
    margin-left: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar {
    height: 72px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.page-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.now-time {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg);
    border-radius: 20px;
}

.content {
    flex: 1;
    padding: 28px 32px;
}

.footer {
    padding: 20px 32px;
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: #fff;
}

/* ============================================
   卡片 / 面板
   ============================================ */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.card:hover { box-shadow: var(--shadow-lg); }

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-form .form-input,
.filter-form .form-select {
    width: auto;
    min-width: 160px;
}

/* ============================================
   统计卡片 - 圆形图标风格
   ============================================ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.stat-icon-circle.icon-blue { background: linear-gradient(135deg, #60A5FA, #3B82F6); }
.stat-icon-circle.icon-green { background: linear-gradient(135deg, #34D399, #10B981); }
.stat-icon-circle.icon-yellow { background: linear-gradient(135deg, #FBBF24, #F59E0B); }
.stat-icon-circle.icon-purple { background: linear-gradient(135deg, #A78BFA, #8B5CF6); }
.stat-icon-circle.icon-cyan { background: linear-gradient(135deg, #22D3EE, #06B6D4); }
.stat-icon-circle.icon-pink { background: linear-gradient(135deg, #F472B6, #EC4899); }
.stat-icon-circle.icon-orange { background: linear-gradient(135deg, #FB923C, #F97316); }
.stat-icon-circle.icon-red { background: linear-gradient(135deg, #F87171, #EF4444); }

.stat-meta { flex: 1; min-width: 0; }
.stat-label { color: var(--text-secondary); font-size: 13px; margin-bottom: 6px; font-weight: 500; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--text-main); line-height: 1.1; letter-spacing: -1px; }
.stat-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ============================================
   表格
   ============================================ */
.table-wrap {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.table-scroll { overflow-x: auto; }

table.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

table.data-table th,
table.data-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
}

table.data-table th {
    background: #F8FAFC;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3px;
    position: sticky;
    top: 0;
    border-bottom: 1px solid var(--border);
}

table.data-table tbody tr { transition: var(--transition); }
table.data-table tbody tr:hover { background: var(--primary-light); }
table.data-table tbody tr:last-child td { border-bottom: none; }

.cell-main { font-weight: 600; color: var(--text-main); }
.cell-sub { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.cell-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-success { color: var(--success); font-weight: 600; }
.text-danger { color: var(--danger); font-weight: 600; }
.text-warning { color: var(--warning); font-weight: 600; }
.text-primary { color: var(--primary); font-weight: 600; }
.text-bold { font-weight: 700; }

.empty-row {
    text-align: center;
    color: var(--text-muted);
    padding: 60px 20px !important;
    font-size: 14px;
}

/* ============================================
   标签 / 徽章
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.badge-gray { background: #F1F5F9; color: #64748B; }
.badge-green { background: var(--success-bg); color: #059669; }
.badge-red { background: var(--danger-bg); color: #DC2626; }
.badge-orange { background: var(--warning-bg); color: #D97706; }
.badge-blue { background: var(--info-bg); color: #2563EB; }
.badge-purple { background: #F5F3FF; color: #7C3AED; }
.badge-gold { background: #FEFCE8; color: #CA8A04; }
.badge-yellow { background: #FEF9C3; color: #CA8A04; }

/* ============================================
   图片
   ============================================ */
.thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #F1F5F9;
    border: 1px solid var(--border-light);
}

.thumb-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.image-preview { margin-top: 10px; }
.image-preview img {
    max-width: 140px;
    max-height: 140px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.upload-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.image-item { position: relative; display: inline-block; margin: 6px 10px 6px 0; }
.image-item img { width: 100px; height: 100px; border-radius: 10px; border: 1px solid var(--border); object-fit: cover; }

.image-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--danger);
    color: #fff;
    border: 2px solid #fff;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ============================================
   提示框
   ============================================ */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success { background: var(--success-bg); color: #065F46; border-color: #A7F3D0; }
.alert-error { background: var(--danger-bg); color: #991B1B; border-color: #FCA5A5; }
.alert-warning { background: var(--warning-bg); color: #92400E; border-color: #FDE68A; }
.alert-info { background: var(--info-bg); color: #1E40AF; border-color: #93C5FD; }

/* ============================================
   分页
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 12px;
    background: #F8FAFC;
}

.pagination-info { color: var(--text-muted); font-size: 13px; }
.pagination-links { display: flex; gap: 6px; }

.pagination-links a,
.pagination-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    background: #fff;
}

.pagination-links a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.pagination-links .current {
    background: linear-gradient(135deg, #6C3FD1 0%, #8B5CF6 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(108,63,209,0.3);
}

.pagination-links .disabled { color: var(--text-muted); cursor: not-allowed; background: #F1F5F9; }

/* ============================================
   模态弹窗
   ============================================ */
.modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-mask.show { display: flex; animation: fadeIn 0.2s ease; }

.modal {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.modal-body { padding: 24px; }
.modal-body .form-group { margin-bottom: 16px; }

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ============================================
   图表 - 趋势柱状图
   ============================================ */
.trend-chart {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    height: 240px;
    padding: 20px 10px 0;
}

.trend-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.trend-bar-wrap { height: 180px; display: flex; align-items: flex-end; justify-content: center; width: 100%; }

.trend-bar {
    width: 60%;
    max-width: 52px;
    background: linear-gradient(180deg, #8B5CF6, #6C3FD1);
    border-radius: 10px 10px 0 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 6px;
    box-shadow: 0 4px 12px rgba(108,63,209,0.3);
}

.trend-bar:hover { transform: scale(1.05); }

.trend-value { font-size: 13px; color: var(--text-main); margin-top: 10px; font-weight: 700; }
.trend-date { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

.dashboard-row { flex-wrap: wrap; }

/* ============================================
   分区标题
   ============================================ */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #6C3FD1, #8B5CF6);
    border-radius: 2px;
}

/* ============================================
   物流追踪
   ============================================ */
.timeline {
    position: relative;
    padding-left: 28px;
    margin-top: 12px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item.done::before { background: var(--success); box-shadow: 0 0 0 2px var(--success); }
.timeline-item.current::before { background: var(--primary); box-shadow: 0 0 0 2px var(--primary), 0 0 8px rgba(108,63,209,0.5); }

.timeline-content {
    background: var(--bg);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.timeline-title { font-weight: 600; font-size: 13px; color: var(--text-main); }
.timeline-time { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.timeline-desc { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1100px) {
    .dashboard-row { grid-template-columns: 1fr !important; }
    .content { padding: 20px; }
}

@media (max-width: 900px) {
    .sidebar { position: relative; width: 100%; height: auto; }
    .main { margin-left: 0; }
    .layout { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    .topbar { padding: 0 20px; }
    .content { padding: 20px; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .stat-grid { grid-template-columns: 1fr; }
    .login-card { padding: 36px 24px; }
    .trend-chart { gap: 10px; }
}

/* ============================================
   表单页面布局
   ============================================ */
.form-card { max-width: 780px; }

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px 28px;
}

.detail-item { display: flex; flex-direction: column; gap: 6px; }
.detail-label { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.detail-value { color: var(--text-main); font-size: 14px; font-weight: 600; word-break: break-all; }