:root {
  --primary-gradient: linear-gradient(45deg, #004ff9, #000000);
  --secondary-color: #ff006e;
  --dark-color: #333;
  --light-color: #f8f8f8;
  --success-color: #4BB543; /* Green for open */
  --warning-color: #FFC107;
  --danger-color: #DC3545; /* Red for closed */
  --background-color: #ffffff;
  --background-alt: #f5f8ff;
  --text-color: #333333;
  --text-light: #666666;
  --text-muted: #888888;
  --border-color: #e0e0e0;
  --border-radius: 12px;
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

a {
  text-decoration: none;
  color: #004ff9;
  transition: var(--transition);
}

a:hover {
  color: #000000;
}

img {
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font-family: 'Poppins', sans-serif;
}

button {
  cursor: pointer;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 40px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  width: 30px;
  cursor: pointer;
}

.nav-toggle span {
  height: 3px;
  width: 100%;
  background: var(--primary-gradient);
  margin-bottom: 5px;
  border-radius: 3px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-item {
  margin-left: 30px;
  color: var(--text-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-item i {
  margin-right: 6px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--primary-gradient);
  transition: var(--transition);
}

.nav-item:hover::after {
  width: 100%;
}

/* Main Content */
.page-content {
  padding-top: 70px;
  min-height: calc(100vh - 70px - 200px);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 500px;
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  margin-bottom: 40px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  display: flex;
  align-items: center;
  padding: 20px 0;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-search {
  position: relative;
  max-width: 600px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.location-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.2rem;
  z-index: 1;
}

.hero-input {
  width: 100%;
  padding: 16px 20px 16px 45px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.hero-input:focus {
  outline: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0 25px;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

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

.hero-btn:hover {
  background: linear-gradient(45deg, #000000, #004ff9);
}

/* Radius Filter */
.radius-filter {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.radius-filter label {
  color: white;
  font-weight: 500;
}

.radius-options {
  display: flex;
  gap: 8px;
}

.radius-btn {
  padding: 8px 15px;
  background-color: var(--light-color);
  border: none;
  border-radius: 20px;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.radius-btn.active,
.radius-btn:hover {
  background: var(--primary-gradient);
  color: white;
}

/* Category Section */
.category-section {
  margin-bottom: 40px;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
}

.category-pill {
  padding: 8px 20px;
  background-color: var(--light-color);
  border-radius: 50px;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.category-pill:hover,
.category-pill.active {
  background: var(--primary-gradient);
  color: white;
}

/* Results Section */
.results-section {
  padding: 20px 0 60px;
  background-color: var(--background-alt);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--dark-color);
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  color: var(--text-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--secondary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.card-address,
.card-hours {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.card-address i,
.card-hours i {
  margin-right: 8px;
  margin-top: 3px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.9rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.rating {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.rating i {
  color: var(--warning-color);
  margin-right: 2px;
  font-size: 0.9rem;
}

.rating span {
  margin-left: 5px;
  font-weight: 600;
}

.view-details {
  font-size: 0.9rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.no-results {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.suggestion {
  color: var(--text-light);
}

/* Featured Section */
.featured-section {
  padding: 60px 0;
}

.featured-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scrollbar-width: none;
}

.featured-carousel::-webkit-scrollbar {
  display: none;
}

.featured-item {
  min-width: 300px;
  height: 200px;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

.featured-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.featured-tag {
  display: inline-block;
  background-color: var(--secondary-color);
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Detail Page */
.detail-page {
  padding-top: 70px;
  background-color: var(--background-alt);
  min-height: calc(100vh - 70px - 200px);
}

.back-navigation {
  position: fixed;
  left: 30px;
  top: 100px;
  z-index: 100;
}

.btn-back {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: white;
  border-radius: 50px;
  color: var(--text-color);
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.btn-back i {
  margin-right: 8px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-back:hover {
  background: var(--primary-gradient);
  color: white;
}

.btn-back:hover i {
  -webkit-text-fill-color: white;
}

.detail-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
}

.detail-gallery {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.main-image {
  height: 400px;
  overflow: hidden;
}

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

.secondary-images {
  padding: 15px;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  position: relative;
}

.detail-secondary {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.image-controls {
  position: absolute;
  top: 0;
  right: 15px;
  display: flex;
  gap: 10px;
}

.image-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: var(--shadow-sm);
  color: #004ff9;
}

.image-nav:hover {
  background: var(--primary-gradient);
  color: white;
}

.detail-info {
  flex: 1;
  min-width: 300px;
  padding: 30px;
}

.detail-header {
  margin-bottom: 25px;
}

.detail-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.detail-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.stars {
  display: flex;
  color: var(--warning-color);
  margin-right: 10px;
}

.rating-value {
  font-weight: 600;
  margin-right: 10px;
}

.review-count {
  color: var(--text-light);
  font-size: 0.9rem;
}

.info-section {
  margin-bottom: 30px;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}

.info-item {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  background-color: var(--light-color);
  padding: 15px;
  border-radius: 10px;
}

.info-item i {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.info-item p {
  margin-bottom: 10px;
}

.directions-link,
.call-button {
  align-self: flex-start;
  display: flex;
  align-items: center;
  padding: 8px 15px;
  background: var(--primary-gradient);
  color: white;
  font-weight: 500;
  background-color: white;
  border-radius: 5px;
  box-shadow: var(--shadow-sm);
  margin-top: auto;
}

.directions-link i,
.call-button i {
  margin-right: 8px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: auto;
}

.status.open {
  color: var(--success-color) !important; /* Green text */
}

.status.closed {
  color: var(--danger-color) !important; /* Red text */
}

.services-section {
  margin-bottom: 30px;
  max-height: 300px; /* Set a maximum height for the services section */
  overflow-y: auto; /* Enable vertical scrolling */
}

.services-grid {
  display: flex;
  flex-direction: column; /* Change to column layout for vertical stacking */
  gap: 15px;
}

.service-card {
  width: 100%; /* Make service cards full width */
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 8px;
  color: white;
  margin-right: 15px;
}

.service-details {
  flex: 1;
}

.service-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.service-description {
  font-size: 0.8rem;
  color: var(--text-light);
}

.service-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-tag {
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.book-btn {
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 500;
}

.book-btn:hover {
  background: linear-gradient(45deg, #000000, #004ff9);
}

.book-btn:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}

.booking-notice {
  background-color: var(--light-color);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.booking-notice i {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 10px;
}

.booking-notice p {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
}

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

.action-btn.primary {
  background: var(--primary-gradient);
  color: white;
  flex: 2;
}

.action-btn.primary:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}

.action-btn.secondary {
  background-color: var(--light-color);
  color: var(--text-color);
  flex: 1;
}

.action-btn.secondary:hover {
  background-color: var(--border-color);
}

.action-btn.favorite.active {
  color: var(--secondary-color);
}

.reviews-section {
  margin: 30px 0 60px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.write-review {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
}

.write-review i {
  margin-right: 8px;
}

.write-review:hover {
  background: linear-gradient(45deg, #000000, #004ff9);
}

.review-form {
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.review-form.hidden {
  display: none;
}

.review-form .form-group {
  margin-bottom: 15px;
}

.review-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.review-form .form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
}

.review-form .form-input:focus {
  outline: none;
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.1);
}

.review-form .form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-submit {
  background: var(--primary-gradient);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
}

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

.btn-submit:hover {
  background: linear-gradient(45deg, #000000, #004ff9);
}

.btn-cancel {
  background-color: var(--light-color);
  color: var(--text-color);
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
}

.btn-cancel:hover {
  background-color: var(--border-color);
}

.no-reviews {
  color: var(--text-light);
  font-style: italic;
}

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

.review-item {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.reviewer {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 12px;
}

.reviewer-name {
  font-weight: 600;
  margin-right: 10px;
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-rating {
  display: flex;
  color: var(--warning-color);
  margin-bottom: 10px;
}

.review-content p {
  color: var(--text-light);
}

/* Register Page */
.register-page {
  padding: 40px 0 80px;
  background-color: var(--background-alt);
}

.register-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 20px;
}

.register-header {
  padding: 30px;
  background: var(--primary-gradient);
  color: white;
  text-align: center;
}

.register-heading {
  font-size: 2rem;
  margin-bottom: 10px;
}

.register-subheading {
  opacity: 0.9;
}

.register-content {
  padding: 30px;
}

.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.form-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.progress-step {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-color);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
  transition: var(--transition);
}

.step-label {
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-light);
  transition: var(--transition);
}

.progress-step.active .step-number {
  background: var(--primary-gradient);
  border-color: #004ff9;
  color: white;
}

.progress-step.active .step-label {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.step-subtitle {
  color: var(--text-light);
  margin-bottom: 25px;
}

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

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group.half {
  width: 50%;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.1);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.input-group {
  display: flex;
  align-items: center;
}

.input-prefix {
  padding: 12px 15px;
  background-color: var(--light-color);
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: var(--text-light);
}

.input-group .form-input {
  border-radius: 0 8px 8px 0;
}

.location-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background-color: var(--light-color);
  border: none;
  border-radius: 8px;
  font-weight: 500;
  width: 100%;
  transition: var(--transition);
}

.location-btn i {
  margin-right: 8px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.location-btn.success {
  background-color: var(--success-color);
  color: white;
}

.location-btn.success i {
  color: white;
}

.location-btn.error {
  background-color: var(--danger-color);
  color: white;
}

.location-btn.error i {
  color: white;
}

.map-container {
  height: 200px;
  background-color: var(--light-color);
  border-radius: 8px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  color: var(--text-muted);
  text-align: center;
  padding: 0 20px;
}

.services-container {
  margin-bottom: 20px;
}

.service-row {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  margin-bottom: 15px;
  position: relative;
}

.service-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.remove-service-btn {
  background-color: var(--danger-color);
  color: white;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.btn-add-service {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background-color: var(--light-color);
  border: none;
  border-radius: 8px;
  font-weight: 500;
  width: 100%;
  margin-bottom: 30px;
}

.btn-add-service i {
  margin-right: 8px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.photo-uploads {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.photo-upload {
  flex: 1;
  min-width: 250px;
}

.upload-label {
  display: block;
  position: relative;
}

.upload-placeholder {
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  background-color: var(--light-color);
  transition: var(--transition);
}

.upload-placeholder:hover {
  border-color: #004ff9;
}

.upload-placeholder i {
  font-size: 2rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.upload-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.upload-preview {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.upload-preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.change-photo {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 0.8rem;
}

.photo-input {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.checkbox-label input {
  margin-right: 8px;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-prev,
.btn-next,
.btn-submit {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
}

.btn-prev {
  background-color: var(--light-color);
  color: var(--text-color);
}

.btn-prev:hover {
  background-color: var(--border-color);
}

.btn-next,
.btn-submit {
  background: var(--primary-gradient);
  color: white;
}

.btn-next:hover,
.btn-submit:hover {
  background: linear-gradient(45deg, #000000, #004ff9);
}

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

/* Success Animation */
#success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

#success-overlay.hidden {
  display: none;
}

.success-animation {
  text-align: center;
  color: white;
}

.checkmark {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.checkmark-circle {
  stroke: var(--success-color);
  stroke-width: 2;
  stroke-miterlimit: 10;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  stroke: var(--success-color);
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.success-animation h2 {
  font-size: 1.8rem;
  margin: 20px 0 10px;
}

.redirect-notice {
  font-size: 1rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-header {
    padding: 10px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    display: none;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-item {
    margin: 10px 0;
  }

  .hero-section {
    height: 400px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-input {
    padding: 14px 20px 14px 40px;
  }

  .hero-btn {
    padding: 0 20px;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .detail-card {
    flex-direction: column;
  }

  .detail-gallery,
  .detail-info {
    min-width: 100%;
  }

  .main-image {
    height: 300px;
  }

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

  .form-group.half {
    width: 100%;
  }

  .photo-uploads {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .radius-options {
    flex-wrap: wrap;
  }

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

  .review-form {
    padding: 15px;
  }
}

/* Responsive adjustments for tablets and smaller screens */
@media (max-width: 768px) {
  .detail-card {
    flex-direction: column;
  }
  .detail-gallery,
  .detail-info {
    min-width: 100%;
  }
  .main-image {
    height: 300px;
  }
  .detail-title {
    font-size: 1.5rem;
  }
  .info-row {
    flex-direction: column;
  }
  .info-item {
    min-width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .action-buttons {
    flex-direction: column;
  }
  .action-btn {
    width: 100%;
  }
}

/* Further adjustments for phones */
@media (max-width: 480px) {
  .detail-title {
    font-size: 1.2rem;
  }
  .main-image {
    height: 200px;
  }
  .review-form {
    padding: 10px;
  }
  .review-form .form-input,
  .review-form textarea {
    padding: 10px;
  }
}

.form-input {
  width: 100%;           /* Full width for visibility */
  padding: 10px;         /* Comfortable padding */
  border: 1px solid #ccc; /* Visible border */
  border-radius: 4px;    /* Rounded corners */
  box-sizing: border-box; /* Includes padding in width */
  font-size: 16px;       /* Readable text */
}

/* Ensure number inputs are styled correctly */
.form-input[type="number"] {
  -moz-appearance: textfield; /* Removes spinners in Firefox */
}

/* Remove spinners in Webkit browsers (Chrome, Safari) if unwanted */
.form-input[type="number"]::-webkit-inner-spin-button,
.form-input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Optional: Highlight errors */
.form-input.error {
  border-color: red;
}

/* Success Animation */
#success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

#success-overlay.hidden {
  display: none;
}

.success-animation {
  text-align: center;
  color: white;
}

.checkmark {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.checkmark-circle {
  stroke: var(--success-color);
  stroke-width: 2;
  stroke-miterlimit: 10;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  stroke: var(--success-color);
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.success-animation h2 {
  font-size: 1.8rem;
  margin: 20px 0 10px;
}

.redirect-notice {
  font-size: 1rem;
  opacity: 0.8;
}

/* Status Colors */
.status.open {
  color: var(--success-color) !important; /* Green */
}

.status.closed {
  color: var(--danger-color) !important; /* Red */
}

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

.input-prefix {
  padding: 12px 15px;
  background-color: var(--light-color);
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: var(--text-light);
}

.input-group .form-input {
  border-radius: 0 8px 8px 0;
  border-left: none;
  width: 100%; /* Ensure full width */
  padding: 12px 15px;
  color: var(--text-color); /* Visible text */
}

.form-input[type="number"] {
  -moz-appearance: textfield; /* Remove spinners in Firefox */
}

.form-input[type="number"]::-webkit-inner-spin-button,
.form-input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none; /* Remove spinners in Chrome/Safari */
  margin: 0;
}

/* Input Group Styling */
.input-group {
  display: flex;
  align-items: center;
  width: 100%; /* Full width to adapt to container */
  margin-bottom: 15px; /* Spacing below */
}

.input-prefix {
  padding: 12px 15px;
  background-color: #f5f5f5; /* Light background */
  border: 1px solid #ddd; /* Border color */
  border-right: none; /* Seamless connection to input */
  border-radius: 8px 0 0 8px; /* Rounded left corners */
  color: #666; /* Text color */
  font-size: 16px;
  white-space: nowrap; /* Prevent prefix wrapping */
}

.form-input {
  flex: 1; /* Takes remaining space */
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-left: none; /* Seamless connection to prefix */
  border-radius: 0 8px 8px 0; /* Rounded right corners */
  font-size: 16px;
  color: #333; /* Ensure text is visible */
  outline: none; /* Remove default focus outline */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .input-group {
    flex-direction: row; /* Keep prefix and input side by side */
  }
  .input-prefix {
    padding: 10px; /* Smaller padding for mobile */
    font-size: 14px; /* Readable size */
  }
  .form-input {
    padding: 10px;
    font-size: 14px; /* Adjust font size */
    min-width: 0; /* Prevent overflow */
  }
}

/* Root Variables */
:root {
  --success-color: #28a745; /* Green */
  --danger-color: #dc3545; /* Red */
  --light-color: #f5f5f5;
  --border-color: #ddd;
  --text-light: #666;
  --text-color: #333;
}

/* Input Group Styling */
.input-group {
  display: flex;
  align-items: center;
  width: 100%; /* Full width to adapt to container */
  margin-bottom: 15px; /* Spacing below */
}

.input-prefix {
  padding: 12px 15px;
  background-color: var(--light-color); /* Light background */
  border: 1px solid var(--border-color); /* Border color */
  border-right: none; /* Seamless connection to input */
  border-radius: 8px 0 0 8px; /* Rounded left corners */
  color: var(--text-light); /* Text color */
  font-size: 16px;
  white-space: nowrap; /* Prevent prefix wrapping */
}

.form-input {
  flex: 1; /* Takes remaining space */
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-left: none; /* Seamless connection to prefix */
  border-radius: 0 8px 8px 0; /* Rounded right corners */
  font-size: 16px;
  color: var(--text-color); /* Ensure text is visible */
  outline: none; /* Remove default focus outline */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .input-group {
    flex-direction: row; /* Keep prefix and input side by side */
  }
  .input-prefix {
    padding: 10px; /* Smaller padding for mobile */
    font-size: 14px; /* Readable size */
  }
  .form-input {
    padding: 10px;
    font-size: 14px; /* Adjust font size */
    min-width: 0; /* Prevent overflow */
  }
}

/* Status Colors */
.status {
  font-weight: bold;
}
.status.open {
  color: var(--success-color); /* Green for open */
}
.status.closed {
  color: var(--danger-color); /* Red for closed */
}

/* Loading Overlay */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

#loading-overlay.hidden {
  display: none;
}

.dot-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #3498db; /* Blue dots */
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  animation: bounce 1.4s infinite ease-in-out;
}

.dot:nth-child(2) {
  animation-delay: -0.32s;
}

.dot:nth-child(3) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.dot-loader span {
  margin-top: 10px;
  font-size: 16px;
}

/* Success Overlay */
#success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

#success-overlay.hidden {
  display: none;
}

.success-animation {
  text-align: center;
  color: white;
}

.checkmark {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.checkmark-circle {
  stroke: var(--success-color);
  stroke-width: 2;
  stroke-miterlimit: 10;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  stroke: var(--success-color);
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.success-animation h2 {
  font-size: 1.8rem;
  margin: 20px 0 10px;
}

.redirect-notice {
  font-size: 1rem;
  opacity: 0.8;
}

#registration-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
#registration-loading-overlay.hidden {
  display: none;
}
.dot-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}
.dot {
  width: 12px;
  height: 12px;
  background-color: #3498db;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  animation: bounce 1.4s infinite ease-in-out;
}
.dot:nth-child(2) { animation-delay: -0.32s; }
.dot:nth-child(3) { animation-delay: -0.16s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}
.dot-loader span {
  margin-top: 10px;
  font-size: 16px;
}

/* Nav Right with Auth Buttons */
.nav-right {
  display: flex;
  align-items: center;
}

.auth-buttons {
  display: flex;
  gap: 10px;
  margin-right: 20px;
}

.auth-btn {
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.login-btn {
  color: var(--text-color);
  background-color: var(--light-color);
}

.login-btn:hover {
  background-color: var(--border-color);
}

.signup-btn {
  background: var(--primary-gradient);
  color: white;
}

.signup-btn:hover {
  background: linear-gradient(45deg, #000000, #004ff9);
}

/* User Profile Button */
.user-profile-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: 20px;
  padding: 5px 10px;
  border-radius: 50px;
  background-color: var(--light-color);
  transition: var(--transition);
  position: relative;
}

.user-profile-btn:hover {
  background-color: var(--border-color);
}

.profile-photo-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-right: 8px;
  background-color: var(--primary-gradient);
  border: 2px solid white;
}

.profile-name {
  font-weight: 500;
  font-size: 0.9rem;
  margin-right: 5px;
}

/* Profile Dropdown */
.profile-dropdown {
  position: absolute;
  top: 45px;
  right: 0;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  width: 200px;
  padding: 10px 0;
  z-index: 100;
  display: none;
}

.profile-dropdown.active {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--text-color);
  transition: var(--transition);
}

.dropdown-item i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dropdown-item:hover {
  background-color: var(--light-color);
}

.dropdown-item.logout i {
  color: var(--danger-color);
  -webkit-text-fill-color: var(--danger-color);
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 8px 0;
}

/* Auth Pages (Login & Signup) */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 70px);
  background-color: var(--background-alt);
  padding: 40px 0;
}

.auth-card {
  width: 100%;
  max-width: 500px;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.auth-header {
  padding: 30px;
  background: var(--primary-gradient);
  color: white;
  text-align: center;
}

.auth-heading {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.auth-content {
  padding: 30px;
}

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

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.auth-submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

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

.auth-submit-btn:hover {
  background: linear-gradient(45deg, #000000, #004ff9);
}

.auth-alternate {
  text-align: center;
  margin-top: 20px;
  color: var(--text-light);
}

.forgot-password {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.forgot-password:hover {
  color: #004ff9;
}

.remember-me {
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-label input {
  margin-right: 8px;
}

/* Profile Photo Upload */
.profile-photo-group {
  margin-bottom: 30px;
}

.profile-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-preview-container {
  position: relative;
  margin-bottom: 15px;
}

.profile-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.profile-preview i {
  font-size: 3rem;
  color: var(--text-muted);
}

.change-photo-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.file-input {
  display: none;
}

.crop-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background-color: var(--light-color);
  border-radius: 8px;
  padding: 15px;
  overflow: hidden;
}

.crop-container.hidden {
  display: none;
}

.crop-area {
  width: 100%;
  height: 300px;
  background-color: #000;
  overflow: hidden;
  margin-bottom: 15px;
}

.crop-area img {
  max-width: 100%;
}

.crop-controls {
  display: flex;
  justify-content: space-between;
}

.cancel-crop-btn, .apply-crop-btn {
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.cancel-crop-btn {
  background-color: var(--light-color);
  color: var(--text-color);
}

.apply-crop-btn {
  background: var(--primary-gradient);
  color: white;
}

/* Password Match Indicator */
.password-match-indicator {
  font-size: 0.85rem;
  margin-top: 5px;
}

.password-match-indicator.match {
  color: var(--success-color);
}

.password-match-indicator.no-match {
  color: var(--danger-color);
}

/* Error and Success Messages */
.error-message {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.error-message i {
  margin-right: 8px;
}

.success-message {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.success-message i {
  margin-right: 8px;
}

/* Profile Page */
.profile-page {
  padding: 40px 0;
  background-color: var(--background-alt);
  min-height: calc(100vh - 70px);
}

.profile-header {
  margin-bottom: 30px;
}

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

.profile-subheading {
  color: var(--text-light);
}

.profile-content {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.profile-sidebar {
  width: 250px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.profile-photo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 15px;
  border: 5px solid var(--light-color);
}

.edit-photo-btn {
  position: absolute;
  bottom: 15px;
  right: 50px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.profile-actions {
  display: flex;
  flex-direction: column;
}

.profile-action-link {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  transition: var(--transition);
}

.profile-action-link:last-child {
  border-bottom: none;
}

.profile-action-link i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-action-link:hover {
  padding-left: 5px;
}

.profile-action-link.logout i {
  color: var(--danger-color);
  -webkit-text-fill-color: var(--danger-color);
}

.profile-main {
  flex: 1;
  min-width: 0;
}

.profile-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  overflow: hidden;
}

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

.card-header h2 {
  font-size: 1.2rem;
  font-weight: 600;
}

.edit-info-btn, .change-password-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #004ff9;
  font-weight: 500;
}

.edit-info-btn i, .change-password-btn i {
  margin-right: 5px;
}

.edit-info-btn.hidden, .change-password-btn.hidden {
  display: none;
}

.card-body {
  padding: 20px;
}

.profile-form .form-input {
  background-color: var(--light-color);
}

.profile-form .form-input:disabled {
  background-color: #f0f0f0;
  color: var(--text-muted);
  cursor: not-allowed;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.form-actions.hidden {
  display: none;
}

.cancel-btn {
  padding: 10px 20px;
  background-color: var(--light-color);
  color: var(--text-color);
  border: none;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
}

.save-btn {
  padding: 10px 20px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
}

.password-form {
  margin-top: 10px;
}

.password-form.hidden {
  display: none;
}

/* Modal for photo cropping */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-body {
  padding: 20px;
}

.modal-body .crop-area {
  height: 300px;
  background-color: #000;
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .profile-content {
    flex-direction: column;
  }
  
  .profile-sidebar {
    width: 100%;
  }
  
  .auth-card {
    margin: 0 15px;
  }
  
  .profile-form .form-row {
    flex-direction: column;
  }
  
  .profile-form .form-group.half {
    width: 100%;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .user-profile-btn {
    margin-right: 10px;
  }
  
  .profile-name {
    display: none;
  }
  
  .auth-buttons {
    margin-right: 10px;
  }
  
  .auth-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* For extremely small screens */
@media (max-width: 380px) {
  .auth-buttons {
    margin-right: 5px;
  }
  
  .login-btn {
    display: none;
  }
  
  .user-profile-btn {
    margin-right: 5px;
  }
}

/* Nav Right with Auth Buttons */
.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.auth-buttons {
  display: flex;
  gap: 15px;
  margin-right: 20px;
}

.auth-btn {
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.login-btn {
  color: var(--text-color);
  background-color: var(--light-color);
  border: 1px solid var(--border-color);
}

.login-btn:hover {
  background-color: var(--border-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.signup-btn {
  background: var(--primary-gradient);
  color: white;
}

.signup-btn:hover {
  background: linear-gradient(45deg, #000000, #004ff9);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* User Profile Button */
.user-profile-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: 20px;
  padding: 6px 15px 6px 6px;
  border-radius: 50px;
  background-color: var(--light-color);
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.user-profile-btn:hover {
  background-color: var(--border-color);
  box-shadow: var(--shadow-md);
}

.profile-photo-small {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-right: 10px;
  background-color: var(--primary-gradient);
  border: 2px solid white;
}

.profile-name {
  font-weight: 500;
  font-size: 0.95rem;
  margin-right: 8px;
}

/* Profile Dropdown */
.profile-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  background-color: white;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  width: 220px;
  padding: 15px 0;
  z-index: 100;
  display: none;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.profile-dropdown.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--text-color);
  transition: var(--transition);
}

.dropdown-item i {
  margin-right: 12px;
  width: 20px;
  text-align: center;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.1rem;
}

.dropdown-item:hover {
  background-color: var(--light-color);
}

.dropdown-item.logout i {
  color: var(--danger-color);
  -webkit-text-fill-color: var(--danger-color);
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 10px 0;
}

/* Auth Pages (Login & Signup) */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 70px);
  background-color: var(--background-alt);
  padding: 60px 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.auth-header {
  padding: 35px 30px;
  background: var(--primary-gradient);
  color: white;
  text-align: center;
}

.auth-heading {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.auth-subheading {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 350px;
  margin: 0 auto;
  line-height: 1.5;
}

.auth-content {
  padding: 40px 30px;
}

.auth-form .form-group {
  margin-bottom: 25px;
}

.auth-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--dark-color);
}

.auth-form .form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: #f9fafc;
  font-size: 16px;
  transition: all 0.2s ease;
}

.auth-form .form-input:focus {
  outline: none;
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.2);
  background-color: white;
}

.auth-form .form-hint {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.auth-submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.auth-submit-btn i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.auth-submit-btn:hover {
  background: linear-gradient(45deg, #000000, #004ff9);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.auth-submit-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.auth-alternate {
  text-align: center;
  margin-top: 25px;
  color: var(--text-light);
  font-size: 1rem;
}

.auth-alternate a {
  color: #004ff9;
  font-weight: 600;
  margin-left: 5px;
}

.forgot-password {
  color: #004ff9;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}

.remember-me {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #004ff9;
}

.checkbox-label span {
  font-size: 0.95rem;
}

/* Profile Photo Upload */
.profile-photo-group {
  margin-bottom: 35px;
}

.profile-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-preview-container {
  position: relative;
  margin-bottom: 20px;
}

.profile-preview {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 5px solid var(--light-color);
  box-shadow: var(--shadow-md);
}

.profile-preview i {
  font-size: 3.5rem;
  color: var(--text-muted);
}

.change-photo-btn {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.change-photo-btn:hover {
  transform: scale(1.1);
}

.file-input {
  display: none;
}

.crop-container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background-color: var(--light-color);
  border-radius: 15px;
  padding: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.crop-container.hidden {
  display: none;
}

.crop-area {
  width: 100%;
  height: 350px;
  background-color: #000;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 10px;
}

.crop-area img {
  max-width: 100%;
}

.crop-controls {
  display: flex;
  justify-content: space-between;
}

.cancel-crop-btn, .apply-crop-btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-crop-btn {
  background-color: var(--light-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.cancel-crop-btn:hover {
  background-color: var(--border-color);
}

.apply-crop-btn {
  background: var(--primary-gradient);
  color: white;
}

.apply-crop-btn:hover {
  background: linear-gradient(45deg, #000000, #004ff9);
  box-shadow: var(--shadow-md);
}

/* Password Match Indicator */
.password-match-indicator {
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 500;
}

.password-match-indicator.match {
  color: var(--success-color);
}

.password-match-indicator.no-match {
  color: var(--danger-color);
}

/* Error and Success Messages */
.error-message {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.error-message i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.success-message {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.success-message i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Form row for side-by-side inputs */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

.form-row .form-group {
  flex: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .auth-card {
    margin: 0 15px;
    max-width: 100%;
  }
  
  .auth-header {
    padding: 25px 20px;
  }
  
  .auth-heading {
    font-size: 1.8rem;
  }
  
  .auth-content {
    padding: 30px 20px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .auth-form .form-input {
    padding: 12px 14px;
    font-size: 16px;
  }
  
  .auth-submit-btn {
    padding: 14px;
  }
  
  .auth-buttons {
    margin-right: 15px;
    gap: 10px;
  }
  
  .auth-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .user-profile-btn {
    margin-right: 15px;
    padding: 6px 10px 6px 6px;
  }
  
  .profile-photo-small {
    margin-right: 5px;
  }
}

@media (max-width: 480px) {
  .auth-buttons {
    margin-right: 10px;
    gap: 8px;
  }
  
  .auth-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  
  .login-btn span {
    display: none; /* Hide "Log In" text at very small screens */
  }
  
  .login-btn i {
    margin-right: 0;
  }
  
  .auth-heading {
    font-size: 1.6rem;
  }
  
  .auth-subheading {
    font-size: 1rem;
  }
  
  .user-profile-btn {
    margin-right: 10px;
    padding: 4px 8px 4px 4px;
  }
  
  .profile-photo-small {
    width: 32px;
    height: 32px;
  }
  
  .profile-name {
    display: none;
  }
}

/* Auth Pages (Login & Signup) */
.auth-page {
  min-height: 100vh;
  background-color: var(--background-alt);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.auth-header {
  padding: 35px 30px;
  background: var(--primary-gradient);
  color: white;
  text-align: center;
}

.auth-heading {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.auth-subheading {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 350px;
  margin: 0 auto;
  line-height: 1.5;
}

.auth-content {
  padding: 40px 30px;
}

.auth-form .form-group {
  margin-bottom: 25px;
}

.auth-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--dark-color);
}

.auth-form .form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: #f9fafc;
  font-size: 16px;
  transition: all 0.2s ease;
}

.auth-form .form-input:focus {
  outline: none;
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.2);
  background-color: white;
}

.auth-submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.auth-submit-btn i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.auth-submit-btn:hover {
  background: linear-gradient(45deg, #000000, #004ff9);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.auth-submit-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .auth-page {
    padding: 20px 15px;
    align-items: center;
  }
  
  .auth-card {
    max-width: 100%;
  }
  
  .auth-header {
    padding: 25px 20px;
  }
  
  .auth-heading {
    font-size: 1.8rem;
  }
  
  .auth-content {
    padding: 30px 20px;
  }
}

@media (min-height: 900px) {
  .auth-page {
    align-items: center;
  }
}

/* Add these styles to your styles.css file to enhance the modern look */

/* Modern Box Shadows */
:root {
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 15px 35px rgba(0, 0, 79, 0.1);
  --gradient-primary: linear-gradient(45deg, #004ff9, #000000);
  --gradient-secondary: linear-gradient(45deg, #000000, #004ff9);
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.4s ease;
}

/* Modernized Cards */
.card, .business-card, .saved-shop-card, .review-item, .user-review-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 1px solid rgba(230, 230, 230, 0.7);
  height: 100%;
  background-color: white;
}

.card:hover, .business-card:hover, .saved-shop-card:hover, .review-item:hover, .user-review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Modernized Buttons */
.btn-primary, .action-btn.primary, .auth-submit-btn, .btn-submit, .save-btn, .register-btn, .hero-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 600;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover, .action-btn.primary:hover, .auth-submit-btn:hover, .btn-submit:hover, .save-btn:hover, .register-btn:hover, .hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--gradient-secondary);
}

/* Modernized Form Inputs */
.form-input {
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #e0e0e0;
  background-color: #f9fafc;
  transition: var(--transition-fast);
  width: 100%;
}

.form-input:focus {
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.1);
  background-color: white;
}

/* Modern Headers */
.profile-heading, .register-heading, .auth-heading, .edit-heading, .section-title {
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

/* Gradient Text */
.highlight, .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* Profile Page Modernization */
.profile-sidebar {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: white;
  border: 1px solid rgba(230, 230, 230, 0.7);
}

.profile-photo {
  border: 6px solid white;
  box-shadow: var(--shadow-md);
}

.profile-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: white;
  border: 1px solid rgba(230, 230, 230, 0.7);
}

.edit-photo-btn {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-sm);
}

.edit-photo-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

/* Modern Modals */
.modal-content {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(230, 230, 230, 0.7);
}

/* Main Navigation Modernization */
.main-header {
  box-shadow: var(--shadow-md);
}

.nav-item:hover::after {
  background: var(--gradient-primary);
}

/* Hero Section Enhancement */
.hero-overlay {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
}

.hero-title {
  font-weight: 800;
  font-size: 3rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-input {
  box-shadow: var(--shadow-md);
}

/* Footer Enhancement */
.site-footer {
  background-color: #111;
  color: white;
  padding-top: 60px;
}

.footer-brand img {
  filter: brightness(1.2);
}

/* Loading Animation Enhancement */
.loader-circle {
  border: 3px solid rgba(0, 79, 249, 0.1);
  border-top-color: #004ff9;
}

/* Modern Spacing */
.profile-content, .register-content, .auth-content, .edit-content {
  padding: 30px;
}

/* Success and Error Messages */
.success-message, .error-message {
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 25px;
}

.success-message {
  background-color: rgba(40, 167, 69, 0.1);
  border-left: 4px solid #28a745;
}

.error-message {
  background-color: rgba(220, 53, 69, 0.1);
  border-left: 4px solid #dc3545;
}

/* Enhanced Table Styling */
table {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

th {
  background: var(--gradient-primary);
  color: white;
  padding: 12px 16px;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background-color: #f5f8ff;
}

/* Animate Transitions */
.card-img img, .business-image img, .detail-main {
  transition: transform 0.5s ease;
}

.card:hover .card-img img, 
.business-card:hover .business-image img,
.detail-gallery:hover .detail-main {
  transform: scale(1.05);
}

/* Section Dividers */
.section-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, #004ff9, transparent);
  margin: 40px 0;
  opacity: 0.2;
}

/* Empty State Styling */
.empty-state, .empty-saved, .empty-reviews, .empty-businesses {
  text-align: center;
  padding: 60px 40px;
  background-color: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.empty-state i, .empty-saved i, .empty-reviews i, .empty-businesses i {
  font-size: 4rem;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .profile-content {
    flex-direction: column;
  }
  
  .profile-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .cards-container {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .form-group.half {
    width: 100%;
  }
}

/* Profile Photo Upload Enhancement */
.profile-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-preview-container {
  position: relative;
  margin-bottom: 20px;
}

.profile-preview {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 6px solid white;
  box-shadow: var(--shadow-md);
}

.profile-preview i {
  font-size: 3.5rem;
  color: #999;
}

.change-photo-btn {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.change-photo-btn:hover {
  transform: scale(1.1);
}

/* Photo Crop Enhancement */
.crop-container {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.crop-area {
  width: 100%;
  height: 350px;
  background-color: #000;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 10px;
}

.crop-controls {
  display: flex;
  justify-content: space-between;
}

/* Business Service Row Enhancement */
.service-row {
  background-color: #f9fafc;
  border-radius: 10px;
  padding: 15px;
  transition: var(--transition-fast);
}

.service-row:hover {
  background-color: #f5f8ff;
  box-shadow: var(--shadow-sm);
}

/* Register Form Enhancement */
.form-progress {
  padding: 20px 0;
}

.progress-step .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  border: 2px solid #ddd;
}

.progress-step.active .step-number {
  background: var(--gradient-primary);
  border-color: #004ff9;
  color: white;
}

/* Shop Detail Page Enhancement */
.info-item {
  background-color: #f9fafc;
  border-radius: 12px;
  padding: 18px;
  transition: var(--transition-fast);
}

.info-item:hover {
  background-color: #f5f8ff;
  box-shadow: var(--shadow-sm);
}

.service-card {
  background-color: #f9fafc;
  border-radius: 12px;
  padding: 18px;
  transition: var(--transition-fast);
}

.service-card:hover {
  background-color: #f5f8ff;
  box-shadow: var(--shadow-sm);
}

/* Modern Animation for Checkmark */
.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #28a745;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #28a745;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #28a745;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

/* Enhanced Forms with Icons */
.input-with-icon {
  position: relative;
  width: 100%;
}

.input-with-icon .form-input {
  padding-left: 45px;
  border-radius: 12px;
  height: 52px;
  background-color: #f9fafc;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.input-with-icon .form-input:focus {
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.1);
  background-color: white;
}

.input-with-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 1.2rem;
}

/* Auth Pages Enhancement */
.auth-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  max-width: 550px;
  width: 100%;
  margin: 0 auto;
  background-color: white;
}

.auth-header {
  padding: 35px 40px;
  text-align: center;
}

.auth-header h1.auth-heading {
  font-size: 2.5rem;
  margin-bottom: 12px;
  font-weight: 700;
  background: linear-gradient(45deg, #004ff9, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-header p.auth-subheading {
  font-size: 1.1rem;
  color: #666;
  max-width: 350px;
  margin: 0 auto;
}

.auth-content {
  padding: 40px;
}

.auth-form .form-group {
  margin-bottom: 24px;
}

.auth-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 1.05rem;
  color: #333;
}

.auth-form .form-hint {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #666;
}

.auth-form .remember-me {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.auth-submit-btn {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  background: linear-gradient(45deg, #004ff9, #000000);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

.auth-submit-btn i {
  margin-right: 10px;
}

.auth-alternate {
  text-align: center;
  margin-top: 25px;
  color: #666;
  font-size: 1rem;
}

.auth-alternate a {
  color: #004ff9;
  font-weight: 600;
}

/* Enhanced Search */
.hero-section {
  height: 550px;
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  margin-bottom: 50px;
}

.hero-overlay {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-search {
  max-width: 600px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.location-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #004ff9;
  font-size: 1.2rem;
  z-index: 10;
}

.hero-input {
  width: 100%;
  height: 60px;
  padding: 10px 20px 10px 50px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-input:focus {
  outline: none;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
}

.hero-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  background: linear-gradient(45deg, #004ff9, #000000);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 0 25px;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

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

.hero-btn:hover {
  background: linear-gradient(45deg, #003bbe, #333333);
  transform: translateY(-1px);
}

/* Register Page Enhancement */
.register-header {
  padding: 35px 40px;
  background: linear-gradient(45deg, #004ff9, #000000);
  text-align: center;
}

.register-heading {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 12px;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.register-subheading {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Color Icons */
.heart-icon {
  color: #ff3366 !important; /* Vibrant red for heart icon */
}

.star-icon {
  color: #ffc107 !important; /* Golden yellow for star icon */
}

/* Enhanced Card Design */
.card, .saved-shop-card, .business-card, .user-review-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background-color: white;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover, .saved-shop-card:hover, .business-card:hover, .user-review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card-img, .shop-image, .business-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img img, .shop-image img, .business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img img, 
.saved-shop-card:hover .shop-image img,
.business-card:hover .business-image img {
  transform: scale(1.05);
}

.card-body, .shop-info, .business-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title, .shop-name, .business-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.card-address, .shop-address, .business-address {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.card-address i, .shop-address i, .business-address i {
  margin-right: 8px;
  margin-top: 4px;
  color: #004ff9;
  min-width: 16px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-input {
    height: 54px;
    font-size: 1rem;
  }
  
  .hero-btn {
    padding: 0 20px;
    font-size: 0.95rem;
  }
  
  .auth-header {
    padding: 25px;
  }
  
  .auth-content {
    padding: 25px;
  }
  
  .auth-heading {
    font-size: 2rem;
  }
  
  .register-heading {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-btn span {
    display: none;
  }
  
  .hero-btn i {
    margin-right: 0;
  }
  
  .hero-btn {
    width: 46px;
    padding: 0;
    justify-content: center;
  }
}

/* Update auth header text color for better readability */
.auth-header, .register-header, .edit-header {
  padding: 35px 30px;
  background: var(--primary-gradient);
  color: white !important;
  text-align: center;
}

.auth-header h1, .register-header h1, .edit-header h1,
.auth-heading, .register-heading, .edit-heading {
  color: white !important;
  -webkit-text-fill-color: white !important;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Update icon colors */
.fa-heart, .heart-icon {
  color: #ff3366 !important;
}

.fa-star, .star-icon {
  color: #ffc107 !important;
}

/* Enhanced styling for profile pages */
.business-card, .saved-shop-card, .user-review-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: white;
}

.business-card:hover, .saved-shop-card:hover, .user-review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.business-image, .shop-image {
  height: 200px;
  overflow: hidden;
}

.business-image img, .shop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.business-card:hover .business-image img,
.saved-shop-card:hover .shop-image img {
  transform: scale(1.05);
}

.business-info, .shop-info {
  padding: 20px;
}

.business-name, .shop-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.business-address, .shop-address {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #666;
}

.business-address i, .shop-address i {
  margin-right: 8px;
  margin-top: 4px;
  color: #004ff9;
}

.business-stats, .shop-rating {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.stat {
  display: flex;
  align-items: center;
  margin-right: 15px;
  font-weight: 500;
}

.business-actions, .review-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.action-btn.view {
  background-color: #f0f5ff;
  color: #004ff9;
}

.action-btn.edit {
  background-color: #f0f9ff;
  color: #0091ff;
}

.action-btn.delete {
  background-color: #fff0f0;
  color: #ff3366;
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Enhanced review cards */
.user-review-card {
  padding: 0;
  overflow: hidden;
}

.shop-name-wrapper {
  padding: 15px 20px;
  background-color: #f9fafc;
  border-bottom: 1px solid #f0f0f0;
}

.review-content {
  padding: 20px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.review-rating {
  display: flex;
  align-items: center;
}

.review-date {
  color: #999;
  font-size: 0.9rem;
}

.review-text {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

.review-actions {
  display: flex;
  justify-content: flex-end;
}

.edit-review {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background-color: #f0f5ff;
  color: #004ff9;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.edit-review:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.edit-review i {
  margin-right: 6px;
}

/* Deletion confirmation modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background-color: white;
  border-radius: 16px;
  width: 400px;
  max-width: 90%;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  animation: modalFadeIn 0.3s ease;
}

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

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #333;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cancel-btn {
  padding: 10px 20px;
  background-color: #f5f5f5;
  color: #333;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.delete-btn {
  padding: 10px 20px;
  background-color: #ff3366;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-btn:hover, .delete-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Remove service button */
.remove-service-btn {
  background-color: #ff3366;
  color: white;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.remove-service-btn:hover:not(:disabled) {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(255, 51, 102, 0.3);
}

.remove-service-btn:disabled {
  background-color: #ddd;
  cursor: not-allowed;
}

/* Empty state styling */
.empty-businesses, .empty-saved, .empty-reviews {
  text-align: center;
  padding: 60px 40px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.empty-businesses i, .empty-saved i, .empty-reviews i {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #004ff9;
}

.empty-businesses h3, .empty-saved h3, .empty-reviews h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.empty-message {
  color: #666;
  font-size: 1.1rem;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

.add-business-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 24px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.add-business-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

/* Add business banner */
.add-business-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(45deg, #004ff9, #5b8def);
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(0, 79, 249, 0.15);
}

.banner-content {
  color: white;
}

.banner-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.banner-content p {
  opacity: 0.9;
  max-width: 400px;
}

/* Back to profile link */
.back-to-profile {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  color: #004ff9;
  font-weight: 500;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.back-to-profile i {
  margin-right: 8px;
}

.back-to-profile:hover {
  transform: translateX(-3px);
  color: #003bc0;
}

.action-btn.appointments {
  background-color: #f0fff5;
  color: #28a745;
}

.action-btn.edit {
  background-color: #f0f9ff;
  color: #0091ff;
}

.action-btn.delete {
  background-color: #fff0f0;
  color: #ff3366;
}

/* Enhanced Appointment Management Styles */

/* Common Styles for Appointment Pages */
.profile-page, .business-page {
  background-color: #f7f9ff;
  min-height: calc(100vh - 70px);
  padding: 40px 0 80px;
}

/* Modern Card Styling */
.appointment-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(230, 230, 230, 0.7);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.appointment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 79, 249, 0.1);
  border-color: rgba(0, 79, 249, 0.1);
}

/* Stylish Header with Gradient Border */
.appointment-header {
  position: relative;
  padding: 20px 25px;
  background-color: #f9fafc;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.appointment-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #004ff9, #7a9fff);
}

.shop-info, .customer-info {
  display: flex;
  align-items: center;
  flex: 2;
  min-width: 250px;
}

.shop-logo, .customer-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 18px;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.customer-photo {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  background-color: #004ff9;
  text-transform: uppercase;
}

.shop-details, .customer-details {
  flex: 1;
}

.shop-name, .customer-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #333;
  line-height: 1.3;
}

.shop-address, .customer-phone {
  font-size: 0.95rem;
  color: #666;
  display: flex;
  align-items: center;
}

.shop-address i, .customer-phone i {
  width: 16px;
  margin-right: 8px;
  font-size: 0.9rem;
  color: #004ff9;
}

/* Date and Time Styling */
.appointment-date, .appointment-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  min-width: 180px;
}

.calendar-icon, .time-icon {
  display: flex;
  align-items: center;
  color: #666;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.calendar-icon i, .time-icon i {
  margin-right: 10px;
  color: #004ff9;
  font-size: 1.1rem;
}

.date, .time {
  font-weight: 600;
}

/* Card Content */
.appointment-details {
  padding: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  background: linear-gradient(to bottom, white, #f9fafc);
}

.service-details, .notes-details {
  flex: 1;
  min-width: 250px;
}

.service-details h4, .notes-details h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-name {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 1.1rem;
}

.service-price {
  color: #004ff9;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 8px;
}

.notes {
  font-style: italic;
  color: #666;
  line-height: 1.7;
  background-color: rgba(0, 0, 0, 0.02);
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #e0e0e0;
}

/* Action Buttons */
.appointment-actions {
  padding: 0 25px 25px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-cancel-appointment, 
.btn-complete-appointment, 
.btn-book-again, 
.btn-write-review {
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.btn-cancel-appointment {
  background-color: #fff0f0;
  color: #ff3366;
  border: 1px solid rgba(255, 51, 102, 0.1);
}

.btn-cancel-appointment:hover {
  background-color: #ffe0e0;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 51, 102, 0.15);
}

.btn-complete-appointment {
  background-color: #e8f5e9;
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.1);
}

.btn-complete-appointment:hover {
  background-color: #d7edd9;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(76, 175, 80, 0.15);
}

.btn-book-again {
  background-color: #f0f5ff;
  color: #004ff9;
  border: 1px solid rgba(0, 79, 249, 0.1);
}

.btn-book-again:hover {
  background-color: #e0ecff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 79, 249, 0.15);
}

.btn-write-review {
  background-color: #f0f9ff;
  color: #0091ff;
  border: 1px solid rgba(0, 145, 255, 0.1);
}

.btn-write-review:hover {
  background-color: #e0f2ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 145, 255, 0.15);
}

.btn-cancel-appointment i, 
.btn-complete-appointment i, 
.btn-book-again i, 
.btn-write-review i {
  margin-right: 8px;
  font-size: 1rem;
}

/* Status Indicators */
.cancelled-badge {
  background-color: #ffebee;
  color: #ff3366;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 15px;
  text-align: center;
  width: 100%;
  box-shadow: 0 4px 8px rgba(255, 51, 102, 0.1);
  border: 1px solid rgba(255, 51, 102, 0.1);
}

/* Past Appointment Styling */
.appointment-card.past {
  opacity: 0.85;
}

.appointment-card.past .appointment-header::before {
  background: linear-gradient(90deg, #999, #ddd);
}

/* Cancelled Appointment Styling */
.appointment-card.cancelled {
  opacity: 0.75;
}

.appointment-card.cancelled .appointment-header::before {
  background: linear-gradient(90deg, #ff3366, #ff758c);
}

/* Empty State Styling */
.empty-appointments {
  text-align: center;
  padding: 60px 40px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.empty-appointments i {
  font-size: 4rem;
  margin-bottom: 25px;
  background: linear-gradient(45deg, #004ff9, #7a9fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.empty-appointments h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.empty-message {
  color: #666;
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.empty-message a {
  color: #004ff9;
  font-weight: 600;
  text-decoration: underline;
  transition: all 0.2s ease;
}

.empty-message a:hover {
  color: #0035b0;
}

/* Tabs Styling */
.appointments-tabs {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.tab-header {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  background: linear-gradient(to right, #f9fafc, white);
}

.tab-btn {
  flex: 1;
  padding: 18px 15px;
  text-align: center;
  background: none;
  border: none;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 140px;
  font-size: 1rem;
}

.tab-btn:hover:not(.active) {
  background-color: #f9fafc;
  color: #004ff9;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #004ff9, #7a9fff);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.tab-btn:hover::after {
  width: 30%;
}

.tab-btn.active {
  color: #004ff9;
  background-color: rgba(0, 79, 249, 0.03);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-content {
  padding: 30px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

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

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: white;
  border-radius: 20px;
  width: 450px;
  max-width: 90%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: scale(1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 25px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #f9fafc, white);
}

.modal-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.close-modal, .close-complete-modal {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-modal:hover, .close-complete-modal:hover {
  color: #333;
  background-color: #f5f5f5;
}

.modal-body {
  padding: 30px 25px;
}

.modal-body p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.modal-footer {
  padding: 20px 25px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.btn-secondary, .cancel-modal, .cancel-complete-modal {
  padding: 12px 20px;
  background-color: #f5f5f5;
  color: #555;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover, .cancel-modal:hover, .cancel-complete-modal:hover {
  background-color: #e9e9e9;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.btn-danger, .confirm-cancel {
  padding: 12px 20px;
  background-color: #ff3366;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-danger:hover, .confirm-cancel:hover {
  background-color: #e6002e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 51, 102, 0.2);
}

.btn-primary, .confirm-complete {
  padding: 12px 20px;
  background: linear-gradient(45deg, #004ff9, #7a9fff);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover, .confirm-complete:hover {
  background: linear-gradient(45deg, #0035b0, #004ff9);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 79, 249, 0.2);
}

/* Sidebar Styling */
.profile-sidebar, .dashboard-sidebar {
  width: 300px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 25px;
  position: sticky;
  top: 90px;
}

.back-to-profile {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding: 10px 0;
  font-weight: 600;
  color: #555;
}

.back-to-profile i {
  margin-right: 10px;
  color: #004ff9;
  transition: transform 0.3s ease;
}

.back-to-profile:hover {
  color: #004ff9;
}

.back-to-profile:hover i {
  transform: translateX(-5px);
}

.profile-photo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 6px solid #f9fafc;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.profile-actions {
  display: flex;
  flex-direction: column;
}

.profile-action-link {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
  font-weight: 500;
  transition: all 0.3s ease;
}

.profile-action-link i {
  margin-right: 12px;
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
  color: #004ff9;
}

.profile-action-link:hover {
  padding-left: 10px;
  color: #004ff9;
}

.profile-action-link.active {
  color: #004ff9;
  font-weight: 600;
  background-color: rgba(0, 79, 249, 0.05);
  border-radius: 10px;
  padding: 14px 15px;
  margin: 5px 0;
  border-bottom: none;
}

.profile-action-link:last-child {
  border-bottom: none;
}

.profile-action-link.logout i {
  color: #ff3366;
}

.profile-action-link.logout:hover {
  color: #ff3366;
}

/* Shop Card in Dashboard Sidebar */
.shop-card {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

.shop-image {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.shop-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.shop-actions {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shop-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: #f9fafc;
}

.shop-action-btn:first-child {
  background-color: #f0f5ff;
  color: #004ff9;
}

.shop-action-btn:last-child {
  background-color: #f0f9ff;
  color: #0091ff;
}

.shop-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

/* Stats Cards */
.appointment-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.stat-card {
  background-color: white;
  border-radius: 16px;
  padding: 15px;
  display: flex;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(230, 230, 230, 0.8);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  margin-right: 15px;
  font-size: 1.3rem;
}

.stat-card:nth-child(1) .stat-icon {
  background-color: #e0f7fa;
  color: #00bcd4;
}

.stat-card:nth-child(2) .stat-icon {
  background-color: #e8f5e9;
  color: #4caf50;
}

.stat-card:nth-child(3) .stat-icon {
  background-color: #fff8e1;
  color: #ffc107;
}

.stat-card:nth-child(4) .stat-icon {
  background-color: #ffebee;
  color: #f44336;
}

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

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
}

/* Responsive Design */
@media (max-width: 992px) {
  .profile-content, .appointments-dashboard {
    flex-direction: column;
  }
  
  .profile-sidebar, .dashboard-sidebar {
    width: 100%;
    margin-bottom: 30px;
    position: static;
  }
  
  .shop-card {
    max-width: 450px;
    margin: 0 auto 25px;
  }
  
  .appointment-stats {
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .appointment-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .shop-info, .customer-info {
    width: 100%;
  }
  
  .appointment-date, .appointment-time {
    width: 100%;
    align-items: flex-start;
  }
  
  .appointment-actions {
    flex-direction: column;
  }
  
  .btn-cancel-appointment, .btn-complete-appointment, 
  .btn-book-again, .btn-write-review {
    width: 100%;
    justify-content: center;
  }
  
  .tab-header {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    flex: 1 0 40%;
  }
}

@media (max-width: 480px) {
  .profile-page, .business-page {
    padding: 20px 0 60px;
  }
  
  .appointment-stats {
    grid-template-columns: 1fr;
  }
  
  .tab-content {
    padding: 20px 15px;
  }
  
  .empty-appointments {
    padding: 40px 20px;
  }
  
  .empty-appointments i {
    font-size: 3rem;
  }
  
  .empty-appointments h3 {
    font-size: 1.3rem;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .modal-header, .modal-body, .modal-footer {
    padding: 15px;
  }
  
  .modal-header h3 {
    font-size: 1.2rem;
  }
  
  .modal-body p {
    font-size: 1rem;
  }
  
  .btn-secondary, .btn-danger, .btn-primary,
  .cancel-modal, .confirm-cancel, .cancel-complete-modal, .confirm-complete {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

/* Enhanced Appointment Management Styles */

/* Common Styles for Appointment Pages */
.profile-page, .business-page {
  background-color: #f7f9ff;
  min-height: calc(100vh - 70px);
  padding: 40px 0 80px;
}

/* Modern Card Styling */
.appointment-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(230, 230, 230, 0.7);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  /* Added to fix layout issues */
  width: 100%;
  display: flex;
  flex-direction: column;
}

.appointment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 79, 249, 0.1);
  border-color: rgba(0, 79, 249, 0.1);
}

/* Grid Layout for Appointments to Prevent Overlapping */
.appointments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

/* Stylish Header with Gradient Border */
.appointment-header {
  position: relative;
  padding: 20px 25px;
  background-color: #f9fafc;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.appointment-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #004ff9, #7a9fff);
}

.shop-info, .customer-info {
  display: flex;
  align-items: center;
  flex: 2;
  min-width: 250px;
}

.shop-logo, .customer-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 18px;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.customer-photo {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  background-color: #004ff9;
  text-transform: uppercase;
}

.shop-details, .customer-details {
  flex: 1;
}

.shop-name, .customer-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #333;
  line-height: 1.3;
}

.shop-address, .customer-phone {
  font-size: 0.95rem;
  color: #666;
  display: flex;
  align-items: center;
}

.shop-address i, .customer-phone i {
  width: 16px;
  margin-right: 8px;
  font-size: 0.9rem;
  color: #004ff9;
}

/* Date and Time Styling */
.appointment-date, .appointment-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  min-width: 180px;
}

.calendar-icon, .time-icon {
  display: flex;
  align-items: center;
  color: #666;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.calendar-icon i, .time-icon i {
  margin-right: 10px;
  color: #004ff9;
  font-size: 1.1rem;
}

.date, .time {
  font-weight: 600;
}

/* Card Content */
.appointment-details {
  padding: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  background: linear-gradient(to bottom, white, #f9fafc);
}

.service-details, .notes-details {
  flex: 1;
  min-width: 250px;
}

.service-details h4, .notes-details h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-name {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 1.1rem;
}

.service-price {
  color: #004ff9;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 8px;
}

.notes {
  font-style: italic;
  color: #666;
  line-height: 1.7;
  background-color: rgba(0, 0, 0, 0.02);
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #e0e0e0;
}

/* Action Buttons */
.appointment-actions {
  padding: 0 25px 25px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-cancel-appointment, 
.btn-complete-appointment, 
.btn-book-again, 
.btn-write-review {
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.btn-cancel-appointment {
  background-color: #fff0f0;
  color: #ff3366;
  border: 1px solid rgba(255, 51, 102, 0.1);
}

.btn-cancel-appointment:hover {
  background-color: #ffe0e0;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 51, 102, 0.15);
}

.btn-complete-appointment {
  background-color: #e8f5e9;
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.1);
}

.btn-complete-appointment:hover {
  background-color: #d7edd9;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(76, 175, 80, 0.15);
}

.btn-book-again {
  background-color: #f0f5ff;
  color: #004ff9;
  border: 1px solid rgba(0, 79, 249, 0.1);
}

.btn-book-again:hover {
  background-color: #e0ecff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 79, 249, 0.15);
}

.btn-write-review {
  background-color: #f0f9ff;
  color: #0091ff;
  border: 1px solid rgba(0, 145, 255, 0.1);
}

.btn-write-review:hover {
  background-color: #e0f2ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 145, 255, 0.15);
}

.btn-cancel-appointment i, 
.btn-complete-appointment i, 
.btn-book-again i, 
.btn-write-review i {
  margin-right: 8px;
  font-size: 1rem;
}

/* Status Indicators */
.cancelled-badge {
  background-color: #ffebee;
  color: #ff3366;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 15px;
  text-align: center;
  width: 100%;
  box-shadow: 0 4px 8px rgba(255, 51, 102, 0.1);
  border: 1px solid rgba(255, 51, 102, 0.1);
}

/* Past Appointment Styling */
.appointment-card.past {
  opacity: 0.85;
}

.appointment-card.past .appointment-header::before {
  background: linear-gradient(90deg, #999, #ddd);
}

/* Cancelled Appointment Styling */
.appointment-card.cancelled {
  opacity: 0.75;
}

.appointment-card.cancelled .appointment-header::before {
  background: linear-gradient(90deg, #ff3366, #ff758c);
}

/* Empty State Styling */
.empty-appointments {
  text-align: center;
  padding: 60px 40px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.empty-appointments i {
  font-size: 4rem;
  margin-bottom: 25px;
  background: linear-gradient(45deg, #004ff9, #7a9fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.empty-appointments h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.empty-message {
  color: #666;
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.empty-message a {
  color: #004ff9;
  font-weight: 600;
  text-decoration: underline;
  transition: all 0.2s ease;
}

.empty-message a:hover {
  color: #0035b0;
}

/* Tabs Styling */
.appointments-tabs {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.tab-header {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  background: linear-gradient(to right, #f9fafc, white);
}

.tab-btn {
  flex: 1;
  padding: 18px 15px;
  text-align: center;
  background: none;
  border: none;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 140px;
  font-size: 1rem;
}

.tab-btn:hover:not(.active) {
  background-color: #f9fafc;
  color: #004ff9;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #004ff9, #7a9fff);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.tab-btn:hover::after {
  width: 30%;
}

.tab-btn.active {
  color: #004ff9;
  background-color: rgba(0, 79, 249, 0.03);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-content {
  padding: 30px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

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

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: white;
  border-radius: 20px;
  width: 450px;
  max-width: 90%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: scale(1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 25px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #f9fafc, white);
}

.modal-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.close-modal, .close-complete-modal {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-modal:hover, .close-complete-modal:hover {
  color: #333;
  background-color: #f5f5f5;
}

.modal-body {
  padding: 30px 25px;
}

.modal-body p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.modal-footer {
  padding: 20px 25px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.btn-secondary, .cancel-modal, .cancel-complete-modal {
  padding: 12px 20px;
  background-color: #f5f5f5;
  color: #555;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover, .cancel-modal:hover, .cancel-complete-modal:hover {
  background-color: #e9e9e9;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.btn-danger, .confirm-cancel {
  padding: 12px 20px;
  background-color: #ff3366;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-danger:hover, .confirm-cancel:hover {
  background-color: #e6002e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 51, 102, 0.2);
}

.btn-primary, .confirm-complete {
  padding: 12px 20px;
  background: linear-gradient(45deg, #004ff9, #7a9fff);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover, .confirm-complete:hover {
  background: linear-gradient(45deg, #0035b0, #004ff9);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 79, 249, 0.2);
}

/* Dashboard Layout with Improved Spacing and Responsive Layout */
.appointments-dashboard {
  display: flex;
  gap: 30px;
  position: relative;
}

.dashboard-sidebar {
  width: 300px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 25px;
  position: sticky;
  top: 90px;
  height: fit-content;
  flex-shrink: 0;
}

.dashboard-content {
  flex: 1;
  min-width: 0; /* Important to prevent content from overflowing */
}

/* Responsive Design */
@media (max-width: 1200px) {
  .appointments-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 992px) {
  .appointments-dashboard {
    flex-direction: column;
  }
  
  .dashboard-sidebar {
    width: 100%;
    margin-bottom: 30px;
    position: static;
  }
  
  .shop-card {
    max-width: 450px;
    margin: 0 auto 25px;
  }
  
  .appointment-stats {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .appointments-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .appointment-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .shop-info, .customer-info {
    width: 100%;
  }
  
  .appointment-date, .appointment-time {
    width: 100%;
    align-items: flex-start;
  }
  
  .appointment-actions {
    flex-direction: column;
  }
  
  .btn-cancel-appointment, .btn-complete-appointment, 
  .btn-book-again, .btn-write-review {
    width: 100%;
    justify-content: center;
  }
  
  .tab-header {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    flex: 1 0 40%;
  }
  
  .appointments-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .profile-page, .business-page {
    padding: 20px 0 60px;
  }
  
  .appointment-stats {
    grid-template-columns: 1fr;
  }
  
  .tab-content {
    padding: 20px 15px;
  }
  
  .empty-appointments {
    padding: 40px 20px;
  }
  
  .empty-appointments i {
    font-size: 3rem;
  }
  
  .empty-appointments h3 {
    font-size: 1.3rem;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .modal-header, .modal-body, .modal-footer {
    padding: 15px;
  }
  
  .modal-header h3 {
    font-size: 1.2rem;
  }
  
  .modal-body p {
    font-size: 1rem;
  }
  
  .btn-secondary, .btn-danger, .btn-primary,
  .cancel-modal, .confirm-cancel, .cancel-complete-modal, .confirm-complete {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

/* Detail Page Styles */
.detail-page {
  position: relative;
  background-color: #f7f9ff;
  min-height: 100vh;
  padding-bottom: 80px;
}

/* Mobile Header */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-button {
  display: flex;
  align-items: center;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
}

.back-button i {
  margin-right: 8px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-save {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff3366;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.mobile-save.active {
  background-color: #ff3366;
  color: white;
}

.mobile-save.active i {
  color: white;
}

/* Shop Hero */
.shop-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  margin-top: 70px;
}

.hero-gallery {
  width: 100%;
  height: 100%;
}

.main-image {
  width: 100%;
  height: 100%;
  position: relative;
}

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

.image-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.image-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: #004ff9;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1rem;
}

.image-nav:hover {
  transform: scale(1.1);
  background: var(--primary-gradient);
  color: white;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.5) 50%, transparent);
  padding: 25px 0;
}

.shop-quick-info {
  color: white;
}

.shop-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.shop-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.stars {
  display: flex;
  color: #ffc107;
  margin-right: 10px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.rating-value {
  font-weight: 600;
  margin-right: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.review-count {
  opacity: 0.9;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.shop-address {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.shop-address i {
  margin-right: 8px;
  margin-top: 3px;
  min-width: 14px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.availability-badge i {
  margin-right: 6px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Detail Content */
.detail-content {
  background-color: white;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  margin-top: -20px;
  position: relative;
  z-index: 10;
  padding-bottom: 20px;
}

/* Tab Navigation */
.detail-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  padding: 0 10px;
  background-color: white;
  border-radius: 20px 20px 0 0;
  position: sticky;
  top: 70px;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.tab-btn {
  flex: 1;
  padding: 20px 15px;
  background: none;
  border: none;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: all 0.3s ease;
}

.tab-btn.active {
  color: #004ff9;
}

.tab-btn.active::after {
  width: 70%;
}

/* Tab Panels */
.tab-panel {
  display: none;
  padding: 20px;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* About Section */
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  position: relative;
  padding-bottom: 8px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  background-color: #f9fafc;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-item i {
  font-size: 1.5rem;
  margin-right: 15px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  align-self: flex-start;
  margin-top: 3px;
}

.contact-details {
  flex: 1;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-value {
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
  word-break: break-word;
}

.directions-link,
.call-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 79, 249, 0.2);
}

.directions-link:hover,
.call-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 79, 249, 0.3);
}

.directions-link i,
.call-button i {
  margin-right: 6px;
  -webkit-text-fill-color: white;
}

.status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status.open {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50 !important;
}

.status.closed {
  background-color: rgba(244, 67, 54, 0.1);
  color: #f44336 !important;
}

/* Services Section */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-card {
  background-color: #f9fafc;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-content {
  display: flex;
  align-items: center;
  flex: 1;
}

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
  flex-shrink: 0;
}

.service-details {
  flex: 1;
}

.service-name {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.service-description {
  font-size: 0.85rem;
  color: #666;
}

.service-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.price-tag {
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.book-service-btn {
  display: flex;
  align-items: center;
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.book-service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 79, 249, 0.3);
}

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

.empty-services {
  text-align: center;
  padding: 40px 20px;
}

.empty-services i {
  font-size: 3rem;
  color: #ccc;
  margin-bottom: 15px;
}

.empty-services h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.empty-services p {
  color: #666;
  font-size: 0.95rem;
}

/* Reviews Section */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.write-review,
.write-first-review {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.write-review i,
.write-first-review i {
  margin-right: 8px;
}

.write-review:hover,
.write-first-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 79, 249, 0.3);
}

.review-form-container {
  background-color: #f9fafc;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.review-form-container.hidden {
  display: none;
}

.form-group {
  margin-bottom: 18px;
}

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

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: white;
  font-size: 1rem;
}

.form-input:focus {
  outline: none;
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.1);
}

.form-input::placeholder {
  color: #999;
}

/* Star Rating Select with Preview */
.star-rating-select {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.star-rating-select input {
  display: none;
}

.star-rating-select label {
  cursor: pointer;
  font-size: 1.8rem;
  padding: 5px;
  color: #ddd;
  transition: all 0.2s ease;
  margin: 0;
}

.star-rating-select label:hover,
.star-rating-select label:hover ~ label,
.star-rating-select input:checked ~ label,
.star-rating-select label.selected {
  color: #ffc107;
}

/* Rating Preview */
.rating-preview {
  margin-top: 8px;
  padding: 8px 12px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  font-weight: 500;
  color: #666;
}

.selected-rating {
  font-weight: 700;
  color: #004ff9;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-cancel {
  padding: 10px 20px;
  background-color: #f5f5f5;
  color: #666;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-submit {
  padding: 10px 20px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

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

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

/* Reviews List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.review-card {
  background-color: white;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.reviewer-info {
  display: flex;
  align-items: center;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 12px;
  flex-shrink: 0;
}

.reviewer-details {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.review-date {
  font-size: 0.8rem;
  color: #999;
}

.review-rating {
  display: flex;
  color: #ffc107;
  font-size: 0.9rem;
}

.review-body p {
  color: #666;
  line-height: 1.6;
}

.empty-reviews {
  text-align: center;
  padding: 40px 20px;
}

.empty-reviews i {
  font-size: 3rem;
  color: #ffc107;
  margin-bottom: 15px;
  opacity: 0.5;
}

.empty-reviews h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.empty-reviews p {
  color: #666;
  margin-bottom: 20px;
}

/* Action Bar */
.action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 15px;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 10px;
  z-index: 90;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

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

.action-btn.primary {
  background: var(--primary-gradient);
  color: white;
  flex: 2;
}

.action-btn.secondary {
  background-color: #f5f5f5;
  color: #666;
  flex: 1;
}

.action-btn.primary:hover {
  background: linear-gradient(45deg, #003bc0, #004ff9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 79, 249, 0.3);
}

.action-btn.secondary:hover {
  background-color: #ececec;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-btn.favorite.active {
  color: #ff3366;
}

.action-btn.favorite.active i {
  color: #ff3366;
}

/* Floating Book Button */
.floating-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  border-radius: 30px;
  background: var(--primary-gradient);
  color: white;
  font-weight: 600;
  border: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 80;
  box-shadow: 0 5px 15px rgba(0, 79, 249, 0.3);
  transition: all 0.3s ease;
}

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

.floating-book-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 79, 249, 0.4);
}

/* Booking Modal Styles */
.booking-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.booking-modal-content {
  background-color: white;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease;
}

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

.booking-modal-header {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 10;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.booking-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.close-booking-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-booking-modal:hover {
  color: #333;
  background-color: #f5f5f5;
}

.booking-modal-body {
  padding: 0 20px;
}

.booking-steps {
  display: flex;
  justify-content: space-between;
  margin: 20px 0 30px;
  position: relative;
}

.booking-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 2px;
  background-color: #e0e0e0;
  z-index: 1;
}

.booking-step {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #999;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step-label {
  font-size: 0.7rem;
  text-align: center;
  color: #999;
  transition: all 0.3s ease;
  font-weight: 500;
}

.booking-step.active .step-number {
  background: var(--primary-gradient);
  border-color: #004ff9;
  color: white;
}

.booking-step.active .step-label {
  color: #004ff9;
  font-weight: 600;
}

.booking-step.completed .step-number {
  background-color: #4BB543;
  border-color: #4BB543;
  color: white;
}

.booking-step.completed .step-number::after {
  content: '✓';
  font-size: 1.2rem;
}

.booking-step-content {
  padding: 0 0 30px;
}

.booking-step-content.hidden {
  display: none;
}

.booking-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

/* Service Selection Styles */
.services-selection {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: white;
}

.service-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-option.selected {
  border-color: #004ff9;
  background-color: #f0f5ff;
}

.service-option-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #e0f7fa, #b2ebf2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #00acc1;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.service-option-details {
  flex: 1;
}

.service-option-name {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.service-option-price {
  color: #004ff9;
  font-weight: 700;
}

.service-option-select {
  color: #999;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.service-option.selected .service-option-select {
  color: #004ff9;
}

.service-option.selected .service-option-select .fa-circle {
  display: none;
}

.service-option.selected .service-option-select::after {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

/* Date and Time Selection Styles */
.date-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.date-picker-container {
  flex: 1;
  min-width: 280px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 15px;
  background-color: white;
}

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

.prev-month, .next-month {
  background: none;
  border: none;
  color: #004ff9;
  cursor: pointer;
  font-size: 1.1rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.prev-month:hover, .next-month:hover {
  background-color: #f0f5ff;
}

.current-month-year {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.calendar-grid {
  width: 100%;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 10px;
}

.day-label {
  font-size: 0.8rem;
  color: #999;
  font-weight: 500;
  padding: 5px 0;
}

.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.date-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.date-cell:hover:not(.disabled):not(.selected) {
  background-color: #f5f5f5;
}

.date-cell.today {
  border: 1px solid #004ff9;
  color: #004ff9;
  font-weight: 600;
}

.date-cell.selected {
  background: var(--primary-gradient);
  color: white;
  font-weight: 600;
}

.date-cell.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.date-cell.other-month {
  color: #ccc;
}

.time-slots-container {
  flex: 1;
  min-width: 280px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 15px;
  max-height: 350px;
  overflow-y: auto;
  background-color: white;
}

.time-slots-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  font-size: 1rem;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
}

.time-slot {
  padding: 10px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  background-color: white;
}

.time-slot:hover:not(.unavailable) {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  border-color: #ccc;
}

.time-slot.selected {
  border-color: #004ff9;
  background-color: #f0f5ff;
  color: #004ff9;
  font-weight: 600;
}

.time-slot.unavailable {
  background-color: #f5f5f5;
  color: #aaa;
  cursor: not-allowed;
  text-decoration: line-through;
}

.no-slots-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: #ff3366;
}

.no-slots-message i {
  font-size: 2rem;
  margin-bottom: 10px;
}

.no-slots-message.hidden {
  display: none;
}

/* Your Information Styles */
#bookingForm {
  max-width: 100%;
}

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

#bookingForm label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

#bookingForm .form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: white;
  font-size: 1rem;
}

#bookingForm .form-input:focus {
  outline: none;
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.1);
}

#bookingForm .form-input:disabled {
  background-color: #f9f9f9;
  color: #666;
}

.login-required {
  text-align: center;
  padding: 30px;
}

.login-required i {
  font-size: 3rem;
  color: #004ff9;
  margin-bottom: 15px;
}

.login-required h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.login-required p {
  color: #666;
}

.login-required a {
  color: #004ff9;
  font-weight: 600;
}

/* Confirmation Styles */
.booking-confirmation {
  text-align: center;
  padding: 20px 0;
}

.confirmation-icon {
  font-size: 3rem;
  color: #4BB543;
  margin-bottom: 15px;
}

.confirmation-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #333;
}

.booking-details {
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

.booking-detail {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.detail-label {
  width: 100px;
  font-weight: 600;
  color: #666;
}

.detail-value {
  flex: 1;
  color: #333;
}

.confirmation-message {
  margin-top: 25px;
  color: #666;
  line-height: 1.6;
}

.confirmation-message a {
  color: #004ff9;
  font-weight: 600;
}

/* Footer Actions */
.booking-modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  position: sticky;
  bottom: 0;
  background-color: white;
  z-index: 10;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.btn-back-step, .btn-next-step, .btn-finish {
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.btn-back-step {
  background-color: #f5f5f5;
  color: #666;
}

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

.btn-next-step {
  background: var(--primary-gradient);
  color: white;
  margin-left: auto;
}

.btn-next-step i {
  margin-left: 8px;
}

.btn-finish {
  background: #4BB543;
  color: white;
  margin-left: auto;
}

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

.btn-back-step:hover, .btn-next-step:hover, .btn-finish:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-back-step.hidden, .btn-next-step.hidden, .btn-finish.hidden {
  display: none;
}

/* Modal Open Body Style */
body.modal-open {
  overflow: hidden;
}

/* Responsive Design for Larger Screens */
@media (min-width: 768px) {
  .shop-hero {
    height: 400px;
  }
  
  .mobile-header {
    display: none;
  }
  
  .shop-hero {
    margin-top: 0;
  }
  
  .back-navigation {
    position: fixed;
    left: 30px;
    top: 100px;
    z-index: 100;
  }
  
  .btn-back {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: white;
    border-radius: 50px;
    color: var(--text-color);
    font-weight: 500;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
  }
  
  .btn-back i {
    margin-right: 8px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .btn-back:hover {
    background: var(--primary-gradient);
    color: white;
  }
  
  .btn-back:hover i {
    -webkit-text-fill-color: white;
  }
  
  .detail-tabs {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
  }
  
  .tab-btn {
    flex: 0 0 auto;
    padding: 20px 30px;
  }
  
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .reviews-header {
    flex-wrap: nowrap;
  }
  
  .action-bar {
    position: static;
    width: auto;
    padding: 20px 0 0;
    box-shadow: none;
    background: transparent;
  }
  
  .floating-book-btn {
    display: none;
  }
  
  .service-action {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  
  .booking-modal-content {
    width: 80%;
  }
}

/* Responsive for Extra Large Screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .shop-hero {
    height: 500px;
  }
  
  .shop-title {
    font-size: 2.2rem;
  }
}

/* Detail Page Styles - Modern, Mobile-First Approach */

/* Main Container */
.detail-page {
  position: relative;
  background-color: #f7f9ff;
  min-height: 100vh;
  padding-bottom: 80px;
}

/* Mobile Header (Fixed Position) */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-button {
  display: flex;
  align-items: center;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.back-button i {
  margin-right: 8px;
  font-size: 1.1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.back-button:hover {
  transform: translateX(-3px);
}

.mobile-save-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-save-btn.active {
  color: #ff3366;
}

.mobile-save-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.shop-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  margin-top: 70px;
}

.hero-gallery {
  width: 100%;
  height: 100%;
}

.main-image {
  width: 100%;
  height: 100%;
  position: relative;
}

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

.image-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.image-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: #004ff9;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1rem;
}

.image-nav:hover {
  transform: scale(1.1);
  background: var(--primary-gradient);
  color: white;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.5) 50%, transparent);
  padding: 25px 0;
}

.shop-quick-info {
  color: white;
}

.shop-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.shop-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shop-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.stars {
  display: flex;
  color: #ffc107;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.stars i {
  margin-right: 2px;
}

.rating-value {
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.review-count {
  opacity: 0.9;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.shop-location {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.shop-location i {
  margin-right: 8px;
  margin-top: 3px;
  min-width: 14px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.shop-status {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.shop-status i {
  margin-right: 6px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.status {
  font-weight: 600;
}

.status.open {
  color: #4caf50 !important;
}

.status.closed {
  color: #f44336 !important;
}

/* Main Content */
.detail-content {
  background-color: white;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  margin-top: -20px;
  position: relative;
  z-index: 10;
  padding-bottom: 20px;
}

/* Tab Navigation */
.detail-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  padding: 0 10px;
  background-color: white;
  border-radius: 20px 20px 0 0;
  position: sticky;
  top: 70px;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.tab-btn {
  flex: 1;
  padding: 20px 15px;
  background: none;
  border: none;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: all 0.3s ease;
}

.tab-btn.active {
  color: #004ff9;
}

.tab-btn.active::after {
  width: 70%;
}

/* Tab Panels */
.tab-panel {
  display: none;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

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

/* Section Titles */
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  position: relative;
  padding-bottom: 8px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

/* About Section */
.description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 20px;
}

.contact-card {
  display: flex;
  background-color: #f9fafc;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  align-self: flex-start;
  margin-top: 3px;
}

.contact-info {
  flex: 1;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-value {
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
  word-break: break-word;
}

.directions-link,
.call-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 79, 249, 0.2);
}

.directions-link:hover,
.call-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 79, 249, 0.3);
}

.directions-link i,
.call-button i {
  margin-right: 6px;
  -webkit-text-fill-color: white;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-badge.open {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50 !important;
}

.status-badge.closed {
  background-color: rgba(244, 67, 54, 0.1);
  color: #f44336 !important;
}

/* Services Section - Modernized */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.service-card {
  background-color: #f9fafc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.service-name {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 1.1rem;
}

.service-price {
  display: flex;
  align-items: center;
}

.price-tag {
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-action {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.book-service-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 79, 249, 0.2);
}

.book-service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 79, 249, 0.3);
}

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

/* Empty States */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9fafc;
  border-radius: 12px;
}

.empty-state i {
  font-size: 3rem;
  color: #ccc;
  margin-bottom: 15px;
}

.empty-state h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.empty-state p {
  color: #666;
  font-size: 0.95rem;
}

/* Reviews Section */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.write-review-btn,
.write-first-review {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0, 79, 249, 0.2);
}

.write-review-btn i,
.write-first-review i {
  margin-right: 8px;
}

.write-review-btn:hover,
.write-first-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 79, 249, 0.3);
}

.review-form-container {
  background-color: #f9fafc;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.review-form-container.hidden {
  display: none;
}

.form-group {
  margin-bottom: 18px;
}

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

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: white;
  font-size: 1rem;
}

.form-input:focus {
  outline: none;
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.1);
}

.form-input::placeholder {
  color: #999;
}

/* Star Rating Select with Preview */
.star-rating-select {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.star-rating-select input {
  display: none;
}

.star-rating-select label {
  cursor: pointer;
  font-size: 1.8rem;
  padding: 5px;
  color: #ddd;
  transition: all 0.2s ease;
  margin: 0;
}

.star-rating-select label:hover,
.star-rating-select label:hover ~ label,
.star-rating-select input:checked ~ label,
.star-rating-select label.selected {
  color: #ffc107;
}

/* Rating Preview */
.rating-preview {
  margin-top: 8px;
  padding: 8px 12px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  font-weight: 500;
  color: #666;
}

.selected-rating {
  font-weight: 700;
  color: #004ff9;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-cancel {
  padding: 10px 20px;
  background-color: #f5f5f5;
  color: #666;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-submit {
  padding: 10px 20px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  cursor: pointer;
}

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

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

/* Reviews List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.review-card {
  background-color: white;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.reviewer-info {
  display: flex;
  align-items: center;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 12px;
  flex-shrink: 0;
}

.reviewer-details {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.review-date {
  font-size: 0.8rem;
  color: #999;
}

.review-rating {
  display: flex;
  color: #ffc107;
  font-size: 0.9rem;
}

.review-body p {
  color: #666;
  line-height: 1.6;
}

/* Action Bar */
.action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 15px;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 10px;
  z-index: 90;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.action-btn.primary {
  background: var(--primary-gradient);
  color: white;
  flex: 2;
  box-shadow: 0 3px 8px rgba(0, 79, 249, 0.2);
}

.action-btn.secondary {
  background-color: #f5f5f5;
  color: #666;
  flex: 1;
}

.action-btn.primary:hover {
  background: linear-gradient(45deg, #003bc0, #004ff9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 79, 249, 0.3);
}

.action-btn.secondary:hover {
  background-color: #ececec;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-btn.favorite.active {
  color: #ff3366;
}

.action-btn.favorite.active i {
  color: #ff3366;
}

/* Booking Modal Styles */
.booking-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.booking-modal-content {
  background-color: white;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease;
}

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

.booking-modal-header {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 10;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.booking-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.close-booking-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-booking-modal:hover {
  color: #333;
  background-color: #f5f5f5;
}

.booking-modal-body {
  padding: 0 20px;
}

.booking-steps {
  display: flex;
  justify-content: space-between;
  margin: 20px 0 30px;
  position: relative;
}

.booking-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 2px;
  background-color: #e0e0e0;
  z-index: 1;
}

.booking-step {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #999;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step-label {
  font-size: 0.7rem;
  text-align: center;
  color: #999;
  transition: all 0.3s ease;
  font-weight: 500;
}

.booking-step.active .step-number {
  background: var(--primary-gradient);
  border-color: #004ff9;
  color: white;
}

.booking-step.active .step-label {
  color: #004ff9;
  font-weight: 600;
}

.booking-step.completed .step-number {
  background-color: #4BB543;
  border-color: #4BB543;
  color: white;
}

.booking-step.completed .step-number::after {
  content: '✓';
  font-size: 1.2rem;
}

.booking-step-content {
  padding: 0 0 30px;
}

.booking-step-content.hidden {
  display: none;
}

.booking-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

/* Services Selection Styles */
.services-selection {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: white;
}

.service-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-option.selected {
  border-color: #004ff9;
  background-color: #f0f5ff;
}

.service-option-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #e0f7fa, #b2ebf2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #00acc1;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.service-option-details {
  flex: 1;
}

.service-option-name {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.service-option-price {
  color: #004ff9;
  font-weight: 700;
}

.service-option-select {
  color: #999;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.service-option.selected .service-option-select {
  color: #004ff9;
}

/* Booking Modal Footer */
.booking-modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  position: sticky;
  bottom: 0;
  background-color: white;
  z-index: 10;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.btn-back-step, .btn-next-step, .btn-finish {
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.btn-back-step {
  background-color: #f5f5f5;
  color: #666;
}

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

.btn-next-step {
  background: var(--primary-gradient);
  color: white;
  margin-left: auto;
}

.btn-next-step i {
  margin-left: 8px;
}

.btn-finish {
  background: #4BB543;
  color: white;
  margin-left: auto;
}

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

.btn-back-step:hover, .btn-next-step:hover, .btn-finish:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-back-step.hidden, .btn-next-step.hidden, .btn-finish.hidden {
  display: none;
}

/* Modal Open Body Style */
body.modal-open {
  overflow: hidden;
}

/* Responsive Design for Larger Screens */
@media (min-width: 768px) {
  .shop-hero {
    height: 400px;
  }
  
  .mobile-header {
    display: none;
  }
  
  .shop-hero {
    margin-top: 0;
  }
  
  .shop-title {
    font-size: 2.2rem;
  }
  
  .shop-meta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
  }
  
  .detail-tabs {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
  }
  
  .tab-btn {
    flex: 0 0 auto;
    padding: 20px 30px;
  }
  
  .contact-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .reviews-header {
    flex-wrap: nowrap;
  }
  
  /* Modified service card for larger screens */
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  }
  
  .service-card {
    padding: 20px;
  }
  
  .service-name {
    font-size: 1.2rem;
  }
  
  .price-tag {
    font-size: 1.3rem;
  }
  
  .action-bar {
    position: static;
    width: auto;
    padding: 20px 0 0;
    box-shadow: none;
    background: transparent;
  }
  
  .booking-modal-content {
    width: 80%;
    max-width: 700px;
  }
}

/* Responsive for Extra Large Screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .shop-hero {
    height: 500px;
  }
  
  .shop-title {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  }
}

/* Modern Detail Page Styles - Fixed Functionality */

/* Base Variables */
:root {
  --primary-color: #4c6fff;
  --primary-dark: #3757e5;
  --secondary-color: #ff3a5e;
  --secondary-dark: #e62e50;
  --success-color: #22c55e;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-light: #64748b;
  --text-xlight: #94a3b8;
  --border-color: #e2e8f0;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
}

/* Base Reset */
body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fix for modal scrolling issue */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Detail Page Container */
.detail-page {
  min-height: 100vh;
  position: relative;
  padding-bottom: 90px;
}

/* Floating Back Button */
.floating-back {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
}

.back-button-float {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  border: none;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.back-button-float:hover {
  transform: translateX(-3px);
  background-color: white;
}

.back-button-float i {
  font-size: 1rem;
}

/* Hero Section */
.shop-hero {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.hero-gallery {
  width: 100%;
  height: 100%;
  position: relative;
}

.main-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.detail-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

/* Floating Save Button */
.floating-save-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-xlight);
  border: none;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  cursor: pointer;
}

.floating-save-btn.active {
  color: var(--secondary-color);
}

.floating-save-btn:hover {
  transform: scale(1.1);
}

/* Image Dots Navigation */
.image-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-normal);
}

.dot.active {
  background-color: white;
  width: 24px;
  border-radius: 4px;
}

/* Hero Info Card */
.hero-info-card {
  position: relative;
  z-index: 20;
  margin-top: -60px;
  margin-bottom: 20px;
}

.hero-info-card .container {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
  padding: 24px 20px 0;
  box-shadow: var(--shadow-lg);
}

.shop-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-medium);
  font-weight: 500;
}

.rating-badge i {
  color: var(--warning-color);
}

.rating-value {
  font-weight: 600;
}

.review-count {
  color: var(--text-light);
  font-size: 0.9rem;
}

.shop-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-medium);
  font-size: 0.95rem;
}

.shop-location i {
  color: var(--primary-color);
  margin-top: 3px;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: #f1f5f9;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.availability-pill i {
  color: var(--primary-color);
}

.status {
  font-weight: 600;
}

.status.open {
  color: var(--success-color);
}

.status.closed {
  color: var(--danger-color);
}

/* Tab Navigation */
.tab-nav-container {
  overflow-x: auto;
  margin-bottom: 24px;
  -ms-overflow-style: none;  /* Hide scrollbar in IE and Edge */
  scrollbar-width: none;  /* Hide scrollbar in Firefox */
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--bg-color);
  padding: 12px 0;
}

.tab-nav-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar in Chrome and Safari */
}

.detail-tabs {
  display: flex;
  gap: 12px;
  padding-bottom: 4px;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.tab-btn.active {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 10px rgba(76, 111, 255, 0.3);
}

/* Tab Content */
.tab-content {
  margin-bottom: 100px; /* Extra space for floating buttons */
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

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

/* Section Title */
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* Info Cards */
.info-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.info-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.description {
  color: var(--text-medium);
  line-height: 1.7;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

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

.info-card-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.info-card-body {
  color: var(--text-medium);
  margin-bottom: 16px;
}

.info-card-footer {
  margin-top: auto;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-normal);
  box-shadow: 0 4px 10px rgba(76, 111, 255, 0.2);
}

.btn-action:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 14px rgba(76, 111, 255, 0.3);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.status-dot {
  font-weight: 600;
  position: relative;
  padding-left: 16px;
}

.status-dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.status-dot.open::before {
  background-color: var(--success-color);
}

.status-dot.closed::before {
  background-color: var(--danger-color);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(76, 111, 255, 0.1);
  color: var(--primary-color);
  border-radius: var(--border-radius-sm);
  margin-right: 16px;
  flex-shrink: 0;
}

.service-content {
  flex: 1;
}

.service-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 4px 0;
}

.service-price {
  font-weight: 700;
  color: var(--primary-color);
}

.service-action {
  margin-left: 16px;
}

.book-btn {
  padding: 8px 16px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: 0 4px 10px rgba(76, 111, 255, 0.2);
  white-space: nowrap;
}

.book-btn:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 14px rgba(76, 111, 255, 0.3);
}

/* Floating Action Buttons Group */
.floating-action-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}

.floating-action-button {
  padding: 10px 20px;
  background-color: var(--card-bg);
  border: none;
  border-radius: 100px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
  color: var(--text-medium);
}

.floating-action-button:hover {
  transform: translateY(-3px);
}

.floating-action-button.book-btn {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 6px 16px rgba(76, 111, 255, 0.3);
}

.floating-action-button.book-btn:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(76, 111, 255, 0.4);
}

.floating-action-button.save-btn {
  background-color: white;
}

.floating-action-button.save-btn.active {
  color: var(--secondary-color);
}

.floating-action-button.share-btn {
  background-color: white;
}

/* Actions Toolbar */
.actions-toolbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background-color: white;
  padding: 16px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
  z-index: 80;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.action-btn i {
  font-size: 1.2rem;
}

.action-btn.book-action {
  color: var(--primary-color);
}

.action-btn.save-action.active {
  color: var(--secondary-color);
}

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

/* Modern Booking Modal */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.booking-modal.active {
  opacity: 1;
  visibility: visible;
}

.booking-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.booking-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  background-color: white;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.booking-modal.active .booking-modal-content {
  transform: translate(-50%, -50%) scale(1);
}

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

.booking-title {
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  font-size: 1.3rem;
}

.close-booking-modal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: #f1f5f9;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition-normal);
}

.close-booking-modal:hover {
  background-color: #e2e8f0;
  color: var(--text-dark);
}

.booking-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

/* Rest of the CSS stays the same as the previous version */
/* Mobile responsiveness enhancements */
@media (max-width: 768px) {
  .floating-action-buttons {
    display: none; /* Hide on mobile as we use the bottom toolbar instead */
  }
  
  .actions-toolbar {
    display: flex;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .actions-toolbar {
    display: none; /* Hide bottom toolbar on desktop */
  }
  
  .floating-action-buttons {
    display: flex;
  }
}

/* Modern Booking Modal with Horizontal Steps */

/* Modal Container */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.booking-modal.active {
  opacity: 1;
}

.booking-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.booking-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 92%;
  max-width: 800px;
  max-height: 92vh;
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.booking-modal.active .booking-modal-content {
  transform: translate(-50%, -50%) scale(1);
}

/* Modal Header */
.booking-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #fbfbfd, #ffffff);
}

.booking-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

.close-booking-modal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f5f7fa;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #64748b;
}

.close-booking-modal:hover {
  background-color: #e2e8f0;
  color: #1a202c;
  transform: rotate(90deg);
}

/* Modal Body */
.booking-modal-body {
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

/* Horizontal Progress Steps */
.booking-progress {
  padding: 30px 24px 20px;
  position: relative;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* Progress Bar Line */
.progress-bar {
  position: absolute;
  top: 54px;
  left: 24px;
  right: 24px;
  height: 4px;
  background-color: #e2e8f0;
  border-radius: 2px;
  z-index: 1;
  overflow: hidden;
}

.progress-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #004ff9, #7a9fff);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step Indicators */
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24%;
  transition: all 0.3s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.progress-step.bounce-step .step-number {
  animation: bounce 0.5s ease;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8fafc;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.step-label {
  font-size: 0.9rem;
  text-align: center;
  color: #64748b;
  font-weight: 500;
  transition: all 0.3s ease;
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Active Step */
.progress-step.active .step-number {
  border-color: #004ff9;
  background: linear-gradient(135deg, #004ff9, #7a9fff);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(0, 79, 249, 0.25);
}

.progress-step.active .step-label {
  color: #004ff9;
  font-weight: 600;
}

/* Completed Step */
.progress-step.completed .step-number {
  background-color: #10b981;
  border-color: #10b981;
  color: white;
}

.progress-step.completed .step-number::before {
  content: '✓';
  font-size: 1.2rem;
}

/* Step Content */
.booking-step-content {
  padding: 24px;
  animation: fadeIn 0.4s ease;
}

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

.booking-step-content.hidden {
  display: none;
}

.booking-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 20px;
}

/* Service Selection */
.services-selection {
  max-height: 400px;
  overflow-y: auto;
  padding: 5px;
  margin: 0 -5px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}

.service-option {
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.service-option.selected {
  border-color: #004ff9;
  background-color: #f0f7ff;
  box-shadow: 0 8px 20px rgba(0, 79, 249, 0.1);
}

.service-option.selected::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #004ff9, #7a9fff);
  border-radius: 12px 0 0 12px;
}

.service-option-icon {
  width: 44px;
  height: 44px;
  background-color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  color: #004ff9;
  font-size: 1.2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-option.selected .service-option-icon {
  background: linear-gradient(135deg, #004ff9, #7a9fff);
  color: white;
}

.service-option-details {
  flex: 1;
}

.service-option-name {
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.service-option-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #004ff9;
}

.service-option-select {
  color: #cbd5e1;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.service-option.selected .service-option-select {
  color: #10b981;
}

.service-option.selected .service-option-select .fa-circle {
  display: none;
}

.service-option.selected .service-option-select .fa-check-circle {
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

/* Date Selection */
.date-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.date-picker {
  flex: 1;
  min-width: 300px;
  background-color: #f8fafc;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.prev-month, .next-month {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.prev-month:hover, .next-month:hover {
  background-color: #004ff9;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 79, 249, 0.2);
}

.current-month-year {
  font-weight: 600;
  color: #1a202c;
  font-size: 1.1rem;
}

.calendar-grid {
  width: 100%;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 10px;
}

.day-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  padding: 8px 0;
}

.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.date-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  color: #1a202c;
}

.date-cell:hover:not(.disabled):not(.other-month) {
  background-color: #f1f5f9;
}

.date-cell.today {
  border: 2px solid #004ff9;
  color: #004ff9;
  font-weight: 600;
}

.date-cell.selected {
  background: linear-gradient(135deg, #004ff9, #7a9fff);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 79, 249, 0.25);
  transform: scale(1.05);
}

.date-cell.disabled, .date-cell.other-month {
  color: #cbd5e1;
  cursor: not-allowed;
}

/* Time Slots */
.time-slots-section {
  flex: 1;
  min-width: 300px;
}

.time-slots-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a202c;
  font-size: 1.1rem;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  padding: 3px;
}

.time-slot {
  padding: 12px 10px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  color: #1a202c;
}

.time-slot:hover:not(.unavailable) {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.time-slot.selected {
  background: linear-gradient(135deg, #004ff9, #7a9fff);
  color: white;
  border-color: #004ff9;
  box-shadow: 0 4px 12px rgba(0, 79, 249, 0.25);
}

.time-slot.unavailable {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  text-decoration: line-through;
}

.no-slots-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
  color: #f43f5e;
  background-color: #fff1f2;
  border-radius: 12px;
  margin-top: 10px;
}

.no-slots-message i {
  font-size: 2rem;
  margin-bottom: 15px;
}

.no-slots-message.hidden {
  display: none;
}

/* Customer Information Form */
#bookingForm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

#bookingForm .form-group {
  margin-bottom: 5px;
}

#bookingForm label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #1a202c;
  font-size: 0.95rem;
}

#bookingForm .form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
  background-color: #f8fafc;
  font-size: 1rem;
  color: #1a202c;
}

#bookingForm .form-input:focus {
  outline: none;
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.1);
  background-color: white;
}

#bookingForm .form-input:disabled {
  background-color: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}

#bookingForm textarea.form-input {
  grid-column: 1 / -1; /* Make textarea full width */
  resize: vertical;
  min-height: 120px;
}

/* Confirmation Step */
.booking-confirmation {
  text-align: center;
  padding: 20px 0;
}

.confirmation-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 20px;
  animation: pulseScale 2s infinite;
}

@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.confirmation-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1a202c;
  background: linear-gradient(90deg, #004ff9, #7a9fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.booking-summary {
  max-width: 500px;
  margin: 0 auto;
  background-color: #f8fafc;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

.summary-item {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.summary-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.summary-label {
  width: 100px;
  font-weight: 600;
  color: #64748b;
}

.summary-value {
  flex: 1;
  color: #1a202c;
  font-weight: 500;
}

.confirmation-message {
  color: #64748b;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.confirmation-message a {
  color: #004ff9;
  font-weight: 600;
}

/* Modal Footer */
.booking-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  background-color: #f8fafc;
}

.btn-back-step, .btn-next-step, .btn-finish {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back-step {
  background-color: white;
  color: #64748b;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.btn-back-step:hover {
  background-color: #f1f5f9;
  color: #1a202c;
}

.btn-next-step {
  background: linear-gradient(90deg, #004ff9, #7a9fff);
  color: white;
  margin-left: auto;
  box-shadow: 0 4px 12px rgba(0, 79, 249, 0.2);
}

.btn-next-step i {
  margin-left: 8px;
}

.btn-finish {
  background: linear-gradient(90deg, #10b981, #34d399);
  color: white;
  margin-left: auto;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

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

.btn-next-step:hover, .btn-finish:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-back-step.hidden, .btn-next-step.hidden, .btn-finish.hidden {
  display: none;
}

/* Login Required State */
.login-required {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8fafc;
  border-radius: 14px;
}

.login-required i {
  font-size: 3rem;
  color: #004ff9;
  margin-bottom: 20px;
  opacity: 0.7;
}

.login-required h5 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a202c;
}

.login-required p {
  color: #64748b;
  font-size: 1.05rem;
}

.login-required a {
  color: #004ff9;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .progress-steps {
    padding: 0 10px;
  }
  
  .step-label {
    font-size: 0.8rem;
  }
  
  .services-selection {
    grid-template-columns: 1fr;
  }
  
  .date-selection {
    flex-direction: column;
  }
  
  .booking-modal-footer {
    flex-direction: column-reverse;
    gap: 10px;
  }
  
  .btn-back-step, .btn-next-step, .btn-finish {
    width: 100%;
    justify-content: center;
  }
  
  #bookingForm {
    grid-template-columns: 1fr;
  }
  
  .summary-item {
    flex-direction: column;
  }
  
  .summary-label {
    width: 100%;
    margin-bottom: 5px;
  }
}

/* Small devices adjustment */
@media (max-width: 576px) {
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  .step-label {
    font-size: 0.75rem;
    max-width: 70px;
  }
  
  .booking-subtitle {
    font-size: 1.1rem;
  }
  
  .time-slots {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }
}

/* Late Policy Alert Styling */
.late-policy-alert {
  display: flex;
  align-items: flex-start;
  background: linear-gradient(to right, rgba(254, 243, 199, 0.3), rgba(254, 252, 232, 0.7));
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.15);
  animation: fadeIn 0.5s ease;
  position: relative;
  overflow: hidden;
}

.late-policy-alert::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(to left, rgba(254, 243, 199, 0.6), transparent);
  z-index: 1;
}

.late-policy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #fef3c7;
  color: #d97706;
  border-radius: 50%;
  margin-right: 16px;
}

.late-policy-icon i {
  font-size: 1.2rem;
}

.late-policy-content {
  flex: 1;
}

.late-policy-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #92400e;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
}

.late-policy-text {
  color: #78350f;
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Confirmation Page Punctuality Reminder */
.punctuality-reminder {
  font-weight: 600;
  color: #92400e;
  background-color: #fef3c7;
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .late-policy-alert {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
  }
  
  .late-policy-icon {
    margin: 0 0 12px 0;
  }
}

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

/* Punctuality Notice Styling for Appointment Cards */
.punctuality-notice {
  display: flex;
  align-items: flex-start;
  background-color: rgba(254, 243, 199, 0.4);
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  padding: 12px;
  margin: 12px 0;
  position: relative;
}

.punctuality-icon {
  flex-shrink: 0;
  color: #d97706;
  font-size: 1.1rem;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.punctuality-content {
  flex: 1;
}

.punctuality-text {
  margin: 0;
  color: #78350f;
  font-size: 0.9rem;
  line-height: 1.4;
}

.punctuality-highlight {
  font-weight: 700;
  color: #92400e;
}

/* Animation */
@keyframes gentle-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.appointment-card:hover .punctuality-notice {
  animation: gentle-pulse 2s infinite;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .punctuality-notice {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 10px;
  }
  
  .punctuality-icon {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* Support Page Styles */
.support-page {
  padding: 40px 0 80px;
  background-color: var(--background-alt);
  min-height: calc(100vh - 70px);
}

.support-header {
  text-align: center;
  margin-bottom: 40px;
}

.support-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-color);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.support-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.support-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* Contact Cards */
.support-contact-card,
.support-form-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.support-contact-card:hover,
.support-form-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-card-header {
  padding: 25px;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-card-header i {
  font-size: 2rem;
}

.contact-card-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.contact-card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Contact Info Items */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 5px;
}

.contact-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--text-color);
}

.contact-details p {
  margin: 0 0 5px 0;
  color: var(--text-light);
}

/* WhatsApp Button */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  margin-top: 10px;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-button i {
  font-size: 1.2rem;
  -webkit-text-fill-color: white;
}

/* Form Styles */
.support-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.support-form .form-group {
  margin-bottom: 0;
}

.support-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.support-form .form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
  background-color: #f9fafc;
}

.support-form .form-input:focus {
  outline: none;
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.1);
  background-color: white;
}

.support-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 25px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  margin-top: 10px;
}

.support-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.support-submit-btn.success {
  background: linear-gradient(45deg, #10b981, #34d399);
}

/* FAQ Section */
.faq-section {
  margin: 40px 0;
}

.faq-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-color);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-color);
}

.faq-question i {
  font-size: 1rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

/* Social Media Section */
.support-social {
  padding: 40px 0;
  text-align: center;
}

.social-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-color);
}

.social-icons-large {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.social-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background-color: white;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.social-icon-box i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.social-icon-box span {
  font-weight: 500;
  color: var(--text-color);
}

.social-icon-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Specific social icon colors */
.social-icon-box:nth-child(1) i {
  color: #3b5998; /* Facebook */
}

.social-icon-box:nth-child(2) i {
  color: #e1306c; /* Instagram */
}

.social-icon-box:nth-child(3) i {
  color: #1da1f2; /* Twitter */
}

.social-icon-box:nth-child(4) i {
  color: #25D366; /* WhatsApp */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .support-title {
    font-size: 2rem;
  }
  
  .support-subtitle {
    font-size: 1rem;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
  }
  
  .social-icons-large {
    gap: 10px;
  }
  
  .social-icon-box {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .support-title {
    font-size: 1.8rem;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .contact-card-header h2 {
    font-size: 1.3rem;
  }
  
  .contact-details h3 {
    font-size: 1rem;
  }
  
  .social-icon-box {
    width: 80px;
    height: 80px;
  }
  
  .social-icon-box i {
    font-size: 2rem;
  }
}

/* Support Page Styles */
.support-page {
  padding: 40px 0 80px;
  background-color: var(--background-alt);
  min-height: calc(100vh - 70px);
}

.support-header {
  text-align: center;
  margin-bottom: 40px;
}

.support-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-color);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.support-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.support-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* Contact Cards */
.support-contact-card,
.support-form-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.support-contact-card:hover,
.support-form-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-card-header {
  padding: 25px;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-card-header i {
  font-size: 2rem;
}

.contact-card-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.contact-card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Contact Info Items */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 5px;
}

.contact-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--text-color);
}

.contact-details p {
  margin: 0 0 5px 0;
  color: var(--text-light);
}

/* WhatsApp Button */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  margin-top: 10px;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-button i {
  font-size: 1.2rem;
  -webkit-text-fill-color: white;
}

/* Form Styles */
.support-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.support-form .form-group {
  margin-bottom: 0;
}

.support-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.support-form .form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
  background-color: #f9fafc;
}

.support-form .form-input:focus {
  outline: none;
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.1);
  background-color: white;
}

.support-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 25px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  margin-top: 10px;
}

.support-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.support-submit-btn.success {
  background: linear-gradient(45deg, #10b981, #34d399);
}

.support-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Form Status Message */
.form-status {
  padding: 12px 15px;
  border-radius: var(--border-radius);
  margin-top: 15px;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-left: 4px solid #10b981;
}

.form-status.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-left: 4px solid #ef4444;
}

/* FAQ Section */
.faq-section {
  margin: 40px 0;
}

.faq-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-color);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-color);
}

.faq-question i {
  font-size: 1rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

/* Social Media Section */
.support-social {
  padding: 40px 0;
  text-align: center;
}

.social-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-color);
}

.social-icons-large {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.social-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background-color: white;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.social-icon-box i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.social-icon-box span {
  font-weight: 500;
  color: var(--text-color);
}

.social-icon-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Specific social icon colors */
.social-icon-box:nth-child(1) i {
  color: #3b5998; /* Facebook */
}

.social-icon-box:nth-child(2) i {
  color: #e1306c; /* Instagram */
}

.social-icon-box:nth-child(3) i {
  color: #1da1f2; /* Twitter */
}

.social-icon-box:nth-child(4) i {
  color: #25D366; /* WhatsApp */
}

/* Fix for loading overlay */
.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .support-title {
    font-size: 2rem;
  }
  
  .support-subtitle {
    font-size: 1rem;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
  }
  
  .social-icons-large {
    gap: 10px;
  }
  
  .social-icon-box {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .support-title {
    font-size: 1.8rem;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .contact-card-header h2 {
    font-size: 1.3rem;
  }
  
  .contact-details h3 {
    font-size: 1rem;
  }
  
  .social-icon-box {
    width: 80px;
    height: 80px;
  }
  
  .social-icon-box i {
    font-size: 2rem;
  }
}

/* Loading Overlay Fixes */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  text-align: center;
  color: white;
}

.loader-circle {
  margin: 0 auto 10px;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #004ff9;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll animation styles */
.hero-section {
  position: relative;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.scroll-icon {
  font-size: 24px;
  animation: bounce 2s infinite;
}

.scroll-text {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.mouse-icon {
  width: 24px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 12px;
  margin-top: 10px;
  position: relative;
}

.mouse-wheel {
  position: absolute;
  width: 4px;
  height: 8px;
  background: #fff;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

/* Keyframes for scroll animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

/* For smooth scrolling */
html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 20px;
  }
  
  .scroll-text {
    font-size: 12px;
  }
  
  .mouse-icon {
    width: 20px;
    height: 30px;
  }
}

/* Animation for results section when scrolled to */
.results-section {
  scroll-margin-top: 20px;
}

.section-title {
  position: relative;
  opacity: 0;
  animation: fadeIn 0.8s forwards;
  animation-delay: 0.3s;
}

.cards-container {
  opacity: 0;
  animation: fadeIn 0.8s forwards;
  animation-delay: 0.5s;
}

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

/* Modern Testimonials Footer Styles */
.site-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #004ff9 0%, #00c4ff 100%);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.testimonials-header-section {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(45deg, #004ff9, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.testimonials-subtitle {
  font-size: 1.125rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* Testimonials Loading Spinner */
.testimonials-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 79, 249, 0.1);
  border-radius: 50%;
  border-top-color: #004ff9;
  animation: spin 1s linear infinite;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Testimonials Slider */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #004ff9 0%, #00c4ff 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.testimonial-quote {
  font-size: 3rem;
  position: absolute;
  top: 10px;
  right: 15px;
  opacity: 0.05;
  color: #004ff9;
}

.testimonial-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 1.5rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-meta {
  flex: 1;
}

.testimonial-author {
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
}

.testimonial-rating {
  color: #ffc107;
  font-size: 0.875rem;
}

.testimonial-date {
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

/* Empty state */
.no-testimonials {
  background: rgba(0, 79, 249, 0.05);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.no-testimonials i {
  font-size: 3rem;
  color: #004ff9;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-testimonials-text {
  color: #495057;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* Testimonial Form Section */
.testimonial-form-section {
  max-width: 600px;
  margin: 2rem auto 4rem;
  border-radius: 12px;
}

.testimonial-form-container {
  text-align: center;
}

.write-testimonial-btn {
  background: linear-gradient(90deg, #004ff9 0%, #00c4ff 100%);
  color: white;
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 79, 249, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.write-testimonial-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 79, 249, 0.3);
}

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

.testimonial-form {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: left;
  animation: slideDown 0.3s ease forwards;
}

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

.testimonial-form-header {
  margin-bottom: 1.5rem;
}

.testimonial-form-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #212529;
}

.testimonial-form-subheader {
  color: #6c757d;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #212529;
}

/* Star Rating Component */
.star-rating-container {
  position: relative;
  margin-bottom: 0.5rem;
}

.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.star-rating input {
  display: none;
}

.star-rating label {
  cursor: pointer;
  color: #e0e0e0;
  font-size: 1.75rem;
  margin: 0 0.125rem;
  transition: color 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #ffc107;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #ffca2c;
}

.rating-text {
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.5rem;
  height: 1.25rem;
}

/* Testimonial content textarea */
.testimonial-form textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  resize: vertical;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  min-height: 120px;
}

.testimonial-form textarea:focus {
  border-color: #004ff9;
  box-shadow: 0 0 0 4px rgba(0, 79, 249, 0.1);
  outline: none;
}

.testimonial-form textarea::placeholder {
  color: #adb5bd;
}

.character-count {
  display: flex;
  justify-content: flex-end;
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

/* Form buttons */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.cancel-btn {
  background: #f8f9fa;
  color: #495057;
  border: 1px solid #dee2e6;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-btn:hover {
  background: #e9ecef;
}

.submit-btn {
  background: linear-gradient(90deg, #004ff9 0%, #00c4ff 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.submit-btn:disabled {
  background: #adb5bd;
  cursor: not-allowed;
  transform: none;
}

/* Response message */
.testimonial-response-message {
  margin: 2rem auto;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 600px;
  text-align: center;
  animation: fadeIn 0.3s ease forwards;
}

.testimonial-response-message.success {
  background: rgba(40, 167, 69, 0.1);
  border-left: 4px solid #28a745;
  color: #155724;
}

.testimonial-response-message.error {
  background: rgba(220, 53, 69, 0.1);
  border-left: 4px solid #dc3545;
  color: #721c24;
}

.testimonial-response-message i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.testimonial-response-message p {
  margin-bottom: 0;
}

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

/* User's existing testimonial */
.existing-testimonial {
  background: rgba(0, 79, 249, 0.03);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1.5rem;
}

.existing-testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.existing-testimonial-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #212529;
  margin: 0;
}

.existing-testimonial-actions {
  display: flex;
  gap: 0.5rem;
}

.edit-testimonial-btn,
.delete-testimonial-btn {
  background: none;
  border: none;
  font-size: 0.875rem;
  color: #6c757d;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.edit-testimonial-btn:hover {
  color: #004ff9;
}

.delete-testimonial-btn:hover {
  color: #dc3545;
}

.existing-testimonial-content {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  color: #495057;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.existing-testimonial-content::before {
  content: '"';
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(0, 79, 249, 0.05);
  position: absolute;
  top: 5px;
  left: 10px;
}

.existing-testimonial-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.existing-testimonial-stars {
  color: #ffc107;
}

.existing-testimonial-date {
  font-size: 0.75rem;
  color: #6c757d;
}

/* Footer bottom section */
.footer-bottom {
  background: linear-gradient(90deg, #004ff9 0%, #00c4ff 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-socials a {
  color: white;
  font-size: 1.125rem;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.app-version {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonials-title {
    font-size: 2rem;
  }
  
  .testimonials-subtitle {
    font-size: 1rem;
  }
  
  .testimonial-form {
    padding: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-socials {
    margin: 0.5rem 0;
    justify-content: center;
  }
}

/* Admin Styles */

/* Base Admin Layout */
.admin-page {
  background-color: #f5f8ff;
  min-height: calc(100vh - 70px);
  padding: 40px 0;
}

.admin-header {
  margin-bottom: 30px;
}

.admin-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.admin-subheading {
  font-size: 1.1rem;
  color: #666;
}

.admin-content {
  display: flex;
  gap: 30px;
}

/* Admin Sidebar */
.admin-sidebar {
  width: 280px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.admin-sidebar-header {
  padding: 25px;
  background: linear-gradient(45deg, #004ff9, #000000);
  color: white;
  text-align: center;
}

.admin-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
  margin: 0 auto 15px;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.admin-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.admin-role {
  font-size: 0.9rem;
  opacity: 0.8;
}

.admin-nav {
  padding: 10px 0;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #333;
  transition: all 0.3s ease;
  text-decoration: none;
}

.admin-nav-item i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: #004ff9;
}

.admin-nav-item:hover {
  background-color: #f0f5ff;
}

.admin-nav-item.active {
  background-color: #e8f1ff;
  color: #004ff9;
  border-left: 3px solid #004ff9;
}

.admin-nav-item.logout {
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.admin-nav-item.logout i {
  color: #dc3545;
}

/* Admin Main Content */
.admin-main {
  flex: 1;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  overflow: hidden;
}

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

.stat-card {
  background-color: #f9faff;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #004ff9, #1a67ff);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 15px;
}

.stat-content {
  flex: 1;
}

.stat-title {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
}

/* Section Titles */
.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

/* Tables */
.appointments-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.appointments-table th {
  background-color: #f5f8ff;
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
}

.appointments-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.appointments-table tr:hover {
  background-color: #f9faff;
}

.appointment-date {
  font-weight: 600;
  margin-bottom: 5px;
}

.appointment-time {
  font-size: 0.9rem;
  color: #666;
}

.customer-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.customer-contact {
  font-size: 0.9rem;
  color: #666;
}

.customer-mobile,
.customer-email {
  display: flex;
  align-items: center;
  margin-bottom: 3px;
}

.customer-mobile i,
.customer-email i {
  margin-right: 5px;
  color: #004ff9;
  width: 15px;
}

.service-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.service-price {
  font-size: 0.9rem;
  color: #666;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: capitalize;
}

.status-confirmed {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.status-completed {
  background-color: #e3f2fd;
  color: #1565c0;
}

.status-cancelled_by_customer {
  background-color: #fff3e0;
  color: #e65100;
}

.status-cancelled_by_shop {
  background-color: #ffebee;
  color: #c62828;
}

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

.btn-view,
.btn-cancel {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-view {
  background-color: #e3f2fd;
  color: #1565c0;
}

.btn-view:hover {
  background-color: #bbdefb;
}

.btn-cancel {
  background-color: #ffebee;
  color: #c62828;
}

.btn-cancel:hover {
  background-color: #ffcdd2;
}

/* View All Link */
.view-all-link {
  text-align: center;
  margin-top: 20px;
}

.view-all-link a {
  color: #004ff9;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.view-all-link a:hover {
  text-decoration: underline;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9faff;
  border-radius: 10px;
  margin-top: 20px;
}

.empty-state i {
  font-size: 3rem;
  color: #004ff9;
  opacity: 0.5;
  margin-bottom: 15px;
}

.empty-message {
  font-size: 1.1rem;
  color: #666;
}

/* Filters Section */
.filters-section {
  background-color: #f9faff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
}

.filters-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.filter-select,
.filter-date {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.filter-select:focus,
.filter-date:focus {
  outline: none;
  border-color: #004ff9;
  box-shadow: 0 0 0 3px rgba(0, 79, 249, 0.1);
}

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

.btn-apply-filter,
.btn-clear-filter {
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-apply-filter {
  background-color: #004ff9;
  color: white;
  border: none;
}

.btn-apply-filter:hover {
  background-color: #0040cc;
}

.btn-clear-filter {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.btn-clear-filter:hover {
  background-color: #e9e9e9;
}

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

.export-options {
  display: flex;
  gap: 10px;
}

.btn-export {
  padding: 8px 15px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.btn-export i {
  margin-right: 5px;
}

.btn-export:hover {
  background-color: #e9e9e9;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.pagination-prev,
.pagination-next,
.pagination-page {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #333;
  background-color: #f5f5f5;
}

.pagination-page.active {
  background-color: #004ff9;
  color: white;
}

.pagination-prev:hover,
.pagination-next:hover,
.pagination-page:hover {
  background-color: #e9e9e9;
}

.pagination-page.active:hover {
  background-color: #0040cc;
}

.pagination-ellipsis {
  margin: 0 5px;
  color: #666;
}

/* Shop Card */
.shop-card {
  background-color: #f9faff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.shop-card-header {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.shop-photo {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.shop-info {
  flex: 1;
}

.shop-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.shop-address,
.shop-contact {
  display: flex;
  align-items: flex-start;
  margin-bottom: 5px;
  color: #666;
}

.shop-address i,
.shop-contact i {
  margin-right: 8px;
  margin-top: 3px;
  color: #004ff9;
}

.shop-card-actions {
  padding: 15px 20px;
  background-color: #f0f5ff;
  display: flex;
  justify-content: flex-end;
}

.btn-view-shop {
  padding: 8px 15px;
  background-color: #004ff9;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-view-shop i {
  margin-right: 5px;
}

.btn-view-shop:hover {
  background-color: #0040cc;
}

/* Barbershops Grid */
.barbershops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.barbershop-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.barbershop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.barbershop-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.barbershop-content {
  padding: 20px;
}

.barbershop-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.barbershop-address {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #666;
  font-size: 0.9rem;
}

.barbershop-address i {
  margin-right: 8px;
  margin-top: 3px;
  color: #004ff9;
  flex-shrink: 0;
}

.barbershop-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

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

.meta-item i {
  margin-right: 5px;
  color: #004ff9;
}

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

.btn-shop-appointments,
.btn-view-shop {
  flex: 1;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-shop-appointments {
  background-color: #e3f2fd;
  color: #1565c0;
}

.btn-shop-appointments:hover {
  background-color: #bbdefb;
}

.btn-shop-appointments i,
.btn-view-shop i {
  margin-right: 5px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
  padding: 20px;
  background-color: #f5f8ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.modal-body {
  padding: 25px;
}

.modal-footer {
  padding: 15px 20px;
  background-color: #f5f8ff;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cancel-btn,
.delete-btn {
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-btn {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.cancel-btn:hover {
  background-color: #e9e9e9;
}

.delete-btn {
  background-color: #dc3545;
  color: white;
  border: none;
}

.delete-btn:hover {
  background-color: #c82333;
}

/* Error Page */
.error-page {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.error-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.error-header {
  background: linear-gradient(45deg, #dc3545, #e53935);
  color: white;
  padding: 25px;
  text-align: center;
}

.error-header i {
  font-size: 3rem;
  margin-bottom: 15px;
}

.error-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.error-content {
  padding: 25px;
  text-align: center;
}

.error-message {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 25px;
}

.error-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-back,
.btn-home {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-back {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.btn-back:hover {
  background-color: #e9e9e9;
}

.btn-home {
  background-color: #004ff9;
  color: white;
  border: none;
}

.btn-home:hover {
  background-color: #0040cc;
}

.btn-back i,
.btn-home i {
  margin-right: 8px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .admin-content {
    flex-direction: column;
  }
  
  .admin-sidebar {
    width: 100%;
  }
  
  .admin-sidebar-header {
    display: flex;
    align-items: center;
  }
  
  .admin-photo {
    margin: 0 15px 0 0;
    width: 60px;
    height: 60px;
  }
  
  .admin-nav {
    display: flex;
    flex-wrap: wrap;
  }
  
  .admin-nav-item {
    flex: 1;
    min-width: 150px;
  }
  
  .barbershops-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .filters-form {
    flex-direction: column;
    gap: 15px;
  }
  
  .filter-group {
    width: 100%;
  }
  
  .filter-actions {
    width: 100%;
  }
  
  .btn-apply-filter,
  .btn-clear-filter {
    flex: 1;
  }
  
  .appointments-table {
    display: block;
    overflow-x: auto;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .barbershops-grid {
    grid-template-columns: 1fr;
  }
  
  .shop-card-header {
    flex-direction: column;
  }
  
  .shop-photo {
    width: 100%;
    height: 200px;
  }
}