.dashboard {
  display: flex;
  justify-content: space-between;
  gap: 8rem;
  margin: 2rem auto;
  max-width: 1200px;
}

.dashboard-column {
  flex: 1;
}
.dashboard-column .classic-link-container{
  display: flex;
  justify-content: space-between; 
}
.dashboard-column .classic-link a{
 color: #E91616;
 border-bottom: none;
}
.dashboard-column .classic-link-container .classic-link-icon{
  margin: 26px 0px 5px 0px;
}
.dashboard-column .classic-link-container .classic-link-icon a{
  border-bottom: none;
}
.pump-tank-detail-dropdown{
  width: 398px;
}

.dashboard-column h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.dashboard-column select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  appearance: none;        /* hide default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
    /* SVG as arrow */
  background: url('arrow-down.svg') no-repeat right 12px center;
  background-size: 16px;   /* adjust size of the arrow */
  background-color: white;
}

/* Mobile override */
@media (max-width: 768px) {
  .dashboard {
    display: block;  /* stack columns */
  }

  .dashboard-column {
    margin-bottom: 2rem; /* spacing between Tank and Pump */
  }
  .pump-tank-detail-dropdown{
    width: 345px;
  }
}

/* Notifications box */
.notifications {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Header in red */
.notification-header {
  display: flex;
  align-items: center;
/*  background: #fff0f0;*/
  border-bottom: 1px solid #eee;
  padding: 0.75rem 1rem;
  color: #E91616;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
}

.notification-header .alert-icon {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Each card inside */
.card {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
  position:relative;
  border-top: 1px solid rgba(215, 215, 215, 1)
}
.arrow-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #333; /* inherit or set custom color */
  pointer-events: none; /* so it doesn’t block clicks */
}

.card:last-child {
  border-bottom: none;
}

.card:hover {
  background: #f9f9f9;
 //  background: rgba(63, 102, 64, 1);

}
.card .location {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card .message {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.card .datetime {
/*  font-size: 0.85rem;
  color: #666;*/
  font-size: 16px;
  font-family: Archivo;
  line-height: 100%;
  letter-spacing: 0px;
}

.card-link{
   color: black;
}

/*****************************/
.stats-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 30px 0px 30px 0px;
}

.stat-card {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ✅ Mobile fix */
@media (max-width: 768px) {
  .stats-container {
    gap: 10px;                  /* tighter gap for small screen */
    padding: 0 42px;              /* small padding on sides */
  }

  .stat-card {
    flex: 0 0 calc((100% - 20px) / 3);  
    /* 3 cards per row, minus total gap */
    padding: 12px;               /* reduce inner padding */
  }

  /* Optional: scale down text/icons */
  .stat-card h3,
  .stat-card p {
    font-size: 14px;
  }
  .stat-value {
    font-size: 14px !important;
  }
  .stat-label {
    font-size: 13px !important;
   }
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: #555;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 22px;
  font-weight: bold;
  color: #111;
}

.stat-value span {
  font-size: 16px;
  font-weight: normal;
  color: #666;
  margin-left: 2px;
}

/********detail page**********/
.pump-tank-title{
  margin-bottom: 15px;
}
