/* ---- DecorHub dashboard (dh-) ---- */
:root {
    --dh-bg: #ffffff;
    --dh-muted: #6b6b6b;
    --dh-border: #ececec;
    --dh-accent: #f28a00;
    --dh-radius: 12px;
    --dh-shadow: 0 6px 18px rgba(16, 16, 16, 0.06);
    --dh-container-width: 1100px;
}

#dh-dashboard {
    background: var(--dh-bg);
    padding: 40px 20px 80px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #222;
}

.dh-inner {
    max-width: var(--dh-container-width);
    margin: 0 auto;
}

/* Title */
.dh-title {
    font-size: 48px;
    margin: 6px 0 4px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.dh-subtitle {
    margin: 0 0 22px;
    color: var(--dh-muted);
    font-size: 15px;
}

/* Tabs */
.dh-tabs {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 22px;
}

.dh-tab {
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--dh-border);
    background: #f6f6f6;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all .18s ease;
}

.dh-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.dh-tab:focus {
    outline: 3px solid rgba(242, 138, 0, 0.16);
    outline-offset: 3px;
}

.dh-tab-active {
    background: #fff;
    box-shadow: var(--dh-shadow);
    border-color: var(--dh-border);
}

/* Panels */
.dh-panels {
    margin-top: 14px;
}

.dh-panel {
    display: none;
}

.dh-panel-active {
    display: block;
}

/* Card */
.dh-card {
    display: grid;
    grid-template-columns: 150px 1fr 300px;
    gap: 28px;
    align-items: start;
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid var(--dh-border);
    box-shadow: var(--dh-shadow);
}

.dh-left {
    display: flex;
    align-items: flex-start;
}

.dh-thumb {
    width: 150px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--dh-border);
}

/* center */
.dh-center {
    padding: 6px 12px;
}

.dh-item-title {
    margin: 2px 0;
    font-size: 20px;
    font-weight: 700;
}

.dh-order-id {
    color: var(--dh-muted);
    margin-bottom: 12px;
    font-size: 13px;
}

/* status */
.dh-status-box {
    background: #fff;
    border: 1px solid var(--dh-border);
    border-radius: 12px;
    padding: 18px;
    max-width: 640px;
}

.dh-status-heading {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
}

.dh-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dh-step {
    display: flex;
    gap: 14px;
    align-items: center;
    position: relative;
}

.dh-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 36px;
    bottom: -8px;
    width: 2px;
    background: linear-gradient(#f0f0f0, #f0f0f0);
    z-index: 0;
}

.dh-dot {
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.dh-dot-past {
    background: #fff;
    border: 2px solid var(--dh-accent);
    color: var(--dh-accent);
}

.dh-dot-current {
    background: var(--dh-accent);
    color: #fff;
}

.dh-dot-future {
    background: #fff;
    color: #bbb;
    border: 2px solid #ddd;
}

.dh-step-body {
    z-index: 3;
}

.dh-step-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.dh-step-sub {
    color: var(--dh-muted);
    font-size: 13px;
}

.dh-orange {
    color: var(--dh-accent);
}

.dh-badge {
    display: inline-block;
    background: var(--dh-accent);
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

/* right */
.dh-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    justify-content: center;
    position: relative;
}

.dh-amount-label {
    color: var(--dh-muted);
    font-size: 14px;
}

.dh-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--dh-accent);
    margin-bottom: 6px;
}

.dh-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.dh-btn {
    padding: 12px 14px;
    border-radius: 8px;
    border: none;
    background: var(--dh-accent);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.dh-btn-outline {
    background: #fff;
    color: #222;
    border: 1px solid var(--dh-border);
}

.dh-chip {
    position: absolute;
    right: 6px;
    top: -10px;
    background: #f1f1f1;
    color: #666;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 13px;
    border: 1px solid var(--dh-border);
}

/* empty / profile panels */
.dh-empty {
    padding: 40px;
    text-align: center;
    border: 1px dashed var(--dh-border);
    border-radius: 10px;
    background: #fafafa;
}

.dh-empty h3 {
    margin: 0 0 6px;
}

.dh-muted {
    color: var(--dh-muted);
}

/* responsive */
@media (max-width:980px) {
    .dh-card {
        grid-template-columns: 110px 1fr;
        grid-template-rows: auto auto;
    }

    .dh-right {
        grid-column: 1/-1;
        order: 3;
        margin-top: 10px;
    }
}

@media (max-width:640px) {
    .dh-title {
        font-size: 32px;
    }

    .dh-card {
        padding: 16px;
        gap: 14px;
        grid-template-columns: 88px 1fr;
    }

    .dh-thumb {
        width: 88px;
        height: 72px;
    }

    .dh-amount {
        font-size: 20px;
    }

    .dh-btn {
        padding: 10px;
        font-size: 13px;
    }
}








/* profile css
 */


 /* ---- Profile Section (dh-profile-) ---- */
:root {
  --dh-p-bg: #fff;
  --dh-p-muted: #6b6b6b;
  --dh-p-border: #ececec;
  --dh-p-accent: #f28a00;
  --dh-p-radius: 10px;
  --dh-p-shadow: 0 6px 18px rgba(16,16,16,0.06);
  --dh-p-max: 1200px;
}

#dh-profile-section {
  padding: 28px 20px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #222;
  background: transparent;
}

.dh-profile-inner {
  max-width: var(--dh-p-max);
  margin: 0 auto;
}

/* Profile Card */
.dh-profile-card {
  background: var(--dh-p-bg);
  border: 1px solid var(--dh-p-border);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--dh-p-shadow);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
}

/* Left Meta (Avatar + Basic Info) */
.dh-profile-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 6px;
}

.dh-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  color: #333;
  border: 1px solid var(--dh-p-border);
  flex-shrink: 0;
}

.dh-meta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dh-meta-name {
  font-size: 20px;
  font-weight: 700;
}

.dh-meta-email {
  color: var(--dh-p-muted);
  font-size: 14px;
}

/* Form Grid */
.dh-profile-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  align-items: start;
}

/* Form Rows */
.dh-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dh-label {
  font-size: 13px;
  color: #333;
  font-weight: 600;
}

.dh-input {
  height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--dh-p-border);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: box-shadow 0.12s ease, border-color 0.12s ease;
}

.dh-input:focus {
  border-color: var(--dh-p-accent);
  box-shadow: 0 6px 18px rgba(242, 138, 0, 0.09);
}

/* Save Button */
.dh-actions-row {
  grid-column: 1 / -1;
  margin-top: 6px;
}

.dh-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--dh-p-accent);
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(242, 138, 0, 0.12);
  transition: all 0.2s ease;
}

.dh-save-btn:hover {
  background: #e67c00;
  transform: translateY(-2px);
}

.dh-save-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(242, 138, 0, 0.18);
}

.dh-save-btn svg {
  opacity: 0.95;
  transform: translateY(0);
}

/* Muted text */
.dh-muted {
  color: var(--dh-p-muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 880px) {
  .dh-profile-card {
    grid-template-columns: 1fr;
  }
  .dh-profile-form {
    grid-template-columns: 1fr;
  }
  .dh-avatar {
    width: 72px;
    height: 72px;
    font-size: 20px;
  }
}
