/* Simple Summary Cards */

.dtl-summary-row {
  /* display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 25px;
  align-items: center;
}

.dtl-summary-card {
  background: white;
  /* border: 1px solid #ddd; */
  border-top: 4px solid #8b4513;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  /* min-width: 150px; */
  box-shadow: 0 0px 5px #00000025;
}

.dtl-summary-card .dtl-number {
  font-size: 25px;
  font-weight: bold;
  color: #8b4513;
  margin-bottom: 5px;
}

.dtl-summary-card .dtl-label {
  color: #666;
  font-size: 16px;
  /* font-weight: bold; */
}


/* Simple Table Header */

.dtl-table-header {
  background: linear-gradient(135deg, #8b4513, #a0522d);
  color: white;
  text-align: center;
  padding: 25px;
  border-radius: 8px 8px 0 0;
}

.dtl-table-header h2 {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dtl-table-header p {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
}


/* Clean Simple Table */

.dtl-table-wrapper {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dtl-simple-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.dtl-simple-table th {
  background: #f8f9fa;
  color: #333;
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid #dee2e6;
}

.dtl-simple-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  font-size: 14px;
}

.dtl-simple-table tr:hover {
  background-color: #f8f9fa;
}


/* Simple Status Badges */

.dtl-status {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  display: inline-block;
  min-width: 100px;
}

.dtl-status-completed {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.dtl-status-partial {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.dtl-status-available {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.dtl-status-urgent {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


/* Project Name */

.dtl-project-name {
  font-weight: 700;
  color: #333;
  font-size: 16px;
  margin-bottom: 4px;
}

.dtl-project-details {
  font-size: 16px;
  color: #8b4513;
  font-weight: 500;
  line-height: 1.4;
}


/* Amount */

.dtl-amount {
  font-weight: 600;
  color: #8b4513;
  font-size: 15px;
}


/* Serial Number */

.dtl-serial {
  font-weight: 600;
  color: #8b4513;
  text-align: center;
}


/* Progress Bar Styles */

.dtl-progress-container {
  width: 100%;
  width: 100%;
  margin-top: 5px;
}

.dtl-progress-bar {
  width: 100%;
  height: 20px;
  background-color: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dtl-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #20c997);
  border-radius: 10px;
  transition: width 0.8s ease-in-out;
  position: relative;
  overflow: hidden;
}

.dtl-progress-fill.dtl-completed {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.dtl-progress-fill.dtl-partial {
  background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.dtl-progress-fill.dtl-urgent {
  background: linear-gradient(90deg, #dc3545, #e74c3c);
}

.dtl-progress-fill.dtl-available {
  background: linear-gradient(90deg, #6c757d, #495057);
}


/* Animated shine effect for progress bars */

.dtl-progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: dtl-shine 2s infinite;
}

@keyframes dtl-shine {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.dtl-progress-text {
  font-weight: 600;
  color: #333;
  font-size: 13px;
  text-align: center;
  margin-bottom: 2px;
}

.dtl-donor-info {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  font-style: italic;
}

td.dtl-serial {
  width: 6%;
}

td.dtl-name {
  width: 58%;
}

td.dtl-amount {
  width: 12%;
}

td.dtl-stat {
  width: 12%;
}

td.dtl-action {
  width: 12%;
}


/* td.dtl-process {
  width: 15%;
} */

.donation-notice {
  padding: 20px 30px;
  margin: 50px;
  background-color: #721a1a;
  color: #ffffff;
  border-radius: 20px;
  text-align: center;
}

h1.demo-title {
  font-size: 20px;
  font-weight: 700;
  color: #fed7aa;
}


/* Responsive */

@media (max-width: 768px) {
  td.dtl-serial {
    width: unset !important;
  }

  td.dtl-name {
    width: unset !important;
  }

  td.dtl-amount {
    width: unset !important;
  }

  td.dtl-stat {
    width: unset !important;
  }

  td.dtl-process {
    width: unset !important;
  }

  .dtl-summary-row {
    gap: 15px;
  }

  .donation-notice {
    padding: 20px 30px;
    margin: 20px !important;
    background-color: #721a1a;
    color: #ffffff;
    border-radius: 20px;
  }

  .dtl-summary-card {
    min-width: 120px;
    padding: 15px;
  }

  .dtl-simple-table th,
  .dtl-simple-table td {
    padding: 12px 8px;
    font-size: 13px;
  }

  .dtl-project-details {
    font-size: 11px;
  }

  .dtl-progress-container {
    max-width: 100px;
  }

  .dtl-progress-bar {
    height: 18px;
  }
}

.dtl-action {
  text-align: center;
  padding: 12px;
}

.dtl-view-donors-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 16px;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background: #721a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(54, 27, 27, 0.2);
}

.dtl-view-donors-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  /* background: linear-gradient(135deg, #764ba2 0%, #667eea 100%); */
  background: #000;
  color: #fff;
}

.dtl-view-donors-btn:active {
  transform: translateY(0);
}