/* Dashboard Layout */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  z-index: 100;
  transition: var(--transition);
}

.sidebar-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.sidebar-title {
  font-weight: 600;
  display: block;
  font-size: 0.9rem;
}

.sidebar-subtitle {
  font-size: 0.8rem;
  color: var(--gray-color);
}

.sidebar-toggle {
  background: none;
  border: none;
  color: var(--gray-color);
  cursor: pointer;
  font-size: 1.2rem;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--gray-dark);
  transition: var(--transition);
  font-size: 0.9rem;
  text-decoration: none;
}

.sidebar-link i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.sidebar-link:hover,
.sidebar-link.active {
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
}

.sidebar-link.active {
  font-weight: 600;
}

/* Sidebar Section Styles */
.sidebar-section {
  margin-bottom: 5px;
}

.sidebar-section-header {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--gray-dark);
  font-size: 0.9rem;
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.03);
  border-left: 3px solid var(--primary-color);
}

.sidebar-section-header i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.sidebar-section-links {
  padding: 5px 0;
}

.sidebar-sublink {
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 50px;
  color: var(--gray-dark);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-sublink i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
  font-size: 0.8rem;
}

.sidebar-sublink:hover,
.sidebar-sublink.active {
  color: var(--primary-color);
  background-color: rgba(67, 97, 238, 0.05);
}

.sidebar-sublink.active {
  font-weight: 600;
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.sidebar-logout {
  display: flex;
  align-items: center;
  color: var(--gray-dark);
  font-size: 0.9rem;
  text-decoration: none;
}

.sidebar-logout i {
  margin-right: 10px;
}

.sidebar-logout:hover {
  color: var(--danger-color);
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 260px;
  padding: 20px;
  transition: var(--transition);
}

/* Page Header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.page-header h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

.header-actions {
  display: flex;
  gap: 10px;
}

/* Service Details Card */
.service-details-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.service-details-header {
  display: flex;
  padding: 0;
  border-bottom: 1px solid var(--border-color);
}

.service-image-container {
  width: 300px;
  height: 250px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-icon {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
}

.service-info-container {
  padding: 20px;
  flex: 1;
  position: relative;
}

.service-status-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.badge-active {
  background-color: #10b981;
  color: white;
}

.badge-inactive {
  background-color: #6b7280;
  color: white;
}

.badge-scheduled {
  background-color: #f59e0b;
  color: white;
}

.service-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  padding-right: 80px;
}

.service-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.service-meta-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.service-meta-item i {
  width: 20px;
  margin-right: 8px;
  color: var(--primary-color);
}

.service-details-body {
  padding: 0;
}

.service-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--light-color);
}

.service-tab {
  padding: 15px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-dark);
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.service-tab:hover {
  color: var(--primary-color);
}

.service-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background-color: var(--white);
}

.service-tab-content {
  padding: 20px;
  display: none;
}

.service-tab-content.active {
  display: block;
}

.service-tab-content h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--gray-dark);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.service-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: var(--success-color);
  margin-right: 10px;
}

.service-gallery {
  margin-top: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  height: 150px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Offers Tab */
.offers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.offers-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.offer-card {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.offer-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.offer-card-header {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.offer-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.offer-card-header h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  padding-right: 70px;
}

.offer-dates {
  font-size: 0.85rem;
  color: var(--gray-color);
  margin: 0;
}

.offer-card-body {
  padding: 15px;
  display: flex;
  gap: 15px;
  border-bottom: 1px solid var(--border-color);
}

.offer-discount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
}

.discount-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.discount-label {
  font-size: 0.8rem;
  font-weight: 500;
}

.offer-details {
  flex: 1;
}

.offer-details p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.offer-code {
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--light-color);
  border-radius: 4px;
  font-size: 0.85rem;
}

.offer-card-footer {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.offer-stats {
  display: flex;
  gap: 15px;
}

.offer-stat {
  font-size: 0.85rem;
}

.stat-label {
  color: var(--gray-color);
  margin-right: 5px;
}

.offer-actions {
  display: flex;
  gap: 5px;
}

/* Reviews Tab */
.reviews-summary {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.rating-overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 150px;
}

.rating-big {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.rating-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.rating-count {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.rating-breakdown {
  flex: 1;
}

.rating-bar {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.rating-label {
  width: 60px;
  font-size: 0.85rem;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background-color: var(--light-color);
  border-radius: 4px;
  margin: 0 10px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background-color: #f59e0b;
}

.rating-percent {
  width: 40px;
  font-size: 0.85rem;
  text-align: right;
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dashboard-header h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

.dashboard-tabs {
  display: flex;
  align-items: center;
}

.tab-list {
  display: flex;
  background-color: var(--light-color);
  border-radius: 8px;
  padding: 4px;
}

.tab-item {
  padding: 8px 16px;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.tab-item.active {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.stat-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
}

.stat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.stat-card-header h3 {
  font-size: 0.9rem;
  color: var(--gray-color);
  font-weight: 500;
}

.stat-card-header i {
  color: var(--gray-color);
  font-size: 1.2rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.stat-change {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

.stat-change.positive {
  color: var(--success-color);
}

.stat-change.negative {
  color: var(--danger-color);
}

/* Charts Grid */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.chart-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
}

.chart-card-header {
  margin-bottom: 15px;
}

.chart-card-header h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.chart-card-header p {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.chart-card-content {
  height: 300px;
}

/* Activity Card */
.activity-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
}

.activity-card-header {
  margin-bottom: 20px;
}

.activity-card-header h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.activity-card-header p {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.activity-item {
  display: flex;
  gap: 15px;
}

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-details h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.activity-details p {
  font-size: 0.85rem;
  color: var(--gray-dark);
  margin-bottom: 5px;
}

.activity-time {
  font-size: 0.8rem;
  color: var(--gray-color);
}

/* Page Header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.page-header h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

.header-actions {
  display: flex;
  gap: 10px;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
  background-color: #fff;
}

.search-box i {
  margin-right: 8px;
  color: #888;
}

.search-box input[type="search"] {
  border: none;
  outline: none;
  width: 200px;
}

.filter-options select {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #fff;
}
.btn-filter {
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-filter:hover {
  background-color: #0056b3;
}

.btn-filter i {
  margin-right: 6px;
}

/* Table Styles */
.table-container {
  overflow-x: auto;
  margin-bottom: 20px;
}

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

.data-table th,
.data-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  font-weight: 600;
  background-color: var(--light-color);
  color: var(--gray-dark);
  font-size: 0.9rem;
}

.data-table tbody tr:hover {
  background-color: rgba(67, 97, 238, 0.05);
}

.service-info,
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-image,
.user-image {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image img,
.user-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-name,
.user-name {
  font-weight: 500;
  margin-bottom: 3px;
}

.service-description,
.user-email {
  font-size: 0.8rem;
  color: var(--gray-color);
}

.action-buttons {
  display: flex;
  gap: 5px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.pagination-info {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.pagination-controls {
  display: flex;
  gap: 5px;
}

.pagination-btn {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.pagination-btn:hover {
  background-color: var(--light-color);
}

.pagination-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.col-span-2 {
  grid-column: span 2;
}

.form-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.form-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  background-color: var(--input-bg);
  color: var(--text-color);
  font-size: 0.875rem;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.flex-1 {
  flex: 1;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* File Upload */
.file-upload {
  position: relative;
  margin-bottom: 1rem;
}

.file-upload input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px dashed var(--border-color);
  border-radius: 0.375rem;
  background-color: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-upload-label:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.file-upload-label i {
  font-size: 1.25rem;
}

.file-list {
  margin-top: 0.5rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background-color: var(--bg-light);
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

.file-item i {
  color: var(--primary-color);
}

.file-size {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.file-remove {
  color: var(--danger-color);
}

/* Logo Upload */
.logo-upload {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.current-logo {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  border-radius: 0.375rem;
  overflow: hidden;
}

.current-logo.favicon {
  width: 48px;
  height: 48px;
}

.current-logo img {
  max-width: 100%;
  max-height: 100%;
}

/* Color Picker */
.color-picker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.color-picker input[type="color"] {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  cursor: pointer;
}

.color-picker .color-value {
  width: 100px;
  padding: 0.5rem;
  font-family: monospace;
}

/* Input Group */
.input-group {
  display: flex;
  align-items: stretch;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: 0.375rem 0 0 0.375rem;
  color: var(--text-muted);
}

.input-group input {
  border-radius: 0 0.375rem 0.375rem 0;
}

/* Settings Tabs */
.settings-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.settings-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.settings-tab:hover {
  background-color: var(--bg-light);
}

.settings-tab.active {
  background-color: var(--primary-color);
  color: white;
}

.settings-tab i {
  font-size: 1rem;
}

/* Payment Gateway Cards */
.payment-gateway-card {
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.payment-gateway-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.payment-gateway-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 0.25rem;
  margin-right: 1rem;
}

.payment-gateway-logo i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.payment-gateway-info {
  flex: 1;
}

.payment-gateway-info h4 {
  margin: 0;
  font-size: 1rem;
}

.payment-gateway-info p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.payment-gateway-toggle {
  margin-left: 1rem;
}

.payment-gateway-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem;
}

/* Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #2ecc71;
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  animation: fadeOut 4s forwards;
}
.toast-error {
  background: #e74c3c;
}
.toast-success {
  background: #2ecc71;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Notification Settings */
.notification-setting {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.notification-setting:last-child {
  border-bottom: none;
}

.notification-info {
  flex: 1;
}

.notification-info h4 {
  margin: 0;
  font-size: 1rem;
}

.notification-info p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.notification-toggle {
  margin-left: 1rem;
}

/* Badge Colors */
.badge-pending {
  background-color: #f59e0b;
  color: white;
}

.badge-accepted {
  background-color: #10b981;
  color: white;
}

.badge-info {
  background-color: #2f07e0;
  color: white;
}

.badge-secondary {
  background-color: #9c9c9c;
  color: white;
}

.badge-rejected {
  background-color: #ef4444;
  color: white;
}

.badge-primary {
  background-color: #0c9df1;
  color: white;
}

.badge-completed {
  background-color: #6366f1;
  color: white;
}
.badge-success {
  background-color: #046b1e;
  color: white;
}

/* Responsive Sidebar */
@media (max-width: 992px) {
  .sidebar {
    width: 70px;
  }

  .sidebar-title,
  .sidebar-subtitle,
  .sidebar-link span,
  .sidebar-logout span,
  .sidebar-section-header span {
    display: none;
  }

  .sidebar-section-header {
    justify-content: center;
    padding: 12px 10px;
  }

  .sidebar-section-header i {
    margin-right: 0;
  }

  .sidebar-sublink {
    padding: 10px;
    justify-content: center;
  }

  .sidebar-sublink i {
    margin-right: 0;
  }

  .sidebar-sublink span {
    display: none;
  }

  .main-content {
    margin-left: 70px;
  }

  .charts-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .service-details-header {
    flex-direction: column;
  }

  .service-image-container {
    width: 100%;
    height: 200px;
  }

  .offers-list {
    grid-template-columns: 1fr;
  }

  .reviews-summary {
    flex-direction: column;
  }
}

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

  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-box {
    max-width: 100%;
  }

  .filter-options {
    width: 100%;
  }

  .service-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .sidebar {
    width: 0;
    transform: translateX(-100%);
  }

  .sidebar.active {
    width: 260px;
    transform: translateX(0);
  }

  .sidebar.active .sidebar-title,
  .sidebar.active .sidebar-subtitle,
  .sidebar.active .sidebar-link span,
  .sidebar.active .sidebar-logout span,
  .sidebar.active .sidebar-section-header span,
  .sidebar.active .sidebar-sublink span {
    display: block;
  }

  .sidebar.active .sidebar-section-header {
    justify-content: flex-start;
    padding: 12px 20px;
  }

  .sidebar.active .sidebar-section-header i {
    margin-right: 10px;
  }

  .sidebar.active .sidebar-sublink {
    padding: 10px 20px 10px 50px;
    justify-content: flex-start;
  }

  .sidebar.active .sidebar-sublink i {
    margin-right: 10px;
  }

  .main-content {
    margin-left: 0;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1;
    text-align: center;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions button {
    width: 100%;
  }

  .service-tabs {
    flex-wrap: wrap;
  }

  .service-tab {
    flex: 1;
    min-width: 50%;
    text-align: center;
    padding: 10px;
  }
}
