* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  overflow: auto;
  background-color: #f8f9fa;
}

.login-container {
  height: 100vh;
  display: flex;
}

/* Left side with image */
.image-section {
  flex: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><rect fill="%23e8e3de" width="800" height="600"/><g opacity="0.3"><circle cx="200" cy="150" r="80" fill="%23d4cfc8"/><circle cx="600" cy="450" r="100" fill="%23d4cfc8"/><rect x="100" y="300" width="150" height="100" rx="10" fill="%23c8c3bc"/><rect x="500" y="200" width="120" height="80" rx="8" fill="%23c8c3bc"/></g></svg>')
      center/cover;
  background-color: #e8e3de;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1545173168-9f1947eebb7f?w=1920&q=80")
    center/cover;
  opacity: 1;
}

.laundry-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
}

.laundry-overlay h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.laundry-overlay p {
  font-size: 1.1rem;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Right side with form */
.form-section {
  flex: 1;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-form-container {
  width: 100%;
  max-width: 420px;
}

.washing-machine-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.washing-machine-icon i {
  font-size: 2.5rem;
  color: white;
}

.login-form-container h1 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: #6c757d;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-control {
  border: 1.5px solid #e1e8ed;
  border-radius: 10px;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
  background-color: white;
}

.input-group-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 10;
}

.form-group {
  position: relative;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.form-check {
  margin: 0;
}

.form-check-input {
  margin-top: 0.3rem;
  border-radius: 4px;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #667eea;
  border-color: #667eea;
}

.form-check-label {
  color: #6c757d;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.forgot-link {
  color: #007bff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.btn-login {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0, 123, 255, 0.4);
  color: white;
}

.btn-login:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1199px) {
  .laundry-overlay h2 {
    font-size: 2rem;
  }
}

@media (max-width: 991px) {
  .image-section {
    display: none;
  }

  .form-section {
    flex: 1;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  }

  .login-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 575px) {
  .form-section {
    padding: 1rem;
  }

  .login-form-container {
    padding: 2rem 1.5rem;
    max-width: 100%;
  }

  .login-form-container h1 {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 0.875rem;
  }

  .form-control {
    padding: 0.625rem 0.875rem 0.625rem 2.5rem;
    font-size: 0.875rem;
  }

  .btn-login {
    padding: 0.625rem;
    font-size: 0.9375rem;
  }

  .washing-machine-icon {
    width: 70px;
    height: 70px;
  }

  .washing-machine-icon i {
    font-size: 2rem;
  }
}

@media (max-width: 375px) {
  .login-form-container {
    padding: 1.5rem 1rem;
  }

  .login-form-container h1 {
    font-size: 1.375rem;
  }

  .remember-forgot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .forgot-link {
    align-self: flex-start;
  }
}

/* Loading spinner */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

/* Error message styling */
.error-message {
  display: none;
  background-color: #f8d7da;
  color: #721c24;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  border: 1px solid #f5c6cb;
}

.error-message.show {
  display: block;
  animation: shake 0.5s;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 250px;
  height: 100vh;
  background-color: #ffffff;
  border-right: 1px solid #e5e7eb;
  z-index: 1000;
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.sidebar-content {
  padding: 20px 0;
}

.sidebar-section {
  margin-bottom: 30px;
}

.section-title {
  padding: 0 20px;
  margin-bottom: 12px;
  color: #9ca3af;
  letter-spacing: 0.05em;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 4px;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.menu-item:hover {
  background-color: #f3f4f6;
  color: #1f2937;
}

.menu-item.active {
  background-color: #eff6ff;
  color: #2563eb;
}

.menu-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #2563eb;
}

.menu-icon {
  width: 20px;
  margin-right: 12px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-text {
  font-size: 14px;
  font-weight: 500;
}

/* Sidebar Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .sidebar {
    width: 220px;
  }

  .sidebar-title {
    font-size: 18px;
  }

  .menu-text {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    width: 250px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: block;
    opacity: 0;
    pointer-events: none;
  }

  .sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 480px) {
  .sidebar {
    width: 85%;
    max-width: 280px;
  }
}

/* Header Styles */
.main-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 250px;
  height: 70px;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 998;
  transition: left 0.3s ease;
}

.header-content {
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Left Section */
.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: #374151;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.menu-toggle:hover {
  background-color: #f3f4f6;
}

.page-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
}

.page-icon {
  font-size: 18px;
  color: #6b7280;
}

/* Right Section */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-btn {
  position: relative;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: #6b7280;
}

.header-btn:hover {
  background-color: #f3f4f6;
  color: #1f2937;
}

.notification-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background-color: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* User Profile */
.user-profile {
  position: relative;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.profile-btn:hover {
  background-color: #f3f4f6;
}

.profile-avatar {
  width: 36px;
  height: 36px;
  background-color: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.dropdown-icon {
  color: #6b7280;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.profile-btn.active .dropdown-icon {
  transform: rotate(180deg);
}

/* Profile Dropdown */
.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.profile-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 16px;
}

.user-info h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.user-info p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.dropdown-divider {
  height: 1px;
  background-color: #e5e7eb;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f9fafb;
}

.dropdown-item i {
  width: 16px;
  font-size: 14px;
  color: #6b7280;
}

.logout-item {
  color: #ef4444;
}

.logout-item i {
  color: #ef4444;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .main-header {
    left: 220px;
  }

  .page-title {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .main-header {
    left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .page-title span {
    display: none;
  }

  .header-content {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .page-icon {
    display: none;
  }

  .page-title {
    font-size: 16px;
  }

  .page-title span {
    display: block;
  }

  .profile-dropdown {
    width: 220px;
    right: -10px;
  }

  .header-btn {
    width: 36px;
    height: 36px;
  }

  .profile-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

/* Main Layout */
.content-wrapper {
  margin-left: 250px;
  margin-top: 70px;
  transition: margin-left 0.3s ease;
  min-height: calc(100vh - 70px);
  padding: 24px;
}

/* Stats Cards Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-card.unclaimed {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.stat-card.claimed {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.stat-card.unpaid {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.stat-card.income {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.stat-info {
  flex: 1;
}

.stat-label {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 4px;
  font-weight: 500;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.8);
}

.stat-icon i {
  opacity: 0.7;
}

.unclaimed .stat-icon {
  color: #0284c7;
}
.claimed .stat-icon {
  color: #ec4899;
}
.unpaid .stat-icon {
  color: #6366f1;
}
.income .stat-icon {
  color: #16a34a;
}

/* Transaction Section */
.section-container {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-title {
  font-size: 12px;
  font-weight: 300;
  color: #6b7280;
}

.filter-buttons {
  display: flex;
  gap: 8px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 8px;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #f9fafb;
}

.filter-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

/* Transaction Cards */
.transaction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.transaction-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  transition: transform 0.2s ease;
}

.transaction-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.qr-container {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  background: white;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transaction-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 52px;
  font-size: 13px;
}

.detail-label {
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-label i {
  width: 16px;
  font-size: 12px;
}

.detail-value {
  color: #1e293b;
  font-weight: 500;
}

.transaction-date {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Charts Section */
.charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.chart-container {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chart-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 20px;
}

.chart-canvas {
  max-height: 300px;
}

/* Monthly Income Chart */
.monthly-income-chart {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Legend */
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

/* Responsive Styles */
@media (max-width: 1400px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .content-wrapper {
    margin-left: 220px;
  }

  .charts-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    margin-left: 0;
    padding: 16px;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .filter-buttons {
    display: none;
  }

  .transaction-grid {
    grid-template-columns: 1fr;
  }

  .section-container {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .stat-card {
    padding: 16px;
  }

  .stat-value {
    font-size: 20px;
  }

  .transaction-card {
    padding: 16px;
  }

  .qr-container {
    width: 80px;
    height: 80px;
  }
}

/* Services style layout */
.content-wrapper {
  margin-left: 250px;
  margin-top: 70px;
  transition: margin-left 0.3s ease;
  min-height: calc(100vh - 70px);
  padding: 24px;
}

/* Welcome Section */
.service-welcome-section {
  padding: 24px;
  margin-bottom: 16px;
}

.service-welcome-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.service-welcome-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: #1f2937;
}

.service-date-display {
  font-size: 16px;
  color: #6b7280;
}

.service-welcome-text {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  max-width: 800px;
}

/* Form Container */
.service-form-container {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Form Grid */
.service-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.service-form-group {
  position: relative;
}

.service-form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.service-form-control {
  width: 100%;
  padding: 12px 16px;
  padding-right: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.2s ease;
  background-color: #f9fafb;
}

.service-form-control:focus {
  outline: none;
  border-color: #3b82f6;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.service-form-control::placeholder {
  color: #9ca3af;
}

/* Input Icons */
.service-input-icon {
  position: absolute;
  right: 16px;
  top: 70%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 16px;
  pointer-events: none;
}


/* Select Dropdown */
.service-form-select {
  width: 100%;
  padding: 10px 14px;
  padding-right: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.2s ease;
  background-color: #f9fafb;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 20px;
}

.service-form-select:focus {
  outline: none;
  border-color: #3b82f6;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Generate QR Button */
.service-generate-btn {
  display: block;
  margin: 40px auto 0;
  padding: 14px 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.25);
}

.service-generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.35);
}

.service-generate-btn:active {
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .content-wrapper {
    margin-left: 220px;
  }

  .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 900px) {
  .content-wrapper {
    margin-left: 0;
    padding: 16px;
  }

  .service-welcome-section {
    padding: 24px;
  }

  .service-welcome-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .service-welcome-title {
    font-size: 20px;
  }

  .service-date-display {
    font-size: 14px;
  }

  .service-form-container {
    padding: 24px 16px;
  }

  .service-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .welcome-section {
    padding: 20px;
    border-radius: 12px;
  }

  .welcome-title {
    font-size: 18px;
  }

  .welcome-text {
    font-size: 14px;
  }

  .form-control,
  .form-select {
    padding: 10px 14px;
    font-size: 14px;
  }

  .generate-btn {
    width: 100%;
    padding: 12px 32px;
    font-size: 15px;
  }
}

/* Status layout */
/* Main Layout */
.status-main-wrapper {
  margin-left: 250px;
  margin-top: 70px;
  transition: margin-left 0.3s ease;
  min-height: calc(100vh - 70px);
  padding: 24px;
}

/* Status Section Container */
.status-group-container {
  margin-bottom: 32px;
  position: relative;
}

/* Section Title */
.status-group-title {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 20px;
  padding-left: 4px;
}

/* Carousel Container */
.status-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 50px;
}

/* Cards Container */
.status-cards-viewport {
  overflow: hidden;
  margin: 0 auto;
}

.status-cards-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individual Status Card */
.status-item-card {
  min-width: 280px;
  width: 280px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.status-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: #d1d5db;
}

/* QR Code Container */
.status-qr-container {
  width: 100%;
  height: 130px;
  background: #f9fafb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid #f3f4f6;
}

/* Card Details */
.status-card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-info-line {
  display: flex;
  align-items: center;
  font-size: 13px;
}

.status-info-icon {
  width: 16px;
  margin-right: 8px;
  color: #6b7280;
  font-size: 12px;
}

.status-info-label {
  color: #6b7280;
  margin-right: 8px;
  min-width: 55px;
  font-size: 12px;
}

.status-info-text {
  color: #1f2937;
  font-weight: 500;
  font-size: 13px;
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.status-badge.pickup {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.processing {
  background: #dbeafe;
  color: #1e40af;
}

.status-badge.ready {
  background: #d1fae5;
  color: #065f46;
}

/* Payment Badge */
.payment-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.payment-badge.unpaid {
  background: #fee2e2;
  color: #991b1b;
}

.payment-badge.paid {
  background: #d1fae5;
  color: #065f46;
}

.payment-badge.partial {
  background: #fed7aa;
  color: #92400e;
}

/* Date Display */
.status-date-info {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #6b7280;
}

.status-date-info i {
  margin-right: 6px;
  font-size: 11px;
}

/* Navigation Buttons */
.status-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-nav-btn:hover:not(:disabled) {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
  transform: translateY(-50%) scale(1.1);
}

.status-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.status-nav-btn.prev {
  left: 0;
}

.status-nav-btn.next {
  right: 0;
}

/* Dots Indicator */
.status-dots-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  transition: all 0.3s ease;
  cursor: pointer;
}

.status-dot.active {
  background: #3b82f6;
  width: 24px;
  border-radius: 4px;
}

.status-item-card {
  animation: statusFadeIn 0.4s ease forwards;
}

/* Responsive Styles */
@media (max-width: 1400px) {
  .status-item-card {
    min-width: 260px;
    width: 260px;
  }
}

@media (max-width: 1024px) {
  .status-main-wrapper {
    margin-left: 220px;
  }
}

@media (max-width: 900px) {
  .status-main-wrapper {
    margin-left: 0;
    padding: 16px;
  }

  .status-carousel-wrapper {
    padding: 0 40px;
  }

  .status-item-card {
    min-width: 240px;
    width: 240px;
  }
}

@media (max-width: 480px) {
  .status-item-card {
    min-width: calc(100vw - 112px);
    width: calc(100vw - 112px);
  }

  .status-group-title {
    font-size: 18px;
  }

  .status-nav-btn {
    width: 35px;
    height: 35px;
  }
}

/* history layout */
/* Main Layout */
.history-main-wrapper {
  margin-left: 250px;
  margin-top: 70px;
  transition: margin-left 0.3s ease;
  min-height: calc(100vh - 70px);
  padding: 24px;
}

/* History Container */
.history-container {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Filter Section */
.history-filter-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.history-date-picker {
  position: relative;
  min-width: 160px;
}

.history-date-input {
  width: 100%;
  padding: 10px 40px 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.history-date-input:hover {
  border-color: #d1d5db;
}

.history-date-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.history-dropdown-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
  font-size: 12px;
}

.history-filter-btn {
  padding: 10px 24px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.history-filter-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.history-search-box {
  margin-left: auto;
  position: relative;
  min-width: 280px;
}

.history-search-input {
  width: 100%;
  padding: 10px 40px 10px 40px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  background: white;
  transition: all 0.2s ease;
}

.history-search-input::placeholder {
  color: #9ca3af;
}

.history-search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.history-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 14px;
}

/* Table Styles */
.history-table-wrapper {
  overflow-x: auto;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table thead {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.history-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.history-table tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.2s ease;
}

.history-table tbody tr:hover {
  background: #f9fafb;
}

.history-table tbody td {
  padding: 16px;
  font-size: 14px;
  color: #374151;
  vertical-align: middle;
}

/* QR Code Cell */
.history-qr-cell {
  width: 60px;
}

.history-qr-box {
  width: 50px;
  height: 50px;
  background: #f3f4f6;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Customer Cell */
.history-customer-name {
  font-weight: 500;
  color: #1f2937;
}

/* Weight Cell */
.history-weight {
  color: #374151;
}

/* Status Badge */
.history-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.history-status-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.history-status-badge.pickup {
  background: #fed7aa;
  color: #9a3412;
}

.history-status-badge.claimed {
  background: #d1fae5;
  color: #065f46;
}

.history-status-badge.processing {
  background: #dbeafe;
  color: #1e40af;
}

/* Payment Badge */
.history-payment-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.history-payment-badge.paid {
  background: #d1fae5;
  color: #065f46;
}

.history-payment-badge.unpaid {
  background: #fee2e2;
  color: #991b1b;
}

.history-payment-badge.partial {
  background: #fed7aa;
  color: #92400e;
}

/* Amount Cell */
.history-amount {
  font-weight: 600;
  color: #1f2937;
}

/* Action Buttons */
.history-actions {
  display: flex;
  gap: 8px;
}

.history-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.history-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.history-action-btn.edit {
  background: #3b82f6;
  color: white;
}

.history-action-btn.edit:hover {
  background: #2563eb;
}

.history-action-btn.print {
  background: #f59e0b;
  color: white;
}

.history-action-btn.print:hover {
  background: #d97706;
}

.history-action-btn.delete {
  background: #ef4444;
  color: white;
}

.history-action-btn.delete:hover {
  background: #dc2626;
}

/* Empty State */
.history-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

.history-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.history-empty-text {
  font-size: 16px;
  margin-bottom: 8px;
}

.history-empty-subtext {
  font-size: 14px;
  color: #9ca3af;
}

/* Pagination */
.history-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  gap: 8px;
}

.history-page-btn {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 6px;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.history-page-btn:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.history-page-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.history-page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1024px) {
  .history-main-wrapper {
    margin-left: 220px;
  }
}

@media (max-width: 900px) {
  .history-main-wrapper {
    margin-left: 0;
    padding: 16px;
  }

  .history-filter-section {
    flex-direction: column;
    align-items: stretch;
  }

  .history-search-box {
    margin-left: 0;
    width: 100%;
  }

  .history-table {
    font-size: 13px;
  }

  .history-table thead th {
    padding: 10px 8px;
    font-size: 11px;
  }

  .history-table tbody td {
    padding: 12px 8px;
  }
}

@media (max-width: 480px) {
  .history-container {
    padding: 16px;
  }

  .history-action-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .history-actions {
    gap: 4px;
  }
}
