/* ===================================
   TAB: DASHBOARD HOME
   CSS khusus untuk halaman dashboard
   =================================== */

/* Dashboard Overview Cards */
.dashboard-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.wallet-box,
.transaction-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.wallet-box:hover,
.transaction-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.wallet-box h4,
.transaction-box h4, .activity-feed h4 {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: #222;
  gap: 10px;
  margin-bottom: 6px;
}

.wallet-box h4 i,
.transaction-box h4 i, .activity-feed h4 i {
  background: #eef2f5;
  color: #2196f3;
  border-radius: 10px;
  padding: 8px;
  font-size: 18px;
}

.wallet-box .subtitle,
.transaction-box .subtitle {
  color: #777;
  font-size: 16px;
  margin-bottom: 16px;
}

.balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fb;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}

.wallet-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.wallet-actions .btn {
  background: #2196f3;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.wallet-actions .btn:hover {
  background: #1976d2;
  transform: translateY(-2px);
}

/* Transaction Box - Match Wallet Box Style */
.transaction-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.transaction-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.transaction-box h4 {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: #222;
  gap: 10px;
  margin-bottom: 6px;
}

.transaction-box h4 i {
  background: #eef2f5;
  color: #2196f3;
  border-radius: 10px;
  padding: 8px;
  font-size: 18px;
}

.transaction-box .subtitle {
  color: #777;
  font-size: 16px;
  margin-bottom: 16px;
}

.transaction-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fb;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 16px;
  margin-bottom: 20px;
}

.transaction-summary .amount {
  font-weight: 600;
  color: #000;
}

.transaction-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.transaction-actions .btn.trans-btn {
  background: #2196f3;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.transaction-actions .btn.trans-btn:hover {
  background: #1976d2;
  transform: translateY(-2px);
}

/* Dashboard Slider */
.dashboard-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 300px;
  border-radius: 18px;
  margin-top: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  background: #f8f8f8;
}

.dashboard-slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.dashboard-slide {
  flex: 0 0 100%;
  cursor: pointer;
}

.dashboard-slide img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

.dashboard-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.dashboard-slider-btn.prev {
  left: 14px;
}

.dashboard-slider-btn.next {
  right: 14px;
}

.dashboard-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.dashboard-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dashboard-slider-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* Quick Stats */
.gigsplay-quickstats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  margin-top: 35px;
}

.gqs-item {
  background: #fff;
  border-radius: 14px;
  padding: 22px 15px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.gqs-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.gqs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: linear-gradient(145deg, #f5f5f5, #fafafa);
  box-shadow: inset 1px 1px 3px rgba(255, 255, 255, 0.8),
    inset -2px -2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.gqs-item:hover .gqs-icon {
  background: linear-gradient(145deg, #eaeaea, #ffffff);
  transform: scale(1.05);
}

.gqs-icon i {
  font-size: 26px;
  color: #222;
}

.gqs-value {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.gqs-value img {
  width: 20px !important;
  height: 20px !important;
  vertical-align: middle;
}

.gqs-label {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
  letter-spacing: 0.2px;
}

/* Activity Feed */
.activity-feed {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  margin-top: 35px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 12px;
  transition: all 0.25s ease;
  position: relative;
  padding-left: 10px !important;
}

.activity-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.activity-item.post-activity {
  background: rgba(0, 123, 255, 0.08);
}

.activity-item.order-activity {
  background: rgba(40, 167, 69, 0.1);
}

.activity-left i {
  font-size: 18px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.05);
}

.post-activity .activity-left i {
  background: rgba(0, 123, 255, 0.15);
  color: #007bff;
}

.order-activity .activity-left i {
  background: rgba(40, 167, 69, 0.18);
  color: #28a745;
}

.activity-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.activity-text {
  font-size: 14px;
  color: #111;
  margin-bottom: 4px;
}

.activity-time {
  font-size: 12px;
  color: #666;
}

.activity-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

/* Responsive */
@media (max-width: 900px) {
  .dashboard-overview {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
  .wallet-box,
  .transaction-box {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .dashboard-slider-wrapper {
    max-height: 200px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  
  .gigsplay-quickstats {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  
  .activity-feed {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
}