
.transaction-container {
  padding: 24px;
  background: #f8f9fa;
  min-height: 100vh;
}

/* Status Filter */
.status-filter-wrapper {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-btn {
  padding: 8px 20px;
  border-radius: 30px !important;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent !important;
}

.status-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.status-btn.active {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.status-secondary {
  background: #6c757d;
  color: white;
}

.status-secondary.active {
  background: #5a6268;
}

.status-warning {
  background: #ffc107;
  color: #212529;
}

.status-warning.active {
  background: #e0a800;
}

.status-success {
  background: #28a745;
  color: white;
}

.status-success.active {
  background: #1e7e34;
}

.status-danger {
  background: #dc3545;
  color: white;
}

.status-danger.active {
  background: #c82333;
}

.status-info {
  background: #17a2b8;
  color: white;
}

.status-info.active {
  background: #138496;
}

.status-dark {
  background: #343a40;
  color: white;
}

.status-dark.active {
  background: #23272b;
}

/* Search Box */
.search-wrapper {
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  max-width: 400px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.search-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.clear-search {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.3s ease;
}

.clear-search:hover {
  color: #dc3545;
}

/* Loading State */
.loading-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.spinner-wrapper {
  text-align: center;
}

.spinner-border {
  width: 48px;
  height: 48px;
}

.loading-text {
  margin-top: 16px;
  color: #666;
  font-size: 14px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.empty-icon {
  font-size: 64px;
  color: #ccc;
  margin-bottom: 16px;
}

.empty-text {
  color: #999;
  font-size: 16px;
}

/* Transaction Table */
.table-wrapper {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.transaction-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.transaction-table thead th {
  background: #f8f9fa;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #e9ecef;
}

.transaction-row {
  transition: background 0.2s ease;
}

.transaction-row:hover {
  background: #f8f9fa;
}

.transaction-table td {
  padding: 16px;
  vertical-align: middle;
  border-bottom: 1px solid #e9ecef;
}

.row-number {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  background: #e9ecef;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #495057;
}

.transaction-code {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: 600;
  color: #007bff;
}

/* Proof Images */
.proof-image {
  position: relative;
  display: inline-block;
}

.thumbnail-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.thumbnail-img:hover {
  transform: scale(1.05);
}

.image-link {
  position: relative;
  display: inline-block;
}

.view-link {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 10px;
  text-align: center;
  padding: 2px;
  border-radius: 0 0 8px 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-link:hover .view-link {
  opacity: 1;
}

/* Upload Buttons */
.btn-upload {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-upload-bank {
  background: #007bff;
  color: white;
}

.btn-upload-bank:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.btn-upload-shopee {
  background: #28a745;
  color: white;
}

.btn-upload-shopee:hover {
  background: #1e7e34;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}

/* Amount Styling */
.amount {
  font-weight: 600;
  color: #28a745;
}

/* Date Styling */
.date {
  font-size: 12px;
  color: #6c757d;
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
}

.status-diproses {
  background: #fff3cd;
  color: #856404;
}

.status-diterima {
  background: #d4edda;
  color: #155724;
}

.status-ditolak {
  background: #f8d7da;
  color: #721c24;
}

.status-belum-dibayar {
  background: #d1ecf1;
  color: #0c5460;
}

.status-kadarluasa {
  background: #e2e3e5;
  color: #383d41;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 8px;
}

.btn-action {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-action i {
  font-size: 14px;
}

.btn-detail {
  background: #17a2b8;
  color: white;
}

.btn-detail:hover {
  background: #138496;
  transform: translateY(-2px);
}

.btn-angsuran {
  background: #ffc107;
  color: #212529;
}

.btn-angsuran:hover {
  background: #e0a800;
  transform: translateY(-2px);
}

.btn-add-angsuran {
  background: #28a745;
  color: white;
}

.btn-add-angsuran:hover {
  background: #1e7e34;
  transform: translateY(-2px);
}

/* Angsuran Row */
.angsuran-row {
  background: #f8f9fa;
}

.angsuran-wrapper {
  padding: 20px;
}

.angsuran-header {
  font-size: 16px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e9ecef;
}

.angsuran-header i {
  margin-right: 8px;
  color: #ffc107;
}

.angsuran-table {
  width: 100%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.angsuran-table th {
  background: #e9ecef;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #495057;
}

.angsuran-table td {
  padding: 12px;
  border-bottom: 1px solid #e9ecef;
}

.thumbnail-sm {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

/* Pagination */
.pagination-wrapper {
  padding: 20px;
  display: flex;
  justify-content: center;
  border-top: 1px solid #e9ecef;
}

.pagination-custom {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-custom li {
  display: inline-block;
}

.pagination-custom li a,
.pagination-custom li span {
  display: inline-block;
  min-width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination-custom li a:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.pagination-custom li.active a {
  background: #007bff;
  color: white;
}

.pagination-custom li.disabled a,
.pagination-custom li.disabled span {
  color: #ccc;
  cursor: not-allowed;
}

.pagination-custom li.dots span {
  color: #999;
}

/* Modern Modals */
.modern-modal {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 24px;
}

.modal-header-success {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #155724;
  padding: 20px 24px;
}

.modal-header-warning {
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  color: #856404;
  padding: 20px 24px;
}

.modal-header-primary .modal-title i,
.modal-header-success .modal-title i,
.modal-header-warning .modal-title i {
  margin-right: 8px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: inherit;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.close-btn:hover {
  opacity: 1;
}

.modal-body {
  padding: 24px;
  background: #f8f9fa;
}

/* Transaction Info Card */
.transaction-info-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-item.full-width {
  grid-column: 1 / -1;
}

.info-label {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 4px;
  font-weight: 500;
}

.info-value {
  font-size: 14px;
  color: #212529;
  font-weight: 500;
}

/* Sub Transactions */
.sub-transactions {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sub-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sub-header {
  background: #f8f9fa;
  padding: 16px 20px;
  font-weight: 600;
  color: #495057;
  border-bottom: 1px solid #e9ecef;
}

.sub-header i {
  margin-right: 8px;
  color: #17a2b8;
}

.sub-body {
  padding: 20px;
}

.shipping-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e9ecef;
}

.shipping-item {
  display: flex;
  flex-direction: column;
}

.shipping-label {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 4px;
}

.shipping-value {
  font-size: 14px;
  font-weight: 500;
  color: #212529;
}

/* Products Table */
.products-table-wrapper {
  overflow-x: auto;
}

.products-table {
  width: 100%;
  border-collapse: collapse;
}

.products-table th {
  background: #f8f9fa;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #495057;
  text-align: left;
}

.products-table td {
  padding: 12px;
  border-top: 1px solid #e9ecef;
}

.product-info-modern {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.product-details {
  flex: 1;
}

.product-name {
  font-weight: 600;
  margin-bottom: 4px;
  color: #212529;
}

.product-variant {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 2px;
}

.product-qty {
  font-size: 12px;
  color: #007bff;
  font-weight: 500;
}

/* Form Elements */
.form-group-custom {
  margin-bottom: 20px;
}

.form-group-custom label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #495057;
  font-size: 14px;
}

.input-custom {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.input-custom:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.input-custom[readonly] {
  background: #e9ecef;
  cursor: not-allowed;
}

/* Upload Options */
.upload-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.upload-option {
  background: white;
  border: 2px dashed #ccc;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-option:hover {
  border-color: #007bff;
  background: #f8f9fa;
  transform: translateY(-2px);
}

.upload-option i {
  font-size: 32px;
  color: #007bff;
  margin-bottom: 8px;
  display: block;
}

.upload-option span {
  font-size: 12px;
  color: #666;
}

.preview-image {
  text-align: center;
  margin-bottom: 24px;
}

.preview-image img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Upload Tabs */
.upload-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn.active {
  color: #007bff;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #007bff;
}

/* Uploading Overlay */
.uploading-state {
  position: relative;
}

.uploading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 12px;
}

.uploading-overlay .spinner-border {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.uploading-overlay p {
  color: #666;
  font-size: 14px;
}

/* Alert Custom */
.alert-custom {
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 16px;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border-left: 4px solid #17a2b8;
}

.alert-custom i {
  margin-right: 8px;
}

/* Buttons Custom */
.btn-custom {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-custom i {
  margin-right: 8px;
}

.btn-primary {
  background: #007bff;
  color: white;
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.btn-success {
  background: #28a745;
  color: white;
}

.btn-success:hover {
  background: #1e7e34;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}

.btn-warning {
  background: #ffc107;
  color: #212529;
}

.btn-warning:hover {
  background: #e0a800;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

.modal-footer {
  padding: 16px 24px;
  background: white;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Utility Classes */
.hidden {
  display: none;
}

.text-muted {
  color: #6c757d;
}

.opacity-50 {
  opacity: 0.5;
}

.pointer-events-none {
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .transaction-container {
    padding: 16px;
  }
  
  .transaction-table {
    font-size: 12px;
  }
  
  .transaction-table th,
  .transaction-table td {
    padding: 12px 8px;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 4px;
  }
  
  .btn-action {
    width: 28px;
    height: 28px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .shipping-info {
    grid-template-columns: 1fr;
  }
  
  .upload-options {
    grid-template-columns: 1fr;
  }
  
  .modal-dialog {
    margin: 16px;
  }
}


/* Address */

/* alamat-styles.css - Modern Address Management Styles */

/* Container & Layout */
.address-container {
  padding: 24px;
  background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fa 100%);
  min-height: 100vh;
}

/* Header Actions */
.header-actions {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-modern {
  padding: 12px 24px;
  border-radius: 12px !important;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-modern i {
  font-size: 16px;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-modern:active {
  transform: translateY(0);
}

.btn-primary-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary-modern:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46a0 100%);
}

/* Search Box Modern */
.search-box-modern {
  position: relative;
  max-width: 400px;
  flex: 1;
}

.search-input-modern {
  width: 100%;
  padding: 12px 16px 12px 48px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.search-input-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon-modern {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  font-size: 18px;
}

/* Loading State Modern */
.loading-modern {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.spinner-modern {
  width: 50px;
  height: 50px;
  border: 3px solid #e2e8f0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text-modern {
  color: #4a5568;
  font-size: 14px;
}

/* Empty State Modern */
.empty-state-modern {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.empty-icon-modern {
  font-size: 80px;
  color: #cbd5e0;
  margin-bottom: 20px;
}

.empty-text-modern {
  font-size: 18px;
  color: #4a5568;
  margin-bottom: 8px;
}

.empty-subtext-modern {
  font-size: 14px;
  color: #a0aec0;
}

/* Table Modern */
.table-wrapper-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 24px;
}

.address-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.address-table thead th {
  background: #f7fafc;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e2e8f0;
}

.address-table tbody tr {
  transition: all 0.2s ease;
  cursor: pointer;
}

.address-table tbody tr:hover {
  background: #f7fafc;
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.address-table td {
  padding: 16px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #edf2f7;
}

/* Row Number Badge */
.row-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

/* Address Cell */
.address-cell {
  max-width: 300px;
}

.address-text {
  font-size: 13px;
  line-height: 1.5;
  color: #2d3748;
  margin-bottom: 4px;
}

.address-detail {
  font-size: 11px;
  color: #a0aec0;
}

/* Phone Cell */
.phone-cell {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: 500;
  color: #2d3748;
}

/* Status Badge Modern */
.status-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.status-active {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #064e3b;
}

.status-inactive {
  background: #e2e8f0;
  color: #4a5568;
}

.status-badge-modern i {
  font-size: 12px;
}

/* Action Buttons Modern */
.action-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-action-modern {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.btn-action-modern i {
  font-size: 14px;
}

.btn-action-modern:hover {
  transform: translateY(-2px);
}

.btn-edit-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-edit-modern:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46a0 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-delete-modern {
  background: linear-gradient(135deg, #f56565 0%, #ed8936 100%);
  color: white;
}

.btn-delete-modern:hover {
  background: linear-gradient(135deg, #e53e3e 0%, #dd6b20 100%);
  box-shadow: 0 4px 12px rgba(245, 101, 101, 0.4);
}

.btn-activate-modern {
  background: linear-gradient(135deg, #48bb78 0%, #38b2ac 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  border: none;
  transition: all 0.2s ease;
}

.btn-activate-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

/* Pagination Modern */
.pagination-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.pagination-info-modern {
  color: #718096;
  font-size: 14px;
}

.pagination-controls-modern {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-controls-modern li {
  display: inline-block;
}

.pagination-controls-modern li a,
.pagination-controls-modern li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #4a5568;
  text-decoration: none;
  transition: all 0.2s ease;
  background: white;
  border: 1px solid #e2e8f0;
}

.pagination-controls-modern li a:hover {
  background: #f7fafc;
  transform: translateY(-2px);
  border-color: #667eea;
  color: #667eea;
}

.pagination-controls-modern li.active a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
}

.pagination-controls-modern li.disabled a,
.pagination-controls-modern li.disabled span {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Modal Modern */
.modal-modern .modal-content {
  border-radius: 24px;
  border: none;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px 28px;
  border: none;
}

.modal-header-modern .modal-title {
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.modal-header-modern .modal-title i {
  margin-right: 10px;
}

.modal-header-modern .close {
  color: white;
  opacity: 0.8;
  text-shadow: none;
}

.modal-header-modern .close:hover {
  opacity: 1;
}

.modal-body-modern {
  padding: 28px;
  background: #f8fafc;
}

.modal-footer-modern {
  padding: 20px 28px;
  background: white;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Form Modern */
.form-modern {
  background: white;
  border-radius: 16px;
  padding: 20px;
}

.form-group-modern {
  margin-bottom: 20px;
}

.form-group-modern label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2d3748;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.required-star {
  color: #f56565;
  margin-left: 4px;
}

.input-modern {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.input-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-modern:disabled {
  background: #f7fafc;
  cursor: not-allowed;
}

.input-error {
  border-color: #f56565;
}

.input-error:focus {
  border-color: #f56565;
  box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.1);
}

.error-message {
  margin-top: 6px;
  font-size: 12px;
  color: #f56565;
}

/* Select Modern */
.select-modern {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.select-modern:disabled {
  background: #f7fafc;
  cursor: not-allowed;
}

/* Textarea Modern */
.textarea-modern {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  resize: vertical;
  font-family: inherit;
}

.textarea-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Alert Modern */
.alert-modern {
  padding: 14px 20px;
  border-radius: 12px;
  margin-top: 20px;
  border-left: 4px solid;
}

.alert-info-modern {
  background: #ebf8ff;
  color: #2c5282;
  border-left-color: #3182ce;
}

.alert-danger-modern {
  background: #fff5f5;
  color: #c53030;
  border-left-color: #e53e3e;
}

.alert-modern i {
  margin-right: 10px;
}

/* Loading Overlay */
.modal-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.95);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.overlay-content {
  text-align: center;
}

.overlay-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid #e2e8f0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

.overlay-text {
  color: #4a5568;
  font-size: 14px;
  font-weight: 500;
}

/* Helper Text */
.helper-text {
  margin-top: 6px;
  font-size: 11px;
  color: #a0aec0;
}

/* Responsive */
@media (max-width: 768px) {
  .address-container {
    padding: 16px;
  }
  
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box-modern {
    max-width: 100%;
  }
  
  .address-table thead {
    display: none;
  }
  
  .address-table tbody tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
  }
  
  .address-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border: none;
  }
  
  .address-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #4a5568;
    margin-right: 16px;
  }
  
  .action-group {
    justify-content: flex-end;
  }
  
  .pagination-modern {
    flex-direction: column;
    align-items: center;
  }
  
  .modal-body-modern {
    padding: 20px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.address-table tbody tr {
  animation: fadeInUp 0.3s ease-out;
}


/* bank-styles.css - Modern Bank Accounts Styles */

/* Container */
.bank-container {
  padding: 24px;
  background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fa 100%);
  min-height: 100vh;
}

/* Panel Modern */
.panel-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: none;
}

.panel-header-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 24px 28px;
  border-bottom: none;
}

.panel-header-modern h3 {
  margin: 0;
  color: white;
  font-weight: 600;
  font-size: 24px;
}

.panel-header-modern h3 i {
  margin-right: 12px;
}

.panel-header-modern h3 strong {
  font-weight: 700;
}

.panel-body-modern {
  padding: 28px;
}

/* Bank Card Modern */
.bank-card {
  background: white;
  border-radius: 16px;
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.bank-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border-color: #cbd5e0;
}

.bank-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.bank-card:hover::before {
  transform: scaleX(1);
}

.bank-card-last {
  margin-bottom: 0;
}

/* Bank Media */
.bank-media {
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .bank-media {
    flex-wrap: nowrap;
  }
}

/* Bank Logo */
.bank-logo-wrapper {
  flex-shrink: 0;
  position: relative;
}

.bank-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.bank-card:hover .bank-logo {
  transform: scale(1.05);
}

/* Bank Info */
.bank-info {
  flex: 1;
}

.bank-account-number {
  font-size: 20px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.bank-account-name {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 12px;
}

.bank-account-name strong {
  color: #667eea;
  font-weight: 600;
}

/* Copy Button */
.copy-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.copy-button i {
  font-size: 12px;
}

.copy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.copy-button:active {
  transform: translateY(0);
}

.copy-success {
  background: linear-gradient(135deg, #48bb78 0%, #38b2ac 100%);
}

/* Bank Actions */
.bank-actions {
  flex-shrink: 0;
}

.qr-button {
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qr-button i {
  font-size: 16px;
  color: #667eea;
}

.qr-button:hover {
  background: white;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* QR Modal Modern */
.qr-modal .modal-content {
  border-radius: 24px;
  border: none;
  overflow: hidden;
}

.qr-modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px 24px;
  border: none;
}

.qr-modal-header .modal-title {
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.qr-modal-header .modal-title i {
  margin-right: 10px;
}

.qr-modal-header .close {
  color: white;
  opacity: 0.8;
  text-shadow: none;
}

.qr-modal-header .close:hover {
  opacity: 1;
}

.qr-modal-body {
  padding: 32px;
  text-align: center;
  background: #f8fafc;
}

.qr-code-wrapper {
  background: white;
  padding: 24px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.qr-code {
  max-width: 200px;
  height: auto;
}

.qr-bank-name {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
}

.qr-account-number {
  font-size: 16px;
  color: #667eea;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  margin-bottom: 16px;
}

.qr-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.qr-footer p {
  color: #718096;
  font-size: 13px;
  margin: 0;
}

.qr-footer i {
  color: #f56565;
}

/* Loading State */
.bank-loading {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 20px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #e2e8f0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Empty State */
.bank-empty {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 20px;
}

.empty-icon {
  font-size: 64px;
  color: #cbd5e0;
  margin-bottom: 16px;
}

.empty-text {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 8px;
}

.empty-subtext {
  font-size: 14px;
  color: #a0aec0;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #48bb78;
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  animation: slideInRight 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notification i {
  font-size: 16px;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .bank-container {
    padding: 16px;
  }
  
  .panel-header-modern {
    padding: 18px 20px;
  }
  
  .panel-header-modern h3 {
    font-size: 20px;
  }
  
  .panel-body-modern {
    padding: 20px;
  }
  
  .bank-media {
    flex-direction: column;
    text-align: center;
  }
  
  .bank-logo {
    width: 60px;
    height: 60px;
  }
  
  .bank-account-number {
    font-size: 16px;
    word-break: break-all;
  }
  
  .bank-account-name {
    font-size: 14px;
  }
  
  .copy-button, .qr-button {
    width: 100%;
    justify-content: center;
  }
  
  .bank-actions {
    width: 100%;
  }
  
  .qr-button {
    width: 100%;
  }
  
  .qr-code {
    max-width: 150px;
  }
}

/* Animation for bank cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bank-card {
  animation: fadeInUp 0.4s ease-out;
  animation-fill-mode: both;
}

.bank-card:nth-child(1) { animation-delay: 0.1s; }
.bank-card:nth-child(2) { animation-delay: 0.2s; }
.bank-card:nth-child(3) { animation-delay: 0.3s; }
.bank-card:nth-child(4) { animation-delay: 0.4s; }

/* Profile */

/* profile-styles.css - Modern Profile Address Styles */

/* Profile Container */
.profile-container {
  padding: 24px;
  background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fa 100%);
  min-height: 100vh;
}

/* Profile Card */
.profile-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.profile-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 28px 32px;
  border-bottom: none;
}

.profile-header h3 {
  margin: 0;
  color: white;
  font-weight: 600;
  font-size: 24px;
}

.profile-header h3 i {
  margin-right: 12px;
}

.profile-header h3 strong {
  font-weight: 700;
}

.profile-body {
  padding: 32px;
}

/* Alert Modern */
.alert-modern {
  padding: 16px 20px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInDown 0.3s ease;
}

.alert-modern i {
  font-size: 20px;
}

.alert-modern.alert-success {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #064e3b;
}

.alert-modern.alert-danger {
  background: linear-gradient(135deg, #f56565 0%, #ed8936 100%);
  color: #7b1f1f;
}

.alert-modern.alert-warning {
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  color: #7c5c10;
}

.alert-modern.alert-info {
  background: linear-gradient(135deg, #a0c4ff 0%, #c0e0ff 100%);
  color: #1e3a8a;
}

@keyframes slideInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Profile Form */
.profile-form {
  margin-top: 0;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Form Group Modern */
.form-group-modern {
  margin-bottom: 0;
}

.form-group-modern label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2d3748;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.label-icon {
  margin-right: 6px;
  font-size: 12px;
  color: #667eea;
}

.required-star {
  color: #f56565;
  margin-left: 4px;
}

/* Input Modern */
.input-modern {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
  font-family: inherit;
}

.input-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-modern:read-only,
.input-modern[readonly] {
  background: #f7fafc;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

/* Select2 Override */
.select2-modern {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  height: 48px !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
  transition: all 0.3s ease !important;
}

.select2-container--default .select2-selection--single:hover {
  border-color: #cbd5e0 !important;
}

.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #667eea !important;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px !important;
  color: #2d3748 !important;
  font-size: 14px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px !important;
  right: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #a0aec0 transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #a0aec0 transparent !important;
}

.select2-dropdown {
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.select2-results__option {
  padding: 10px 16px !important;
  font-size: 14px !important;
}

.select2-results__option--highlighted {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Textarea Modern */
.textarea-modern {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  resize: vertical;
  font-family: inherit;
  min-height: 100px;
}

.textarea-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Full Width */
.full-width {
  grid-column: 1 / -1;
}

/* Action Buttons */
.form-actions {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.btn-modern {
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-modern i {
  font-size: 14px;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-modern:active {
  transform: translateY(0);
}

.btn-primary-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary-modern:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46a0 100%);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary-modern {
  background: #e2e8f0;
  color: #4a5568;
}

.btn-secondary-modern:hover {
  background: #cbd5e0;
}

/* Loading Overlay */
.loading-overlay {
  position: relative;
  min-height: 400px;
}

.loading-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.9);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner-modern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 11;
}

.spinner-modern {
  width: 48px;
  height: 48px;
  border: 3px solid #e2e8f0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text-modern {
  color: #4a5568;
  font-size: 14px;
  font-weight: 500;
}

/* Info Card */
.info-card {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  border-left: 4px solid #667eea;
}

.info-card p {
  margin: 0;
  color: #4a5568;
  font-size: 13px;
}

.info-card i {
  color: #667eea;
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-container {
    padding: 16px;
  }
  
  .profile-header {
    padding: 20px 24px;
  }
  
  .profile-header h3 {
    font-size: 20px;
  }
  
  .profile-body {
    padding: 20px;
  }
  
  .btn-modern {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .select2-container--default .select2-selection--single {
    height: 44px !important;
  }
}

/* Animation for form fields */
.form-group-modern {
  animation: fadeInUp 0.4s ease-out;
  animation-fill-mode: both;
}

.form-group-modern:nth-child(1) { animation-delay: 0.05s; }
.form-group-modern:nth-child(2) { animation-delay: 0.1s; }
.form-group-modern:nth-child(3) { animation-delay: 0.15s; }
.form-group-modern:nth-child(4) { animation-delay: 0.2s; }
.form-group-modern:nth-child(5) { animation-delay: 0.25s; }
.form-group-modern:nth-child(6) { animation-delay: 0.3s; }
.form-group-modern:nth-child(7) { animation-delay: 0.35s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* dashboard-styles.css - Modern Dashboard Styles */

/* Dashboard Container */
.dashboard-container {
  padding: 24px;
  background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fa 100%);
  min-height: 100vh;
}

/* Dashboard Card */
.dashboard-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Sidebar Menu */
.dashboard-sidebar {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  height: 100%;
}

.sidebar-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 24px 20px;
  text-align: center;
  border-bottom: none;
}

.sidebar-header h4 {
  margin: 0;
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.sidebar-header i {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

/* Menu Modern */
.menu-modern {
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

.menu-modern li {
  margin: 0;
  padding: 0;
}

.menu-modern li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: #4a5568;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.menu-modern li a i {
  width: 20px;
  font-size: 16px;
  color: #a0aec0;
  transition: all 0.3s ease;
}

.menu-modern li a:hover {
  background: #f7fafc;
  color: #667eea;
  padding-left: 28px;
}

.menu-modern li a:hover i {
  color: #667eea;
}

.menu-modern li.active a {
  background: linear-gradient(90deg, #f0e6ff 0%, #ffffff 100%);
  color: #667eea;
  border-left-color: #667eea;
}

.menu-modern li.active a i {
  color: #667eea;
}

/* Mobile Menu */
.mobile-menu-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.mobile-menu-btn i {
  font-size: 18px;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: white;
  z-index: 1000;
  box-shadow: 2px 0 12px rgba(0,0,0,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-panel.show {
  transform: translateX(0);
}

.mobile-menu-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-header h4 {
  margin: 0;
  color: white;
  font-weight: 600;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.mobile-menu-close:hover {
  opacity: 1;
}

/* Content Area */
.dashboard-content {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  min-height: 500px;
}

.content-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px 28px;
  border-bottom: none;
}

.content-header h3 {
  margin: 0;
  color: white;
  font-weight: 600;
  font-size: 20px;
}

.content-header h3 i {
  margin-right: 10px;
}

.content-body {
  padding: 28px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.tab-pane {
  animation: slideInRight 0.3s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .dashboard-container {
    padding: 12px;
  }
  
  .dashboard-sidebar {
    margin-bottom: 16px;
  }
  
  .content-header {
    padding: 16px 20px;
  }
  
  .content-header h3 {
    font-size: 18px;
  }
  
  .content-body {
    padding: 20px;
  }
}

@media (min-width: 769px) {
  .dashboard-sidebar {
    position: sticky;
    top: 20px;
  }
}

/* Scrollbar Styling */
.mobile-menu-panel::-webkit-scrollbar {
  width: 4px;
}

.mobile-menu-panel::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.mobile-menu-panel::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 4px;
}


/* Login Page Specific */
.login-page {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-page .input-modern {
  height: 52px;
  font-size: 16px;
}

.login-page .form-group-modern label {
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
}

/* Optional: Glass effect pada form (bisa diaktifkan) */
.login-page .form-modern {
  /* background: rgba(255,255,255,0.95); */
  /* backdrop-filter: blur(12px); */
}

.horizontal-thumb.active {
  border: 2px solid #337ab7;
  opacity: 1;
}

.horizontal-thumb {
  opacity: 0.7;
  transition: all 0.3s ease;
}

.btn-primary.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.fa-spin {
  animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

.price-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

.selected-price {
  color: #337ab7;
  font-weight: bold;
  font-size: 18px;
}

.price-range {
  color: #337ab7;
  font-weight: bold;
  font-size: 18px;
}

.price-range small {
  font-size: 12px;
  font-weight: normal;
  color: #666;
}