/* Redesigned Profile CSS - Sleek Two-column Layout */

:root {
  --accent: #2e7d32;
  --accent-dark: #256329;
  --muted: #6b7280;
  --bg: #f6f8f9;
  --card: #ffffff;
}

/* Container */
.profile-dashboard {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding: 20px;
  background: var(--bg);
  height: 100vh;
  overflow: hidden;
}

.profile-card.compact {
  background: var(--card);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  text-align: center;
  height: fit-content;
}

/* Main content area - this will scroll */
.profile-main {
  min-height: 280px;
  overflow-y: auto;
  height: calc(100vh - 40px);
  padding-right: 10px;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: #374151;
  font-weight: var(--font-weight-semibold);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: var(--font-size-base);
}

.tab-btn.active {
  background: linear-gradient(180deg, rgba(46, 125, 50, 0.08), rgba(46, 125, 50, 0.04));
  color: var(--accent-dark);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.04);
}

.tab-panels .tab-panel {
  display: none;
}

.tab-panels .tab-panel.active {
  display: block;
}

/* Avatar */
.avatar-wrap {
  position: relative;
  display: inline-block;
}

.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #4caf50);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  margin: 0 auto 12px;
}

.btn-icon {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e6eef1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Header text */
#profile-name {
  margin: 8px 0 4px;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: #0f172a;
}

.muted {
  color: var(--muted);
  font-size: var(--font-size-sm);
}

/* Contact */
.contact {
  margin-top: 12px;
  color: #374151;
  font-size: var(--font-size-base);
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: fit-content;
  justify-content: center;
}

.contact i {
  color: var(--accent);
  min-width: 18px;
  text-align: center;
}

/* Actions */
.profile-actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(207, 232, 214, 0.8);
  color: var(--accent-dark);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
}

.btn-danger {
  background: #fff;
  border: 1px solid #ffd6d6;
  color: #b91c1c;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
}

/* Cards and metrics */
.card {
  background: var(--card);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

/* Children list */
.children-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.child-card-elegant {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--card);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.child-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #4caf50);
  font-size: 20px;
}

.child-info h4 {
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

.child-details {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: var(--font-size-sm);
}

.child-actions {
  margin-left: auto;
}

/* Delete button */
.delete-child-btn {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #e53e3e;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  top: -4px;
  right: 4px;
  font-size: var(--font-size-base);
}

.delete-child-btn:hover {
  background: #fed7d7;
  transform: scale(1.1);
}

.delete-child-btn:active {
  transform: scale(0.95);
}

/* Quick Actions */
.quick-actions {
  margin: 15px 0;
}

.action-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 6px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 6px;
  font-weight: var(--font-weight-semibold);
  transition: all 0.2s;
  min-height: 50px;
  font-size: var(--font-size-sm);
}

.action-btn i {
  font-size: 0.8rem;
  margin-bottom: 3px;
}

.action-btn span {
  font-size: 0.7rem;
}

.action-btn:active {
  transform: scale(0.98);
}

/* Children Payment List */
.payment-children-list {
  margin: 20px 0;
}

.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.child-payment-card {
  display: flex;
  flex-direction: row;
  padding: 10px 14px;
  background: var(--card);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all 0.2s;
  min-height: 80px;
  align-items: center;
}

.child-payment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.child-payment-header {
  display: flex;
  align-items: center;
  flex: 1;
}

.child-payment-card .child-avatar {
  width: 36px;
  height: 36px;
  font-size: 15px;
  margin-right: 10px;
}

.child-payment-info {
  flex: 1;
}

.child-payment-info h4 {
  margin: 0 0 4px 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

.child-payment-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}

.child-payment-amount {
  font-weight: var(--font-weight-bold);
  color: #d32f2f;
  font-size: var(--font-size-md);
  text-align: right;
  padding-left: 12px;
  min-width: 90px;
}

/* Payment History */
.payment-history-section {
  margin: 20px 0;
}

.history-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px;
}

.history-item {
  display: flex;
  padding: 10px;
  background: var(--card);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  border-left: 3px solid #2e7d32;
}

.history-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.history-item-icon i {
  color: #2e7d32;
}

.history-item-details {
  flex: 1;
}

.history-item-title {
  font-weight: var(--font-weight-semibold);
  margin-bottom: 4px;
  color: #1a1a1a;
  font-size: var(--font-size-base);
}

.history-item-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

.history-item-amount {
  font-weight: var(--font-weight-bold);
  color: #2e7d32;
  font-size: var(--font-size-base);
}

/* Payment Items List */
/* Payment Items List */
/* Payment Items List */
.payment-items-list {
  max-height: none;
  overflow-y: auto;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  /* Further reduced padding for compact height */
  background-color: #ffffff;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  min-height: 50px;
  /* Force reduced height */
}

.payment-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.06);
}

/* Theme Borders & Accents */
.payment-item.theme-blue {
  border-left: 4px solid #2196f3;
  background: linear-gradient(to right, #e3f2fd50, #fff);
}

.payment-item.theme-yellow {
  border-left: 4px solid #ffc107;
  background: linear-gradient(to right, #fff8e150, #fff);
}

.payment-item.theme-purple {
  border-left: 4px solid #9c27b0;
  background: linear-gradient(to right, #f3e5f550, #fff);
}

.payment-item.theme-red {
  border-left: 4px solid #f44336;
  background: linear-gradient(to right, #ffebee50, #fff);
}

.payment-item.theme-teal {
  border-left: 4px solid #009688;
  background: linear-gradient(to right, #e0f2f150, #fff);
}

.payment-item.theme-green {
  border-left: 4px solid #4caf50;
  background: linear-gradient(to right, #e8f5e950, #fff);
}

.payment-item.theme-orange {
  border-left: 4px solid #ff9800;
  background: linear-gradient(to right, #fff3e050, #fff);
}

.payment-item.theme-pink {
  border-left: 4px solid #e91e63;
  background: linear-gradient(to right, #fce4ec50, #fff);
}

.payment-item.theme-indigo {
  border-left: 4px solid #3f51b5;
  background: linear-gradient(to right, #e8eaf650, #fff);
}

.payment-item.theme-default {
  border-left: 4px solid #607d8b;
}

.payment-item.theme-cyan {
  border-left: 4px solid #00bcd4;
  background: linear-gradient(to right, #e0f7fa50, #fff);
}

.payment-item.theme-brown {
  border-left: 4px solid #795548;
  background: linear-gradient(to right, #efebe950, #fff);
}

.payment-item.theme-slate {
  border-left: 4px solid #607d8b;
  background: linear-gradient(to right, #eceff150, #fff);
}

.payment-item.theme-deep-orange {
  border-left: 4px solid #ff5722;
  background: linear-gradient(to right, #fbe9e750, #fff);
}

.payment-item.theme-violet {
  border-left: 4px solid #673ab7;
  background: linear-gradient(to right, #ede7f650, #fff);
}

.payment-item.theme-gold {
  border-left: 4px solid #ffd700;
  background: linear-gradient(to right, #fffde750, #fff);
}

/* Icon Styles */
.payment-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.payment-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.theme-blue .payment-item-icon {
  background: #e3f2fd;
  color: #1976d2;
}

.theme-yellow .payment-item-icon {
  background: #fff8e1;
  color: #ffa000;
}

.theme-purple .payment-item-icon {
  background: #f3e5f5;
  color: #7b1fa2;
}

.theme-red .payment-item-icon {
  background: #ffebee;
  color: #d32f2f;
}

.theme-teal .payment-item-icon {
  background: #e0f2f1;
  color: #00796b;
}

.theme-green .payment-item-icon {
  background: #e8f5e9;
  color: #388e3c;
}

.theme-orange .payment-item-icon {
  background: #fff3e0;
  color: #f57c00;
}

.theme-pink .payment-item-icon {
  background: #fce4ec;
  color: #c2185b;
}

.theme-indigo .payment-item-icon {
  background: #e8eaf6;
  color: #303f9f;
}

.theme-cyan .payment-item-icon {
  background: #e0f7fa;
  color: #0097a7;
}

.theme-brown .payment-item-icon {
  background: #efebe9;
  color: #5d4037;
}

.theme-slate .payment-item-icon {
  background: #eceff1;
  color: #455a64;
}

.theme-deep-orange .payment-item-icon {
  background: #fbe9e7;
  color: #d84315;
}

.theme-violet .payment-item-icon {
  background: #ede7f6;
  color: #512da8;
}

.theme-gold .payment-item-icon {
  background: #fffde7;
  color: #fbc02d;
}

.theme-default .payment-item-icon {
  background: #eceff1;
  color: #455a64;
}

.payment-item-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.payment-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: #374151;
  /* Default dark grey */
}

/* Colored Titles based on Theme */
/* Colored Titles & Amounts based on Theme */
.theme-blue .payment-item-title,
.theme-blue .payment-item-amount {
  color: #1565c0;
}

.theme-yellow .payment-item-title,
.theme-yellow .payment-item-amount {
  color: #f57f17;
}

.theme-purple .payment-item-title,
.theme-purple .payment-item-amount {
  color: #7b1fa2;
}

.theme-red .payment-item-title,
.theme-red .payment-item-amount {
  color: #d32f2f;
}

.theme-teal .payment-item-title,
.theme-teal .payment-item-amount {
  color: #00796b;
}

.theme-green .payment-item-title,
.theme-green .payment-item-amount {
  color: #2e7d32;
}

.theme-orange .payment-item-title,
.theme-orange .payment-item-amount {
  color: #e65100;
}

.theme-pink .payment-item-title,
.theme-pink .payment-item-amount {
  color: #c2185b;
}

.theme-indigo .payment-item-title,
.theme-indigo .payment-item-amount {
  color: #303f9f;
}

.theme-cyan .payment-item-title,
.theme-cyan .payment-item-amount {
  color: #00838f;
}

.theme-brown .payment-item-title,
.theme-brown .payment-item-amount {
  color: #5d4037;
}

.theme-slate .payment-item-title,
.theme-slate .payment-item-amount {
  color: #455a64;
}

.theme-deep-orange .payment-item-title,
.theme-deep-orange .payment-item-amount {
  color: #bf360c;
}

.theme-violet .payment-item-title,
.theme-violet .payment-item-amount {
  color: #512da8;
}

.theme-gold .payment-item-title,
.theme-gold .payment-item-amount {
  color: #f9a825;
}

.payment-item-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.7rem;
  /* Much smaller font */
  color: #9ca3af;
}

.badge-session {
  background: #f3f4f6;
  padding: 1px 6px;
  border-radius: 3px;
  color: #6b7280;
  font-weight: 500;
  font-size: 0.65rem;
}

.badge-term {
  background: #fdf2f8;
  /* Soft pinkish background */
  padding: 1px 6px;
  border-radius: 3px;
  color: #db2777;
  /* Pink text */
  font-weight: 500;
  font-size: 0.65rem;
  border: 1px solid #fce7f3;
}

.item-class {
  color: #9ca3af;
  font-size: 0.7rem;
}

/* Right Side Styles */
.payment-item-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-item-amount {
  font-weight: 800;
  /* Extra Bold */
  font-size: 1.1rem;
  /* Slightly larger */
  color: #1f2937;
  /* Fallback */
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  letter-spacing: -0.5px;
}

.payment-item-checkbox {
  margin-right: 0;
  transform: scale(1.2);
}

/* Paid Overlay */
.is-paid {
  opacity: 0.7;
  background: #f8f9fa !important;
  border-left-color: #ccc !important;
}

.is-paid .payment-item-icon {
  background: #eee !important;
  color: #999 !important;
}

.paid-badge-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  border: 3px solid #4caf50;
  color: #4caf50;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 1.2rem;
  opacity: 0.3;
  pointer-events: none;
}

/* Payment Breakdown Modal */
.payment-modal {
  width: 80%;
  height: auto;
  max-height: 90%;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.payment-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.payment-breakdown-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  overflow: auto;
  padding: 0 16px;
}

.payment-items-list {
  max-height: none;
  overflow-y: auto;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 8px;
  flex: 1;
}

.payment-items-list h4 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.child-info-header {
  text-align: center;
  padding: 16px 0;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 16px;
}

.child-info-header h3 {
  margin: 0 0 6px 0;
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
}

.child-info-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.payment-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.summary-row.total {
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  border-top: 1px solid #e9ecef;
  padding-top: 6px;
  margin-top: 6px;
}



.modal-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 12px;
  border-top: 1px solid #e9ecef;
  margin-top: 16px;
  flex-shrink: 0;
}

.modal-footer button {
  flex: 1;
  min-width: 80px;
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* Activity list */
.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .profile-dashboard {
    grid-template-columns: 1fr;
    padding: 14px;
    height: auto;
    overflow: visible;
  }

  .profile-main {
    height: auto;
    overflow-y: visible;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .contact {
    align-items: center;
  }

  .modal-footer {
    flex-direction: row;
  }

  .modal-footer button {
    width: auto;
    margin-bottom: 0;
  }

  .action-buttons {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .payments-grid {
    grid-template-columns: 1fr;
  }

  .history-list {
    grid-template-columns: 1fr;
  }
}

/* Small helpers */
.hidden {
  display: none !important;
}

/* Mobile-specific responsive styles */
@media (max-width: 480px) {
  .profile-dashboard {
    padding: 12px 8px;
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .profile-card.compact {
    padding: 16px 12px;
    margin-bottom: 16px;
  }
  
  .profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 28px;
    margin: 0 auto 10px;
  }
  
  .btn-icon {
    width: 30px;
    height: 30px;
    right: -3px;
    bottom: -3px;
  }
  
  #profile-name {
    font-size: var(--font-size-md);
    margin: 6px 0 2px;
  }
  
  .contact {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .contact-item {
    width: 100%;
    justify-content: flex-start;
    padding: 6px 0;
    min-width: auto;
    font-size: var(--font-size-sm);
  }
  
  .tabs {
    flex-direction: row;
    gap: 4px;
    margin-bottom: 12px;
  }
  
  .tab-btn {
    padding: 12px 16px;
    font-size: var(--font-size-md);
    width: auto;
    justify-content: center;
    flex: 1;
  }
  
  .profile-main {
    height: auto;
    padding-right: 0;
  }
  
  .tab-panels .tab-panel {
    display: none;
  }
  
  .tab-panels .tab-panel.active {
    display: block;
  }
  
  .child-card-elegant {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
  }
  
  .child-avatar {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
  
  .child-actions {
    margin-left: 0;
    align-self: flex-end;
  }
  
  #add-child-btn {
    width: 100%;
    margin-bottom: 12px !important;
  }
  
  .card {
    padding: 14px;
  }
  
  .children-grid {
    gap: 8px;
  }
}

/* Payment History Styles */
.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.history-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.history-item-icon {
  font-size: 1.2rem;
  color: #2e7d32;
  /* Green */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #e8f5e9;
  border-radius: 50%;
}

.history-item-details {
  display: flex;
  flex-direction: column;
}

.history-item-title {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.history-item-subtitle {
  font-size: 0.85rem;
  color: #666;
}

.history-item-meta {
  font-size: 0.75rem;
  color: #999;
  margin-top: 2px;
}

.history-item-right {
  display: flex;
  align-items: center;
  /* Vertically centralized by flex-direction defaults of parent .history-item which has align-items: center */
}

.history-amount {
  font-weight: 800;
  /* Weighty */
  font-size: 1.1rem;
  color: #1f2937;
}
/* Mobile Compaction for Payment Breakdown */
@media (max-width: 480px) {
  .payment-modal {
    width: 95% !important;
    padding: 1rem !important;
  }

  .payment-items-list {
    padding: 8px !important;
    gap: 6px !important;
  }

  .payment-item {
    padding: 4px 8px !important;
    min-height: 44px !important;
  }

  .payment-item-left {
    gap: 8px !important;
    min-width: 0 !important;
  }

  .payment-item-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
  }

  .payment-item-details {
    overflow: hidden !important;
  }

  .payment-item-title {
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  .payment-item-meta {
    font-size: 0.6rem !important;
    gap: 4px !important;
  }

  .badge-session, .badge-term {
    padding: 0 4px !important;
    font-size: 0.55rem !important;
  }

  .payment-item-right {
    gap: 6px !important;
  }

  .payment-item-amount {
    font-size: 0.9rem !important;
  }

  .payment-item-checkbox {
    transform: scale(1) !important;
  }

  .modal-footer {
    padding: 10px 0 !important;
    gap: 5px !important;
  }

  .modal-footer button {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    min-width: auto !important;
    flex: 1 !important;
  }
}
