/* =========================================================
   17. Dashboard Navigation
   ========================================================= */

.dashboard-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.dashboard-nav-link {
  padding: 0.8rem 1.4rem;
  color: var(--text-main);
  background: var(--gold-soft-light);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.dashboard-nav-link:hover {
  background: var(--gold-soft-hover);
  transform: translateY(-2px);
}

.dashboard-nav-link.active {
  color: var(--gold-border);
  border-color: var(--gold-border);
}

/* =========================================================
   18. Dashboard Cards
   ========================================================= */

.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  max-width: 900px;
  margin: 2rem auto 0;
}

.dashboard-card {
  display: block;
  width: 100%;
  padding: 1.5rem 1.8rem;

  color: inherit;
  text-decoration: none;

  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.dashboard-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.08);
}

.dashboard-card h2,
.dashboard-card h3 {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.dashboard-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================
   Customer Dashboard Home
   ========================================================= */

.customer-home-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  max-width: 600px;
  margin: 2rem auto 0;
}

.customer-home-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;

  min-height: 130px;
  padding: 1.5rem 1.8rem;

  color: inherit;
  text-decoration: none;

  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-xxl);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);

  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.customer-home-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(200, 169, 106, 0.12);
}

.customer-home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 48px;

  width: 48px;
  height: 48px;

  background: rgba(212, 175, 55, 0.12);
  border-radius: 50%;

  font-size: 1.45rem;
}

.customer-home-content {
  flex: 1;
  text-align: left;
}

.customer-home-content h3 {
  margin: 0 0 0.45rem;

  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 700;
}

.customer-home-content p {
  margin: 0;

  color: var(--text-muted);
  line-height: 1.6;
}

.customer-home-arrow {
  margin-left: auto;

  color: var(--gold-dark);
  font-size: 2rem;
  line-height: 1;

  transition: transform var(--transition-fast);
}

.customer-home-card:hover .customer-home-arrow {
  transform: translateX(4px);
}

/* =========================================================
   RTL
   ========================================================= */

html[dir="rtl"] .customer-home-content {
  text-align: right;
}

html[dir="rtl"] .customer-home-content h3 {
  text-align: right;
}

html[dir="rtl"] .customer-home-content p {
  text-align: right;
}

html[dir="rtl"] .customer-home-arrow {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .customer-home-card:hover .customer-home-arrow {
  transform: translateX(-4px);
}
