/* Phone Donations Frontend Dashboard Styles */
.phone-donations-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Segoe UI", sans-serif;
  border: none;
}

/*.phone-donations-table thead tr {*/
/*    background-color: #f2f2f2;*/
/*}*/

.phone-donations-table thead th {
  /*padding: 12px 16px;*/
  /*text-align: center;*/
  /*font-weight: bold;*/
  /*border-bottom: none;*/
  /*border-top: none;*/
  background: #f4f5f7;
  border-bottom: solid 1px #dfe1e6;
  text-align: center;
  border-right: none;
  color: #6b778c;
}

/* Round header corners */
.phone-donations-table thead tr th:first-child {
  border-top-left-radius: 8px;
}

.phone-donations-table thead tr th:last-child {
  border-top-right-radius: 8px;
}

/* Table body rows */
.phone-donations-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.phone-donations-table tbody td {
  border-bottom: solid 1px #dfe1e6;
  text-align: center;
  border-right: none;
  color: #6b778c;
  white-space: nowrap;
}

/* Last row with rounded corners */
.phone-donations-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

.phone-donations-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

/* Optional: Add hover effect */
.phone-donations-table tbody tr:hover {
  background-color: #f9f9f9;
}

.phone-donations-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.phone-donations-stat-box {
  flex: 1 1 200px;
  background: #ffffff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  border: 1px solid #f0f0f0;
}

.phone-donations-stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.phone-donations-stat-box h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #333333;
  font-weight: 600;
}

.phone-donations-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #0077cc;
}

.phone-donations-nav-tab-wrapper {
  display: flex;
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0 0;
  gap: 12px;
}

.phone-donations-nav-tab {
  flex: 1;
  padding: 15px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.3s ease;
  position: relative;
  background-color: #f8f9fa;
  text-wrap: nowrap;
}

.phone-donations-nav-tab:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.phone-donations-nav-tab:focus {
  background-color: #ffffff;
  color: #6366f1;
  font-weight: 600;
  border-bottom: solid 3px #6366f1;
  border-radius: 0px;
}

.phone-donations-nav-tab-active {
  background-color: #ffffff;
  color: #6366f1;
  font-weight: 600;
  border-bottom: solid 3px #6366f1;
  border-radius: 0px;
}

/*  */
/* Donor Dashboard styling */
/*  */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  margin: 0;
  padding: 20px;
}

.phone-donation-container {
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 30px;
}

.phone-donation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.back-button {
  color: #2271b1;
  text-decoration: none;
  font-size: 14px;
  padding: 5px 10px;
  border: 1px solid #2271b1;
  border-radius: 3px;
}

.back-button:hover {
  background: #f0f6fc;
}

.details-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

h2 {
  color: #2271b1;
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.detail-row {
  margin-bottom: 15px;
}

.detail-label {
  display: block;
  font-weight: bold;
  width: 150px;
  flex-shrink: 0;
}

.detail-value {
  flex-grow: 1;
}

.detail-notes {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 3px;
  border-left: 4px solid #2271b1;
}

@media (max-width: 600px) {
  .detail-row {
    flex-direction: column;
  }

  .detail-label {
    width: 100%;
    margin-bottom: 5px;
  }
}