@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
:root {
  --primary: #6c5ce7;
  --secondary: #a29bfe;
  --accent: #fd79a8;
  --success: #00b894;
  --warning: #fdcb6e;
  --danger: #ff7675;
  --dark: #2d3436;
  --light: #dfe6e9;
  --bg-primary: #f8f9ff;
  --bg-card: #ffffff;
  --text-primary: #2d3436;
  --text-secondary: #636e72;
  --shadow-sm: 0 2px 8px rgba(108, 92, 231, 0.08);
  --shadow-md: 0 4px 16px rgba(108, 92, 231, 0.12);
  --shadow-lg: 0 8px 32px rgba(108, 92, 231, 0.16);
  --gradient-primary: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  --gradient-accent: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
  --gradient-success: linear-gradient(135deg, #00b894 0%, #55efc4 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Inter", sans-serif !important;
  background: var(--bg-primary);
  padding-bottom: 90px;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: var(--gradient-primary);
  border-radius: 0 0 50% 50%;
  z-index: 0;
  opacity: 0.1;
}

/* Header Styles */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-btn {
  background: var(--gradient-primary);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.25);
  position: relative;
  overflow: hidden;
}

.header-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.header-btn:hover::before {
  width: 100px;
  height: 100px;
}

.header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.35);
}

.header-btn:active {
  transform: scale(0.95);
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: var(--shadow-md);
}

.header-btn-highlight {
  background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%) !important;
  box-shadow: 0 4px 16px rgba(253, 121, 168, 0.4) !important;
  animation: pulse 2s infinite;
}

.header-btn-highlight:hover {
  box-shadow: 0 6px 24px rgba(253, 121, 168, 0.5) !important;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(253, 121, 168, 0.4);
  }

  50% {
    box-shadow: 0 4px 24px rgba(253, 121, 168, 0.6);
  }
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--danger);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
  border: 2px solid white;
}

/* Sidebar Styles */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 52, 54, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100%;
  background: white;
  z-index: 1200;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 4px 0 40px rgba(0, 0, 0, 0.15);
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  background: var(--gradient-primary);
  padding: 40px 24px 30px;
  position: relative;
  overflow: hidden;
}

.sidebar-header::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.user-avatar {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.user-name {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
}

.user-email {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.sidebar-menu {
  padding: 20px 0;
}

.menu-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0 24px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  margin: 4px 12px;
  border-radius: 12px;
}

.sidebar-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: var(--gradient-primary);
  border-radius: 0 4px 4px 0;
  transition: height 0.3s ease;
}

.sidebar-item:hover::before {
  height: 70%;
}

.sidebar-item:hover {
  background: linear-gradient(
    90deg,
    rgba(108, 92, 231, 0.08) 0%,
    transparent 100%
  );
  color: var(--primary);
  transform: translateX(8px);
}

.sidebar-item i {
  font-size: 22px;
  width: 36px;
}

.sidebar-item span {
  font-weight: 600;
  font-size: 15px;
}

.sidebar-item.active {
  background: linear-gradient(
    90deg,
    rgba(108, 92, 231, 0.12) 0%,
    transparent 100%
  );
  color: var(--primary);
}

#sidebarListBusiness {
  background: linear-gradient(
    90deg,
    rgba(253, 121, 168, 0.12) 0%,
    rgba(253, 203, 110, 0.12) 100%
  );
  color: #fd79a8;
  font-weight: 700;
  margin-bottom: 8px;
  border: 2px solid rgba(253, 121, 168, 0.2);
}

#sidebarListBusiness:hover {
  background: linear-gradient(
    90deg,
    rgba(253, 121, 168, 0.18) 0%,
    rgba(253, 203, 110, 0.18) 100%
  );
  border-color: rgba(253, 121, 168, 0.4);
  transform: translateX(8px) scale(1.02);
}

/* Main Content */
.main-content {
  margin-top: 76px;
  padding: 16px 20px;
  position: relative;
  z-index: 1;
}

/* List Business Page Specific - Main Content Override */
.main-content.list-business-content {
  padding: 20px 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats Cards */
.stats-container {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.stats-container::-webkit-scrollbar {
  display: none;
}

.stat-card {
  min-width: 140px;
  background: white;
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.stat-card:nth-child(1) .stat-icon {
  background: linear-gradient(
    135deg,
    rgba(108, 92, 231, 0.15) 0%,
    rgba(162, 155, 254, 0.15) 100%
  );
  color: var(--primary);
}

.stat-card:nth-child(2) .stat-icon {
  background: linear-gradient(
    135deg,
    rgba(253, 121, 168, 0.15) 0%,
    rgba(253, 203, 110, 0.15) 100%
  );
  color: var(--accent);
}

.stat-card:nth-child(3) .stat-icon {
  background: linear-gradient(
    135deg,
    rgba(0, 184, 148, 0.15) 0%,
    rgba(85, 239, 196, 0.15) 100%
  );
  color: var(--success);
}

.stat-card:nth-child(4) .stat-icon {
  background: linear-gradient(
    135deg,
    rgba(45, 52, 54, 0.15) 0%,
    rgba(99, 110, 114, 0.15) 100%
  );
  color: var(--dark);
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 4px 0 0 0;
  font-weight: 500;
}

/* Search & Filter */
.search-filter-container {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.search-bar {
  flex: 1;
  background: white;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.search-bar:focus-within {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.search-bar input {
  border: none;
  outline: none;
  flex: 1;
  margin-left: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.search-bar input::placeholder {
  color: var(--text-secondary);
}

.search-bar i {
  color: var(--primary);
  font-size: 20px;
}

.filter-btn {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 16px;
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.filter-btn:active {
  transform: scale(0.95);
}

/* Category Pills */
.categories {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.categories::-webkit-scrollbar {
  display: none;
}

.category-pill {
  padding: 10px 20px;
  background: white;
  border: 2px solid rgba(108, 92, 231, 0.15);
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.category-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-pill.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all:hover {
  transform: translateX(4px);
}

/* Business Card */
.business-card {
  background: white;
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(108, 92, 231, 0.08);
}

.business-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.business-card:hover::before {
  transform: scaleY(1);
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.business-img-wrapper {
  position: relative;
  flex-shrink: 0;
}

.business-img {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--gradient-primary);
}

.verified-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  border: 3px solid white;
  box-shadow: 0 3px 12px rgba(0, 184, 148, 0.4);
}

.business-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.business-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.business-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}
.business-address {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 6px;
}
.business-address i {
  color: var(--accent-color);
  margin-right: 4px;
}

.favorite-btn {
  width: 32px;
  height: 32px;
  background: rgba(108, 92, 231, 0.1);
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.favorite-btn:hover {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

.favorite-btn.active {
  background: var(--gradient-accent);
  color: white;
}

.business-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  background: rgba(108, 92, 231, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  width: fit-content;
}

.business-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--warning);
  font-weight: 600;
}

.business-phone {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.business-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.business-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.btn-call {
  flex: 1;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
  color: white;
}

.btn-call:active {
  transform: scale(0.98);
}

.btn-whatsapp {
  width: 42px;
  height: 42px;
  background: var(--gradient-success);
  color: white;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
}

.btn-whatsapp:active {
  transform: scale(0.95);
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pagination {
  display: inline-flex;
  gap: 8px;
  background: white;
  padding: 8px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.page-btn {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  display: flex; /* Add flexbox */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}

.page-btn:hover {
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary);
  transform: translateY(-2px);
}

.page-btn.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

/* Bottom Navigation - Compact Floating Design */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 12px;
  box-shadow: 0 8px 32px rgba(108, 92, 231, 0.2),
    0 0 0 1px rgba(108, 92, 231, 0.08);
  z-index: 999;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav:hover {
  box-shadow: 0 10px 40px rgba(108, 92, 231, 0.28),
    0 0 0 1px rgba(108, 92, 231, 0.12);
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  cursor: pointer;
  position: relative;
}

.nav-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-item.active::before {
  opacity: 1;
}

.nav-item:active {
  transform: scale(0.9);
}

.nav-item.active {
  color: white;
}

.nav-item:not(.active):hover {
  color: var(--primary);
  background: rgba(108, 92, 231, 0.08);
}

.nav-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item i {
  font-size: 22px;
  transition: all 0.3s ease;
}

.nav-item.active i {
  transform: scale(1.1);
}

.nav-item span {
  display: none;
}

/* List Business Page Styles */
.page-header {
  text-align: center;
  margin-bottom: 32px;
}

.page-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 32px rgba(253, 121, 168, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.page-icon i {
  font-size: 40px;
  color: white;
}

.page-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 10px 0;
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Form Card */
.form-card {
  background: white;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.form-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title i {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

/* Form Group */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.required {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(108, 92, 231, 0.15);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-family: "Open Sans", sans-serif;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C5CE7' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* File Upload */
.file-upload-wrapper {
  position: relative;
  overflow: hidden;
  border: 2px dashed rgba(108, 92, 231, 0.3);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(108, 92, 231, 0.03);
}

.file-upload-wrapper:hover {
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.08);
  transform: translateY(-2px);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: white;
  font-size: 28px;
}

.file-upload-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.file-upload-subtext {
  font-size: 12px;
  color: var(--text-secondary);
}

.image-preview {
  margin-top: 16px;
  display: none;
}

.image-preview.active {
  display: block;
}

.preview-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(108, 92, 231, 0.2);
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--gradient-accent);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 24px rgba(253, 121, 168, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(253, 121, 168, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* Row Layout */
.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Success Message */
.success-message {
  background: var(--gradient-success);
  color: white;
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0, 184, 148, 0.3);
}

.success-message.active {
  display: flex;
}

.success-message i {
  font-size: 24px;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 52, 54, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Success Modal */
.success-modal {
  background: white;
  border-radius: 32px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .success-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Success Icon */
.success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #00b894 0%, #55efc4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  position: relative;
  animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(0, 184, 148, 0.2) 0%,
    rgba(85, 239, 196, 0.2) 100%
  );
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.success-icon i {
  font-size: 50px;
  color: white;
  position: relative;
  z-index: 1;
  animation: checkmark 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

@keyframes checkmark {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }

  50% {
    transform: scale(1.2) rotate(5deg);
  }

  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

/* Modal Content */
.modal-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 14px 0;
  animation: fadeInUp 0.5s ease 0.3s both;
}

.modal-message {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 32px 0;
  animation: fadeInUp 0.5s ease 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Actions */
.modal-actions {
  display: flex;
  gap: 12px;
  animation: fadeInUp 0.5s ease 0.5s both;
}

.modal-btn {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.3);
}

.modal-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(108, 92, 231, 0.4);
  color: white;
}

.modal-btn-secondary {
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary);
}

.modal-btn-secondary:hover {
  background: rgba(108, 92, 231, 0.15);
  transform: translateY(-2px);
}

.modal-btn:active {
  transform: scale(0.98);
}

.modal-btn i {
  font-size: 18px;
}

/* Confetti Animation */
.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary);
  opacity: 0;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(300px) rotate(360deg);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .success-modal {
    padding: 40px 28px;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-btn {
    width: 100%;
  }
}

/* Profile Page Css */

/* Profile Header */
.profile-header {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.profile-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--gradient-primary);
  opacity: 0.1;
  border-radius: 0 0 50% 50%;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3);
  position: relative;
  z-index: 1;
}

.profile-avatar i {
  font-size: 50px;
  color: white;
}

.profile-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 6px 0;
  position: relative;
  z-index: 1;
}

.profile-email {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
  position: relative;
  z-index: 1;
}

.profile-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.meta-item i {
  color: var(--primary);
}

/* Tabs */
.profile-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: white;
  padding: 8px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.tab-btn {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.tab-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.tab-btn i {
  position: relative;
  z-index: 1;
  font-size: 18px;
}

.tab-btn {
  position: relative;
}

/* Ensure all text content appears above the background */
.tab-btn > * {
  position: relative;
  z-index: 1;
}

.tab-btn:hover:not(.active) {
  background: rgba(108, 92, 231, 0.08);
  color: var(--primary);
}

.tab-btn.active {
  color: white;
}

.tab-btn.active::before {
  opacity: 1;
}

@media (max-width: 480px) {
  .tab-btn {
    font-size: 12px;
    padding: 12px 16px;
  }

  .tab-btn i {
    font-size: 16px;
  }
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Info Grid */
.info-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.info-item {
  padding: 16px;
  background: rgba(108, 92, 231, 0.04);
  border-radius: 14px;
  border: 1px solid rgba(108, 92, 231, 0.1);
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(108, 92, 231, 0.08);
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-2px);
}

.info-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-label i {
  color: var(--primary);
  font-size: 14px;
}

.info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.info-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(108, 92, 231, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(108, 92, 231, 0.15);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.info-note i {
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Password Input Wrapper */
.password-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 18px;
  padding: 8px;
  transition: all 0.3s ease;
  z-index: 2;
}

.toggle-password:hover {
  color: var(--primary);
}

/* Alert Messages */
.alert-message {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-message.active {
  display: flex;
}

.alert-message i {
  font-size: 20px;
  flex-shrink: 0;
}

.error-message {
  background: rgba(255, 118, 117, 0.1);
  border: 1px solid rgba(255, 118, 117, 0.3);
  color: var(--danger);
}

.success-message {
  background: rgba(0, 184, 148, 0.1);
  border: 1px solid rgba(0, 184, 148, 0.3);
  color: var(--success);
}

/* Password Tips */
.password-tips {
  margin-top: 24px;
  padding: 18px;
  background: rgba(253, 203, 110, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(253, 203, 110, 0.2);
}

.password-tips h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-tips h4 i {
  color: var(--warning);
}

.password-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.password-tips ul li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0 6px 24px;
  position: relative;
}

.password-tips ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--warning);
  font-weight: 700;
}

@media (max-width: 480px) {
  .tab-btn {
    font-size: 12px;
    padding: 12px 16px;
  }

  .tab-btn i {
    font-size: 16px;
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-10 px);
  }
}

/* Ad Card */
.ad-card {
  background: white;
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(108, 92, 231, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}

.ad-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.ad-card:hover::before {
  transform: scaleX(1);
}

.ad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ad-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ad-img-wrapper img {
  max-width: 100%;
  
  height: 200px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.ad-img-wrapper img:hover {
  transform: scale(1.02);
}

@media (max-width: 480px) {
  .ad-card {
    padding: 12px;
  }

  .ad-img-wrapper img {
    width: 100%;
  }
}

/* Add this to your style.css file */

/* Pagination disabled state for ellipsis */
.page-btn.disabled {
  cursor: default;
  pointer-events: none;
  color: var(--text-secondary);
  opacity: 0.5;
}

.page-btn.disabled:hover {
  background: transparent;
  transform: none;
}

/* Section header improvements */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-header .text-muted {
  font-size: 13px;
  font-weight: 500;
}

/* Ensure ads don't break layout */
.ad-card {
  min-height: 150px;
}

/* Business description styling */
.business-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.5;
}

.business-description i {
  color: var(--primary);
  margin-right: 4px;
  font-size: 14px;
}

/* Share Button Styles - Add to existing style.css */

.btn-share {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
  color: white;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(253, 121, 168, 0.3);
  flex-shrink: 0;
}

.btn-share:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(253, 121, 168, 0.4);
}

.btn-share:active {
  transform: scale(0.95);
}