:root {
  --primary-color: #005429;
  --primary-dark: #003d1f;
  --primary-light: #006b33;
  --sidebar-width: 280px;
  --navbar-height: 70px;
  --success-color: #28a745;
  --success-dark: #1e7e34;
  --danger-color: #dc3545;
  --danger-dark: #c82333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  padding-top: var(--navbar-height);
}

/* Styling untuk logo */
.logo {
  width: 170px;
  height: auto;
  max-width: 200px;
}

/* NAVBAR STYLES */
.navbar-custom {
  background: #005429;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: var(--navbar-height);
  padding: 0.5rem 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1060;
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-custom .navbar-brand {
  color: white;
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
  color: #f5f5f5;
  text-decoration: none;
}

.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.navbar-custom .nav-link.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.15);
}

/* CUSTOM NAVBAR TOGGLER */
.navbar-custom .navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  background: transparent;
  position: relative;
}

.navbar-custom .navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

.custom-toggler {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  transition: all 0.3s ease;
}

.custom-toggler:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.custom-toggler span {
  display: block;
  height: 3px;
  width: 22px;
  background-color: white;
  margin: 2px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger Animation States */
.custom-toggler.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.custom-toggler.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.custom-toggler.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-custom {
    padding: 0.5rem 0.75rem;
  }
  
  .navbar-custom .navbar-brand {
    font-size: 1.2rem;
  }
  
  .navbar-custom .navbar-collapse {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    margin-top: 0.5rem;
    padding: 0.5rem;
  }
  
  .navbar-custom .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.125rem 0;
    border-radius: 6px;
  }
}

@media (max-width: 576px) {
  .navbar-custom {
    padding: 0.5rem;
  }
  
  .navbar-custom .navbar-brand {
    font-size: 1.1rem;
  }
  
  .custom-toggler {
    width: 28px;
    height: 28px;
  }
  
  .custom-toggler span {
    width: 20px;
    height: 2px;
  }
}


/* Accessibility improvements */
.navbar-custom .nav-link:focus-visible,
.navbar-custom .navbar-brand:focus-visible,
.custom-toggler:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
  border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .navbar-custom .nav-link {
    color: white;
    border: 1px solid transparent;
  }
  
  .navbar-custom .nav-link:hover,
  .navbar-custom .nav-link:focus {
    border-color: white;
  }
  
  .custom-toggler span {
    background-color: white;
  }
}

/* SIDEBAR STYLES */
.sidebar-coffee {
  background: white;
  height: 100%;
  width: 100%;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.sidebar-coffee .nav {
  padding: 1rem 0;
}

.sidebar-coffee .nav-link {
  color: #666;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 0;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.sidebar-coffee .nav-link:hover,
.sidebar-coffee .nav-link.active {
  background-color: var(--primary-color);
  color: white;
  border-left: 4px solid var(--primary-light);
}

.sidebar-coffee .nav-link i {
  width: 20px;
  margin-right: 10px;
  text-align: center;
}

.sidebar-coffee .nav-link.logout-link {
  margin-top: 1rem;
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}

.sidebar-coffee .nav-link.logout-link:hover {
  background-color: #dc3545;
  border-left: 4px solid #c82333;
}

@media (max-width: 991.98px) {
  .sidebar-coffee {
    transform: translateX(-100%);
    width: 280px;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    z-index: 1050;
    height: calc(100vh - var(--navbar-height));
  }

  .sidebar-coffee.show {
    transform: translateX(0);
  }
}

/* MAIN CONTENT */
.main-content {
  margin-left: 0;
  padding: 2rem;
  padding-top: 2rem;
  min-height: calc(100vh - var(--navbar-height));
  background-color: #f8f9fa;
  width: 100%;
  overflow-x: hidden;
}

@media (min-width: 992px) {
  .main-content {
    margin-left: var(--sidebar-width);
    padding: 2rem;
    width: calc(100% - var(--sidebar-width));
  }
}

@media (max-width: 991.98px) {
  .main-content {
    margin-left: 0;
    padding: 1rem;
    width: 100%;
  }
}

/* MARKETLIST SPECIFIC STYLES */
.marketlist-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 84, 41, 0.2);
}

.marketlist-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.marketlist-header p {
  opacity: 0.9;
  margin-bottom: 0;
  font-size: 1.1rem;
}

.export-buttons {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  border: 1px solid #e9ecef;
}

.export-buttons .btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color) 0%, var(--success-dark) 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, var(--success-dark) 0%, var(--success-color) 100%);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger-color) 0%, var(--danger-dark) 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
  background: linear-gradient(135deg, var(--danger-dark) 0%, var(--danger-color) 100%);
}

.date-section-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1.2rem 1.5rem;
  border-radius: 12px 12px 0 0;
  margin-top: 2.5rem;
  margin-bottom: 0;
  border: 1px solid #dee2e6;
  border-bottom: none;
}

.date-section-header h5 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.date-section-header i {
  color: var(--primary-light);
  font-size: 1.2rem;
}

.marketlist-table-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.date-table-wrapper {
  margin-bottom: 0;
  border-radius: 0;
}

.date-table-wrapper:last-child {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.table-enhanced {
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

.table-enhanced thead th {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  font-weight: 700;
  padding: 1.2rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.table-enhanced tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid #f8f9fa;
}

.table-enhanced tbody tr:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 30%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.table-enhanced tbody tr:last-child {
  border-bottom: none;
}

.table-enhanced td {
  padding: 1rem;
  vertical-align: middle;
  border: none;
  font-size: 0.95rem;
}

.product-name {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1rem;
}

.type-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.type-badge.type-transfer {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  color: white;
}

.type-badge.type-purchase {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  color: #212529;
}

.type-badge.type-old {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: white;
}

.quantity-cell {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.unit-cell {
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.notes-cell {
  font-style: italic;
  color: #6c757d;
  max-width: 200px;
  word-wrap: break-word;
}

.notes-empty {
  color: #adb5bd;
  font-weight: 300;
}

.section-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border: none;
  margin: 0;
}

.loading-state {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da 0%, #f1aeb5 100%);
  border: 1px solid #f1aeb5;
  color: #721c24;
  border-radius: 12px;
  padding: 1.2rem;
  font-weight: 500;
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1 0%, #b8daff 100%);
  border: 1px solid #b8daff;
  color: #0c5460;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
}

/* GENERAL STYLES */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: 12px 12px 0 0 !important;
  border: none;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-color: var(--primary-color);
  border-radius: 8px;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 84, 41, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 8px;
  font-weight: 500;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.table thead th {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  font-weight: 600;
  padding: 1rem;
}

.table tbody tr:hover {
  background-color: #f8f9fa;
}

.form-control {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.7rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.2rem rgba(0, 84, 41, 0.25);
}

.alert {
  border-radius: 12px;
  border: none;
  font-weight: 500;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
}

.mobile-toggle {
  display: none;
}

@media (max-width: 991.98px) {
  .mobile-toggle {
    display: inline-block;
  }

  .marketlist-header {
    padding: 1.5rem;
  }

  .marketlist-header h3 {
    font-size: 1.5rem;
  }

  .export-buttons {
    padding: 1rem;
  }

  .export-buttons .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    width: 100%;
  }

  .date-section-header {
    padding: 1rem;
  }

  .date-section-header h5 {
    font-size: 1.2rem;
  }

  .table-enhanced thead th {
    padding: 0.8rem 0.5rem;
    font-size: 0.8rem;
  }

  .table-enhanced td {
    padding: 0.8rem 0.5rem;
    font-size: 0.9rem;
  }

  .type-badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 576px) {
  .main-content {
    padding: 0.5rem;
  }

  .marketlist-header {
    padding: 1rem;
  }

  .marketlist-header h3 {
    font-size: 1.3rem;
  }

  .notes-cell {
    max-width: 150px;
    font-size: 0.8rem;
  }
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}

@media (max-width: 991.98px) {
  .sidebar-overlay.show {
    display: block;
  }
}

.loading {
  opacity: 0.7;
  pointer-events: none;
}

.sidebar-coffee::-webkit-scrollbar {
  width: 6px;
}

.sidebar-coffee::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sidebar-coffee::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 6px;
}

.sidebar-coffee::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.stat-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat-card h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-card p {
  opacity: 0.9;
  margin-bottom: 0;
}


/* ========================================
   CASH IN FORM SPECIFIC STYLES
========================================== */

/* Form Container Enhancement */
.cash-in-container {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  margin-bottom: 2rem;
}

/* Form Header Styling */
.cash-in-header {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 6px 24px rgba(40, 167, 69, 0.2);
}

.cash-in-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cash-in-header p {
  opacity: 0.9;
  margin-bottom: 0;
  font-size: 1rem;
}

.cash-in-header i {
  font-size: 1.4rem;
  opacity: 0.9;
}

/* Enhanced Form Controls */
.form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-label::before {
  content: '';
  width: 3px;
  height: 16px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 2px;
}

.form-label.required::after {
  content: '*';
  color: #dc3545;
  font-weight: 700;
  margin-left: 0.25rem;
}

/* Input Field Enhancements */
.form-control {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #fafbfc;
}

.form-control:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.15);
  background-color: white;
  transform: translateY(-1px);
}

.form-control:hover:not(:focus) {
  border-color: #ced4da;
  background-color: white;
}

.form-control::placeholder {
  color: #adb5bd;
  font-style: italic;
}

/* Textarea Specific */
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* File Input Styling */
.form-control[type="file"] {
  padding: 0.7rem 1rem;
  border-style: dashed;
  border-width: 2px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  cursor: pointer;
}

.form-control[type="file"]:hover {
  border-color: #28a745;
  background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
}

.form-control[type="file"]:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.15);
}

/* File Input Label Enhancement */
.file-input-wrapper {
  position: relative;
}

.file-input-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.file-input-label i {
  color: #6c757d;
}

.file-input-hint {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 0.4rem;
  font-style: italic;
}

/* Number Input Enhancements */
input[type="number"].form-control {
  text-align: right;
  font-weight: 600;
  font-size: 1.1rem;
}

input[type="number"].form-control::-webkit-outer-spin-button,
input[type="number"].form-control::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"].form-control {
  -moz-appearance: textfield;
}

/* Currency Input Styling */
.currency-input {
  position: relative;
}

.currency-input::before {
  content: 'Rp';
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-weight: 600;
  z-index: 10;
  pointer-events: none;
}

.currency-input input {
  padding-left: 3rem;
}

/* Date Input Styling */
input[type="date"].form-control {
  position: relative;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

/* Submit Button Enhancement */
.btn-submit-cash {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-submit-cash::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-submit-cash:hover::before {
  left: 100%;
}

.btn-submit-cash:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
}

.btn-submit-cash:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-submit-cash i {
  margin-right: 0.7rem;
  font-size: 1rem;
}

/* Loading State for Submit Button */
.btn-submit-cash.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-submit-cash.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

/* Form Row Styling */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .form-row.two-columns {
    grid-template-columns: 1fr 1fr;
  }
  
  .form-row.three-columns {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Input Group Styling */
.input-group-cash {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-group-cash .form-control {
  padding-left: 3rem;
}

.input-group-cash .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 10;
  pointer-events: none;
}

/* Validation Styling */
.form-control.is-invalid {
  border-color: #dc3545;
  background-color: #fff5f5;
}

.form-control.is-valid {
  border-color: #28a745;
  background-color: #f8fff8;
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.valid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #28a745;
}

/* Form Step Indicator (if needed) */
.form-steps {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.form-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-step.active {
  background: #28a745;
  color: white;
}

.form-step.completed {
  background: #20c997;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cash-in-container {
    padding: 1.5rem;
    margin: 0 0.5rem 1.5rem;
    border-radius: 12px;
  }

  .cash-in-header {
    padding: 1.25rem 1.5rem;
    margin: 0 0.5rem 1.5rem;
    border-radius: 12px;
  }

  .cash-in-header h3 {
    font-size: 1.4rem;
  }

  .form-control {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .btn-submit-cash {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  .form-row {
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .cash-in-container {
    padding: 1rem;
    margin: 0 0.25rem 1rem;
  }

  .cash-in-header {
    padding: 1rem 1.25rem;
    margin: 0 0.25rem 1rem;
  }

  .cash-in-header h3 {
    font-size: 1.2rem;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  .form-label {
    font-size: 0.9rem;
  }

  .btn-submit-cash {
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
  }
}