/* ===================================
   CASH CSS
   Styles for cash management pages
   =================================== */

/* Cash Header Styling */
.cash-header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 2rem;
  border-radius: 0.5rem 0.5rem 0 0;
  border-bottom: 1px solid #495057;
  position: relative;
  overflow: hidden;
}

.cash-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

/* Cash Summary Styling */
.cash-summary {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cash-summary:hover {
  transform: translateY(-2px);
  border-color: #6c757d !important;
}

/* Cash Table Styling */
.cash-table {
  background-color: #212529;
  color: #f8f9fa;
}

.cash-table th {
  border-top: none;
  font-weight: 600;
  color: #adb5bd;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  background-color: #495057;
}

.cash-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Cash Card Styling */
.cash-card {
  background-color: #212529;
  border: 1px solid #495057;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cash-card:hover {
  transform: translateY(-2px);
  border-color: #6c757d !important;
}

/* Cash Responsive */
@media (max-width: 991.98px) {
  .cash-summary {
    margin-top: 1rem;
  }
}

/* Cash Row Hover */
.cash-row:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Badge Styling */
.badge {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
}
