/* ========================================
   REPORT MANAGEMENT - BEAUTIFUL PURPLE THEME
   ======================================== */

.report-management {
  padding: 1.5rem;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  background: transparent;
}

/* ==================
   PAGE HEADER
   ================== */
.page-header {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #2d1b4e 0%, #1a0f2e 100%);
  border-radius: 14px;
  border: 2px solid #a78bfa;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.header-content h1 {
  font-size: 1.75rem;
  color: #a78bfa;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(167, 139, 250, 0.4);
}

.header-content p {
  color: #c4b5fd;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ==================
   TABS
   ================== */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f7f8fa, #ffffff);
  padding: 0.5rem;
  border-radius: 12px;
  border: 2px solid rgba(167, 139, 250, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #666;
  transition: all 0.3s ease;
  position: relative;
}

.tab:hover {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

.tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.tab-icon {
  font-size: 1.35rem;
}

.tab-label {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: inherit;
  padding: 0.25rem 0.65rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
}

.tab.active .tab-count {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

/* ==================
   SECTION HEADER
   ================== */
.section-header {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(167, 139, 250, 0.1));
  border-radius: 12px;
  border-left: 4px solid #8b5cf6;
}

.section-title {
  font-size: 1.4rem;
  color: #8b5cf6;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-description {
  color: #666;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 500;
}

/* ==================
   SUMMARY CARDS
   ================== */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.summary-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 3px solid #a78bfa;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30px, -30px);
}

.summary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
  border-color: #8b5cf6;
}

.summary-card.credit {
  border-color: #10b981;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.summary-card.credit:hover {
  border-color: #059669;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.summary-card.credit::before {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.summary-card.debit {
  border-color: #ef4444;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.summary-card.debit:hover {
  border-color: #dc2626;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.summary-card.debit::before {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
}

.summary-card .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: white;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  flex-shrink: 0;
}

.summary-card.credit .card-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.summary-card.debit .card-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.summary-card .card-content {
  flex: 1;
}

.summary-card .card-content h3 {
  font-size: 11px;
  font-weight: 700;
  color: #8b5cf6;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.summary-card.credit .card-content h3 {
  color: #059669;
}

.summary-card.debit .card-content h3 {
  color: #dc2626;
}

.summary-card .card-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: #1a1a2e;
  margin: 0;
  font-family: 'Courier New', monospace;
}

.summary-card .card-count {
  font-size: 0.85rem;
  color: #666;
  margin: 0.25rem 0 0 0;
  font-weight: 600;
}

/* ==================
   FILTERS SECTION
   ================== */
.filters-section {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border-radius: 12px;
  border: 2px solid rgba(167, 139, 250, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 180px;
}

.filter-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-select,
.filter-input,
.search-input {
  padding: 0.75rem 1rem;
  border: 2px solid rgba(167, 139, 250, 0.3);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #1a1a1a;
  background: white;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-select:focus,
.filter-input:focus,
.search-input:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
  background: #ffffff;
}

.search-input {
  flex: 2;
}

/* ==================
   TABLE CONTAINER
   ================== */
.table-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.15);
  overflow: hidden;
  margin-bottom: 1.5rem;
  width: 100%;
  border: 2px solid rgba(167, 139, 250, 0.2);
}

.transaction-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.transaction-table.managers-table {
  min-width: 1200px;
}

.transaction-table.merchants-table {
  min-width: 1100px;
}

.transaction-table thead {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.transaction-table th {
  padding: 1rem 0.85rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.transaction-table tbody tr {
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
  transition: all 0.2s ease;
}

.transaction-table tbody tr:hover {
  background-color: rgba(139, 92, 246, 0.05);
  transform: scale(1.001);
}

.transaction-table td {
  padding: 0.9rem 0.85rem;
  font-size: 0.875rem;
  color: #333;
  vertical-align: middle;
}

/* ==================
   TABLE CELL STYLES
   ================== */
.user-info,
.account-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.user-info strong,
.account-info strong {
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.9rem;
}

.user-email,
.account-number,
.bank-name {
  color: #666;
  font-size: 0.8rem;
  font-weight: 500;
}

.to-details {
  color: #8b5cf6;
  font-weight: 600;
  font-size: 0.875rem;
}

.amount {
  font-weight: 700;
  color: #8b5cf6;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
}

.wallet-balance {
  font-weight: 700;
  color: #059669;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.balance-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.balance-amount {
  font-weight: 800;
  color: #10b981;
  font-size: 1rem;
  font-family: 'Courier New', monospace;
}

.balance-label {
  font-size: 0.7rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.serial-number {
  font-weight: 700;
  color: #8b5cf6;
  text-align: center;
}

.amount-symbol {
  font-weight: 900;
  margin-right: 0.25rem;
}

.credit-amount {
  color: #10b981 !important;
}

.debit-amount {
  color: #ef4444 !important;
}

.credit-text {
  color: #10b981 !important;
}

.debit-text {
  color: #ef4444 !important;
}

.date {
  font-size: 0.8rem;
  color: #666;
  white-space: nowrap;
  font-weight: 500;
}

.description {
  color: #4b5563;
  font-size: 0.85rem;
  max-width: 200px;
  line-height: 1.3;
}

/* ==================
   TRANSACTION TYPE & STATUS
   ================== */
.transaction-type {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.transaction-type.credit {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.transaction-type.debit {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.transfer-type {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.transfer-type.imps {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.transfer-type.neft {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.transfer-type.rtgs {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.status-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.status-badge.completed,
.status-badge.success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.status-badge.pending,
.status-badge.processing {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.status-badge.failed {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

/* ==================
   ACTION BUTTONS
   ================== */
.btn-icon {
  padding: 0.55rem !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  min-height: 38px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.btn-icon.btn-info {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: white !important;
}

.btn-icon.btn-info:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4) !important;
}

/* ==================
   BUTTONS
   ================== */
.btn-secondary {
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb) !important;
  color: #4b5563 !important;
  border: 2px solid #d1d5db !important;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db) !important;
  border-color: #9ca3af;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #374151 !important;
}

/* ==================
   PAGINATION
   ================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(139, 92, 246, 0.05);
  border-radius: 10px;
}

.pagination-btn {
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border: 2px solid #a78bfa;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  color: #8b5cf6;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pagination-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  border-color: #8b5cf6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.pagination-info {
  font-weight: 700;
  color: #8b5cf6;
  font-size: 0.95rem;
}

/* ==================
   EMPTY STATE
   ================== */
.empty-state {
  text-align: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.15);
  border: 2px dashed #a78bfa;
}

.empty-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
  filter: grayscale(20%);
}

.empty-state h3 {
  font-size: 1.4rem;
  color: #8b5cf6;
  margin: 0 0 0.5rem 0;
  font-weight: 800;
}

.empty-state p {
  color: #666;
  margin: 0;
  font-size: 0.95rem;
}

/* ==================
   LOADING CONTAINER
   ================== */
.loading-container {
  text-align: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.15);
}

.loading-spinner {
  width: 55px;
  height: 55px;
  margin: 0 auto 1rem;
  border: 5px solid rgba(167, 139, 250, 0.2);
  border-top: 5px solid #8b5cf6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-container p {
  color: #8b5cf6;
  font-weight: 700;
  font-size: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==================
   RESPONSIVE DESIGN
   ================== */
@media (max-width: 1200px) {
  .summary-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .transaction-table {
    font-size: 0.85rem;
  }
  
  .transaction-table th,
  .transaction-table td {
    padding: 0.75rem 0.6rem;
  }
}

@media (max-width: 992px) {
  .report-management {
    padding: 1rem;
  }
  
  .filters-row {
    flex-direction: column;
  }
  
  .filter-group {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .summary-cards {
    grid-template-columns: 1fr;
  }

  .tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pagination {
    flex-direction: column;
    gap: 0.5rem;
  }

  .pagination-btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .report-management {
    padding: 0.75rem;
  }
  
  .header-content h1 {
    font-size: 1.5rem;
  }

  .transaction-table {
    font-size: 0.75rem;
  }
  
  .transaction-table th,
  .transaction-table td {
    padding: 0.5rem 0.4rem;
  }
  
  .summary-card .card-value {
    font-size: 1.5rem;
  }
}

/* ==================
   MODAL STYLES
   ================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 2px solid #e5e7eb;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: white;
  border-radius: 12px 12px 0 0;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.modal-body {
  padding: 1.5rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 4px solid #8b5cf6;
}

.detail-item label {
  font-weight: 700;
  color: #374151;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-item span {
  color: #1f2937;
  font-size: 1rem;
  font-weight: 600;
}

.api-response-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #1f2937;
  border-radius: 8px;
  border: 2px solid #8b5cf6;
}

.api-response-section h4 {
  color: #8b5cf6;
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.api-response {
  background: #111827;
  color: #10b981;
  padding: 1rem;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid #374151;
}

.error-message {
  text-align: center;
  padding: 2rem;
  color: #ef4444;
  font-size: 1.1rem;
  font-weight: 600;
}

.loading-container {
  text-align: center;
  padding: 3rem;
}

.loading-container .loading-spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #8b5cf6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-container p {
  color: #8b5cf6;
  font-weight: 600;
  font-size: 1.1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Modal Responsive Design */
@media (max-width: 768px) {
  .modal-content {
    margin: 1rem;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 1rem;
  }
  
  .modal-header h3 {
    font-size: 1.2rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .detail-item {
    padding: 0.75rem;
  }
  
  .api-response {
    font-size: 0.75rem;
  }
}

/* Action Buttons Styles */
.action-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-icon.btn-warning {
  background-color: #f59e0b;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
}

.btn-icon.btn-warning:hover {
  background-color: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.btn-icon.btn-warning:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

/* Status Modal Specific Styles */
.status-item {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-left: 4px solid #3b82f6;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.status-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status-badge-large {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.status-indicator {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: inline-block;
  min-width: 120px;
  text-align: center;
}

.status-indicator.pending {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
}

.status-indicator.processing {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.status-indicator.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.status-indicator.failed {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.status-details {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.status-details p {
  margin: 0.75rem 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1f2937 !important;
}

.status-details p:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.status-details strong {
  color: #111827 !important;
  font-weight: 700;
}

.error-text {
  color: #ef4444 !important;
  background: #fef2f2;
  padding: 0.75rem;
  border-radius: 6px;
  border-left: 4px solid #ef4444;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ViyonaPay specific styles */
.viyona-details {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.viyona-details p {
  margin: 0.5rem 0;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  color: #1f2937 !important;
}

.viyona-details p:last-child {
  border-bottom: none;
}

.viyona-details ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.viyona-details li {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #1f2937 !important;
}

.viyona-details li strong {
  color: #111827 !important;
  font-weight: 700;
}

.status-indicator.unknown {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
}

/* Fix for status modal grid layout */
.status-modal .details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.status-modal .detail-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.status-modal .detail-item h4 {
  margin: 0 0 1rem 0;
  color: #111827 !important;
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.status-modal .api-response-section {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

/* Responsive design for status modal */
@media (max-width: 768px) {
  .status-modal .details-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .status-modal .detail-item {
    padding: 1rem;
  }
  
  .status-indicator {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}
