/* ============================================
   SPINV - Stone Pavilion Inventory System
   Modern Accountant Dashboard CSS
   ============================================ */

/* ========== GLOBAL RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  height: 100vh;
  color: #333;
  background-color: #ecf0f1;
  overflow: hidden;
}

/* ========== SIDEBAR STYLES ========== */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 25px 20px;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: all 0.3s ease;
}

/* Profile Section */
.profile {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.profile:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.profile-img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.profile-info {
  margin-left: 12px;
  flex: 1;
}

.profile-name {
  font-weight: 600;
  font-size: 1.05em;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.logout {
  color: #ff6b6b;
  font-size: 0.85em;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.logout:hover {
  color: #ff5252;
  text-decoration: underline;
}

/* Sidebar Navigation */
nav {
  margin-top: 10px;
  flex: 1;
}

nav a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #ecf0f1;
  text-decoration: none;
  margin-bottom: 8px;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #3498db;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

nav a:hover {
  background: rgba(52, 152, 219, 0.15);
  padding-left: 20px;
  color: #fff;
}

nav a:hover::before {
  transform: scaleY(1);
}

nav a.active {
  background: rgba(52, 152, 219, 0.2);
  color: #fff;
  font-weight: 600;
}

/* ========== MAIN CONTENT AREA ========== */
.main {
  flex: 1;
  background-color: #ecf0f1;
  padding: 30px;
  overflow-y: auto;
  position: relative;
}

.main::-webkit-scrollbar {
  width: 8px;
}

.main::-webkit-scrollbar-track {
  background: #dfe6e9;
}

.main::-webkit-scrollbar-thumb {
  background: #95a5a6;
  border-radius: 4px;
}

.main::-webkit-scrollbar-thumb:hover {
  background: #7f8c8d;
}

/* Center Content (for forms like user management) */
.umMain {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ecf0f1;
  padding: 20px;
}

/* ========== HEADER SECTION ========== */
.header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.header-title {
  font-size: 26px;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 0.5px;
}

.back-icon {
  background-color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  margin-right: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-weight: 600;
}

.back-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #f8f9fa;
}

/* Header Top Section */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 15px;
  flex-wrap: wrap;
}

/* ========== CARDS & METRICS ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.card {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: none;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin: 0 0 12px 0;
  font-size: 0.95em;
  color: #7f8c8d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card p {
  font-size: 1.8em;
  margin: 0;
  font-weight: 700;
  color: #2c3e50;
}

/* Detail Cards */
.marble-details,
.agent-details,
.request-details {
  flex: 1;
  min-width: 250px;
  border: none;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.marble-details:hover,
.agent-details:hover,
.request-details:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.marble-details h3,
.agent-details h3,
.request-details h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2em;
  color: #2c3e50;
  font-weight: 700;
  border-bottom: 2px solid #3498db;
  padding-bottom: 8px;
}

/* Metrics Section */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

/* ========== TABLE STYLES ========== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid #ecf0f1;
  font-size: 0.9em;
  text-align: left;
}

th {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85em;
}

.thc {
  background-color: #243a51;
  width: 100px;
}

tr {
  transition: all 0.2s ease;
}

tr:nth-child(even) {
  background-color: #f8f9fa;
}

tr:hover {
  background-color: #e3f2fd;
  transform: scale(1.01);
}

td {
  color: #555;
}

/* ========== BUTTONS ========== */
.btn {
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:active {
  transform: scale(0.96);
}

/* Button Variants */
.btn-main {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  border: 2px solid transparent;
}

.btn-main:hover {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.btn-primary {
  background: #000;
  color: #fff;
  border-radius: 8px;
}

.btn-primary:hover {
  background: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background-color: white;
  color: #2c3e50;
  border: 2px solid #34495e;
}

.btn-secondary:hover {
  background-color: #34495e;
  color: #fff;
  border-color: #34495e;
}

.add-btn {
  padding: 11px 18px;
  border: 2px solid #000;
  color: #000;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.add-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Colored Buttons */
.btn-red {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
  border: none;
}

.btn-red:hover {
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.btn-yellow {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: #fff;
  border: none;
}

.btn-yellow:hover {
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.btn-green {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: #fff;
  border: none;
}

.btn-green:hover {
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

/* ========== STATUS BADGES ========== */
.status {
  width: 85px;
  height: 28px;
  border-radius: 20px;
  font-size: 13px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.status-yellow,
.status-on-going {
  background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
  color: #000;
}

.status-red,
.status-cancel {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.status-green,
.status-completed {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

/* ========== SEARCH BOX ========== */
.search-box {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-box input {
  padding: 10px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  width: 240px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.search-box input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-box button {
  padding: 10px 20px;
  border: none;
  background: #3498db;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-box button:hover {
  background: #2980b9;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Actions Row */
.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

/* ========== PRODUCT CARD ========== */
.product-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-width: 1800px;
  margin: auto;
}

.card-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 25px;
}

.product-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* Image Section */
.image-section {
  flex: 1 1 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
}

.image-section img {
  width: 100%;
  max-width: 300px;
  height: 250px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.image-section img:hover {
  transform: scale(1.05);
}

/* Table Section */
.table-section {
  flex: 2 1 350px;
}

/* ========== INPUT FIELDS ========== */
.input-product {
  width: 100%;
  padding: 8px 4px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 14px;
  border-bottom: 2px solid #ddd;
  transition: all 0.3s ease;
}

.input-product:focus {
  outline: none;
  border-bottom-color: #3498db;
  background: rgba(52, 152, 219, 0.05);
}

.input-um {
  width: 100%;
  height: 24px;
  padding: 8px 4px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 14px;
  border-bottom: 2px solid #ddd;
  transition: all 0.3s ease;
}

.input-um:focus {
  outline: none;
  border-bottom-color: #3498db;
  background: rgba(52, 152, 219, 0.05);
}

/* ========== USER MANAGEMENT FORM ========== */
.mform {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ecf0f1;
  padding: 20px;
}

.user-management {
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: flex-start;
  max-width: 750px;
  width: 100%;
  gap: 25px;
}

.profile-box {
  width: 40%;
  min-height: 250px;
  background: #f8f9fa;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px dashed #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.profile-box:hover {
  background: #e9ecef;
  border-color: #3498db;
  transform: scale(1.02);
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Form Section */
.form {
  flex: 1;
}

.form h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: 700;
  font-size: 1.5em;
}

.form label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 5px;
}

.lbl {
  padding-top: 10px;
  padding-bottom: 5px;
}

/* Form Buttons */
.buttons {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

.btn-umContainer {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}

.cancel {
  color: #e74c3c;
  font-size: 0.95em;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  padding: 10px 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  border-radius: 6px;
}

.cancel:hover {
  background: rgba(231, 76, 60, 0.1);
  color: #c0392b;
}

/* ========== UTILITY CLASSES ========== */
.SContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

/* Action Icons */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #34495e;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.icon:hover {
  background-color: #2c3e50;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .sidebar {
    width: 220px;
  }

  .main {
    padding: 20px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .product-details {
    flex-direction: column;
  }

  .user-management {
    flex-direction: column;
  }

  .profile-box {
    width: 100%;
  }

  .header-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .sidebar {
    width: 200px;
    padding: 20px 15px;
  }

  .main {
    padding: 15px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  table {
    font-size: 0.85em;
  }

  th,
  td {
    padding: 10px 8px;
  }
}

/* ========== DASHBOARD PAGE SPECIFIC STYLES ========== */

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.header-subtitle {
  margin-top: 5px;
  opacity: 0.9;
  font-size: 14px;
}

.dashboard-date {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.date-icon {
  font-size: 18px;
}

/* Alert Messages */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border-left: 4px solid #28a745;
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  border-left: 4px solid #dc3545;
}

.alert-icon {
  font-size: 20px;
}

/* Enhanced Stats Cards */
.card-budget {
  border-top: 4px solid #e74c3c;
}

.card-balance {
  border-top: 4px solid #3498db;
}

.card-profit {
  border-top: 4px solid #2ecc71;
}

.card-pending {
  border-top: 4px solid #f39c12;
}

.card-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.card-content {
  flex: 1;
}

.card-label {
  font-size: 13px;
  color: #7f8c8d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-weight: 600;
}

.card-value {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
}

.text-success {
  color: #27ae60 !important;
}

.text-danger {
  color: #e74c3c !important;
}

/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.section-subtitle {
  font-size: 14px;
  color: #7f8c8d;
  margin-top: 4px;
}

/* Request Row Styling */
.request-row:hover {
  background-color: #fff5e6 !important;
}

.request-id strong {
  color: #e67e22;
  font-family: 'Courier New', monospace;
}

/* Badge Variants */
.badge-edit {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #fff;
}

.badge-add {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: #fff;
}

/* Action Buttons for Dashboard */
.btn-approve {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: #fff;
}

.btn-approve:hover {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.btn-reject {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
}

.btn-reject:hover {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
}

/* Quick Actions Section */
.quick-actions {
  margin-top: 30px;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.action-card {
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: #3498db;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.action-card-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.action-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
}

.action-card-desc {
  font-size: 13px;
  color: #7f8c8d;
}

/* Marble Type Summary */
.marble-summary {
  margin-bottom: 30px;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.marble-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.marble-card {
  padding: 18px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  border-left: 4px solid #3498db;
  transition: all 0.3s ease;
}

.marble-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-left-color: #2980b9;
}

.marble-info {
  margin-bottom: 10px;
}

.marble-code {
  font-size: 12px;
  color: #7f8c8d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.marble-name {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  margin-top: 4px;
}

.marble-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #dee2e6;
}

.marble-count,
.marble-qty {
  font-size: 13px;
  color: #555;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 22px;
}

.modal-content label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.modal-content textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.modal-content textarea:focus {
  outline: none;
  border-color: #3498db;
}

/* ========== PRODUCT PAGE SPECIFIC STYLES ========== */

/* Product Controls Section */
.product-controls {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid #ddd;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  border-color: #3498db;
  color: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
}

.tab-btn.active {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-color: #2c3e50;
  color: #fff;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.tab-icon {
  font-size: 1.1em;
}

/* Action Controls */
.action-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Enhanced Search Box */
.search-box {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 350px;
}

.search-box:focus-within {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-box input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
}

.btn-search {
  padding: 12px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}

.btn-search:hover {
  background: rgba(52, 152, 219, 0.1);
}

/* Add Product Button */
.btn-add {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.btn-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(44, 62, 80, 0.3);
}

.add-icon {
  font-size: 18px;
  font-weight: bold;
}

/* Table Container */
.table-container {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Enhanced Table Styles */
.product-row {
  transition: all 0.2s ease;
}

.product-row:hover {
  background-color: #f0f8ff !important;
  transform: scale(1.005);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-id strong {
  color: #2c3e50;
  font-family: 'Courier New', monospace;
}

.product-desc {
  max-width: 300px;
  color: #555;
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-finish {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

/* Action Cell */
.action-cell {
  text-align: center;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Action Buttons */
.btn-action {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-view {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #fff;
}

.btn-view:hover {
  background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

.btn-out {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: #fff;
}

.btn-out:hover {
  background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

.btn-delete {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
}

.btn-delete:hover {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px !important;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 15px;
  opacity: 0.5;
}

.empty-text {
  font-size: 18px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}

.empty-subtext {
  font-size: 14px;
  color: #999;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

/* Responsive Product Page */
@media (max-width: 768px) {
  .category-tabs {
    flex-direction: column;
  }
  
  .tab-btn {
    width: 100%;
    justify-content: center;
  }
  
  .action-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box {
    max-width: 100%;
  }
  
  .btn-add {
    width: 100%;
    justify-content: center;
  }
  
  .table-container {
    overflow-x: auto;
  }
  
  table {
    min-width: 800px;
  }
}

/* ========== ADD METHOD MODAL STYLES ========== */

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* Modal Container */
.modal-container {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

/* Modal Header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
}

.modal-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  color: #6c757d;
}

.modal-close:hover {
  background: #e9ecef;
  color: #2c3e50;
}

/* Modal Body */
.modal-body {
  padding: 32px 28px;
  overflow-y: auto;
  max-height: calc(90vh - 180px);
}

.modal-description {
  text-align: center;
  color: #6c757d;
  margin-bottom: 32px;
  font-size: 15px;
}

/* Method Options */
.method-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.method-card {
  padding: 28px 24px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: #fff;
}

.method-card:hover {
  border-color: #3498db;
  background: #f8f9ff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(52, 152, 219, 0.15);
}

.method-icon {
  margin: 0 auto 16px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #2c3e50;
  transition: all 0.3s ease;
}

.method-card:hover .method-icon {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #fff;
}

.method-card h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
}

.method-card p {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #6c757d;
  line-height: 1.5;
}

.method-badge {
  display: inline-block;
  padding: 5px 14px;
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.method-badge-alt {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

/* Modal Footer */
.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
  display: flex;
  justify-content: center;
}

.download-template {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  color: #2c3e50;
  text-decoration: none;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.download-template:hover {
  background: #2c3e50;
  color: #fff;
  border-color: #2c3e50;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

/* Export Button Styling */
.btn-export {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #fff;
  color: #2c3e50;
  border: 2px solid #2c3e50;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-export:hover {
  background: #2c3e50;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-container {
    width: 95%;
    margin: 20px;
  }
  
  .method-options {
    grid-template-columns: 1fr;
  }
  
  .modal-header {
    padding: 20px;
  }
  
  .modal-body {
    padding: 24px 20px;
  }
  
  .modal-footer {
    padding: 16px 20px;
  }
}

/* ========== REQUEST DETAIL PAGE STYLES ========== */

/* Detail Grid Layout */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Detail Card */
.detail-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.detail-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Detail Card Header */
.detail-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #dee2e6;
}

.detail-card-header svg {
  color: #2c3e50;
  flex-shrink: 0;
}

.detail-card-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
}

/* Detail Card Body */
.detail-card-body {
  padding: 20px;
}

/* Detail Row */
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f1f3f5;
  gap: 15px;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: #6c757d;
  font-size: 14px;
  flex-shrink: 0;
  min-width: 120px;
}

.detail-value {
  color: #2c3e50;
  font-size: 14px;
  text-align: right;
  word-break: break-word;
}

/* Highlight Row (for important values) */
.highlight-row {
  background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%);
  margin: 0 -20px;
  padding: 15px 20px;
  border-bottom: none;
  border-radius: 8px;
}

.highlight-value {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
}

/* Image Preview Section */
.image-preview-section {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.image-preview-section h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
}

.image-preview-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  min-height: 300px;
}

.product-preview-image {
  max-width: 100%;
  max-height: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

/* Action Section */
.action-section {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-section h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
}

.action-button-group {
  display: flex;
  gap: 12px;
}

.action-button-group form {
  flex: 2;
}

/* Large Action Buttons */
.btn-action-large {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 100%;
}

.btn-action-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-action-large:active {
  transform: translateY(-1px);
}

.btn-reject-large {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
  flex: 1;
}

.btn-reject-large:hover {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
}

.btn-approve-large {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: #fff;
}

.btn-approve-large:hover {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

/* Form Elements for Modal */
.form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 15px;
}

.form-textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: all 0.3s ease;
  min-height: 120px;
}

.form-textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-textarea::placeholder {
  color: #adb5bd;
}

/* Responsive Detail Page */
@media (max-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  
  .action-button-group {
    flex-direction: column;
  }
  
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .detail-label {
    min-width: auto;
  }
  
  .detail-value {
    text-align: left;
  }
  
  .highlight-row {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ========== PROFESSIONAL DASHBOARD STYLES ========== */

/* Professional Header */
.dashboard-header-pro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e9ecef;
}

.header-left {
  flex: 1;
}

.header-title-pro {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 6px 0;
  letter-spacing: -0.5px;
}

.header-subtitle-pro {
  font-size: 15px;
  color: #6c757d;
  margin: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.date-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
}

.date-display svg {
  color: #6c757d;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 16px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #dee2e6;
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.stat-card:hover::before {
  width: 6px;
}

.stat-primary::before { background: #3498db; }
.stat-secondary::before { background: #9b59b6; }
.stat-warning::before { background: #f39c12; }
.stat-info::before { background: #1abc9c; }

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-primary .stat-icon {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.stat-secondary .stat-icon {
  background: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.stat-warning .stat-icon {
  background: rgba(243, 156, 18, 0.1);
  color: #f39c12;
}

.stat-info .stat-icon {
  background: rgba(26, 188, 156, 0.1);
  color: #1abc9c;
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 26px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 6px;
  line-height: 1;
}

.stat-change {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}

.stat-change.positive {
  color: #27ae60;
}

.stat-change.negative {
  color: #e74c3c;
}

.stat-info {
  font-size: 13px;
  color: #95a5a6;
}

/* Section Container */
.section-container {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  border: 1px solid #e9ecef;
}

.section-header-clean {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 20px;
  flex-wrap: wrap;
}

.section-title-clean {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 4px 0;
}

.section-desc {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.btn-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: none;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-link:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
  color: #2c3e50;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.category-card {
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e9ecef;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  border-color: #3498db;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.1);
  transform: translateY(-2px);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.category-code {
  font-size: 13px;
  font-weight: 700;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-badge {
  padding: 4px 10px;
  background: #e9ecef;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #495057;
}

.category-name {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 16px;
}

.category-stats-row {
  display: flex;
  gap: 20px;
}

.category-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
}

.stat-text {
  font-size: 11px;
  color: #95a5a6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Search Box Clean */
.search-box-clean {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 280px;
}

.search-box-clean:focus-within {
  background: #fff;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-box-clean svg {
  color: #6c757d;
  flex-shrink: 0;
}

.search-box-clean input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  color: #2c3e50;
}

.search-box-clean input::placeholder {
  color: #adb5bd;
}

/* Data Table */
.table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.data-table thead th {
  padding: 16px;
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
  font-size: 13px;
  font-weight: 700;
  color: #495057;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table tbody .data-row {
  border-bottom: 1px solid #f1f3f5;
  transition: background 0.2s ease;
}

.data-table tbody .data-row:hover {
  background: #f8f9fa;
}

.data-table tbody td {
  padding: 16px;
  font-size: 14px;
}

.cell-id {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: #2c3e50;
}

.cell-text {
  color: #495057;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cell-number,
.cell-amount,
.cell-date {
  color: #495057;
  font-weight: 500;
}

.badge-type {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.cell-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Action Group */
.action-group {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.action-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-view {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.action-view:hover {
  background: #3498db;
  color: #fff;
}

.action-approve {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
}

.action-approve:hover {
  background: #27ae60;
  color: #fff;
}

.action-reject {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.action-reject:hover {
  background: #e74c3c;
  color: #fff;
}

/* Empty State */
.empty-state-row {
  text-align: center;
  padding: 48px 20px !important;
}

.empty-state-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-icon {
  color: #dee2e6;
  margin-bottom: 8px;
}

.empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #495057;
}

.empty-desc {
  font-size: 14px;
  color: #adb5bd;
}

/* Quick Access */
.quick-access {
  margin-top: 32px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.quick-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.quick-card:hover {
  border-color: #3498db;
  box-shadow: 0 4px 16px rgba(52, 152, 219, 0.1);
  transform: translateY(-3px);
}

.quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.quick-title {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 6px;
}

.quick-desc {
  font-size: 13px;
  color: #6c757d;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
  .dashboard-header-pro {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header-clean {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .search-box-clean {
    width: 100%;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-grid {
    grid-template-columns: 1fr;
  }
}
.header-right {
    display: flex;
    justify-content: center; /* Center button */
  }

  .header-right a {
    text-decoration: none !important; /* Remove underline */
    display: flex;
    align-items: center; /* Align icon + text nicely */
  }
  .btn-umContainer {
    margin-top: 30px;
    display: flex;
    justify-content: right;      /* Center items */
    align-items: center;
    gap: 15px;                    /* Jarak antara button */
  }

  .btn-umContainer .cancel {
    text-decoration: none !important;  /* Remove underline */
    padding: 10px 20px;
    border: 1px solid #6c757d;
    border-radius: 6px;
    color: #6c757d;
    transition: 0.2s;
  }

  .btn-umContainer .cancel:hover {
    background: #6c757d;
    color: white;
  }

  .btn-umContainer button {
    display: flex;
    align-items: center;
  }
  .empty-section {
    text-align: center; /* Center text + button */
  }
  .empty-section a.btn {
    text-decoration: none !important;   /* Remove underline */
    display: inline-flex;               /* Flex for icon + text */
    align-items: center;
    margin-top: 16px;
  }
