.db-alert {
    max-width: 1280px;
    margin: 20px auto 0;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
}

.db-alert-success {
    background: #e7ffe5;
    color: #1f6b2a;
    border: 1px solid #b7f0ba;
}

body.dark-mode .db-alert-success {
    background: #1a2e1b;
    color: #6fdb76;
    border-color: #2a4a2b;
}

.db-welcome-section {
    margin-top: 40px;
}

.db-welcome {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.db-welcome-text {
    flex: 1;
    min-width: 200px;
}

.db-welcome-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 36px;
    font-weight: 300;
    color: #1a1a18;
    line-height: 1.1;
    margin-bottom: 6px;
}

body.dark-mode .db-welcome-name { color: #f0f0f0; }

.db-welcome-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #999;
}

body.dark-mode .db-welcome-sub { color: #555; }

.db-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.db-stat-card {
    background: #fff;
    border: 1px solid #e0ddd6;
    border-radius: 12px;
    padding: 18px 24px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.db-stat-card:hover {
    transform: translateY(-3px);
    border-color: #aaa;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    color: inherit;
}

body.dark-mode .db-stat-card {
    background: #1e1e1e;
    border-color: #2a2a2a;
}

body.dark-mode .db-stat-card:hover {
    border-color: #555;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.db-stat-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 34px;
    font-weight: 300;
    color: #1a1a18;
    line-height: 1;
}

body.dark-mode .db-stat-value { color: #f0f0f0; }

.db-stat-value--sm {
    font-size: 22px;
}

.db-stat-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
}

body.dark-mode .db-stat-label { color: #555; }

.db-stat-status {
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    margin-top: 4px;
}

.db-status-pending   { background: #fff4e0; color: #b07a00; }
.db-status-processing{ background: #e0f0ff; color: #005fa3; }
.db-status-shipped   { background: #e0ffe8; color: #1a6b2a; }
.db-status-delivered { background: #e0ffe8; color: #1a6b2a; }
.db-status-cancelled { background: #ffe5e5; color: #b00020; }

body.dark-mode .db-status-pending    { background: #2e2200; color: #f0b429; }
body.dark-mode .db-status-processing { background: #001e36; color: #5ab2ff; }
body.dark-mode .db-status-shipped,
body.dark-mode .db-status-delivered  { background: #001a0a; color: #4ddb6d; }
body.dark-mode .db-status-cancelled  { background: #2e0000; color: #ff6b6b; }

.db-quick-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.db-ql-card {
    background: #fff;
    border: 1px solid #e0ddd6;
    border-radius: 12px;
    padding: 20px 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.db-ql-card:hover {
    transform: translateY(-3px);
    border-color: #aaa;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}

body.dark-mode .db-ql-card {
    background: #1e1e1e;
    border-color: #2a2a2a;
}

body.dark-mode .db-ql-card:hover {
    border-color: #555;
}

.db-ql-icon {
    font-size: 24px;
    line-height: 1;
}

.db-ql-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
    text-align: center;
}

body.dark-mode .db-ql-label { color: #888; }

@media (max-width: 960px) {
    .db-welcome        { flex-direction: column; }
    .db-quick-links    { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .db-welcome-name   { font-size: 28px; }
    .db-stats          { gap: 10px; }
    .db-stat-card      { padding: 14px 16px; min-width: 90px; }
    .db-quick-links    { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}