/* This is css/style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary: #164040;
  --primary-dark: #2c5a5a;
  --primary-light: #4a8f8f;
  --secondary: #000000;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --light: #f8f9fa;
  --dark: #343a40;
  --gray: #000000;
  --border-radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f5f5;
  color: #000000;
  line-height: 1.5;
 
	font-size: 19px;
}
#app {
  min-height: 100vh;
  background: #f5f5f5;
}
/* Screens */
.screen {
  display: none;
  min-height: 100vh;
}
.screen.active {
  display: block;
}
/* Welcome Container - Static by default */
.welcome-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
/* Create a pseudo-element for the animated background */
.welcome-container.awaiting-sms::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  opacity: 0;
  animation: fadeInOut 3s ease-in-out infinite alternate;
  z-index: 0;
}
/* Make sure content stays above the animated background */
.welcome-container.awaiting-sms > * {
  position: relative;
  z-index: 1;
}
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* Slower version for more subtle transition */
.welcome-container.awaiting-sms.slow {
  animation: fadeShades 5s ease-in-out infinite alternate;
}
/* Faster version */
.welcome-container.awaiting-sms.fast {
  animation: fadeShades 2s ease-in-out infinite alternate;
}
/* SMS Waiting Message */
.sms-waiting-message {
  /*background: rgba(255, 255, 255, 0.15);*/
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 16px;
  /*margin-bottom: 20px;*/
  text-align: center;
  /*animation: pulseGlow 2s ease-in-out infinite;*/
  /*border: 1px solid rgba(255, 255, 255, 0.3);*/
  color: white;
}
.sms-waiting-message i {
  animation: ring 1.5s ease-in-out infinite;
  margin-right: 8px;
}
.sms-info-message {
  color: white;
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
  }
}
@keyframes ring {
  0%, 100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(10deg);
  }
  20% {
    transform: rotate(-10deg);
  }
  30% {
    transform: rotate(5deg);
  }
  40% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(0deg);
  }
}
/* Animated dots */
.waiting-dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 5px;
}
.waiting-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  animation: dotPulse 1.4s ease-in-out infinite;
}
.waiting-dots span:nth-child(1) {
  animation-delay: 0s;
}
.waiting-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.waiting-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes dotPulse {
  0%, 60%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  30% {
    transform: scale(1.2);
    opacity: 1;
  }
}
/* SMS Info Message */
.sms-info-message {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 10px;
  margin-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  backdrop-filter: blur(5px);
}
/* Timer */
.sms-timer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}
/* Shake animation for error */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}
.shake {
  animation: shake 0.5s ease-in-out;
}
.logo-container {
  margin-bottom: 24px;
}
.company-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 24px;
  background: white;
  padding: 16px;
  box-shadow: var(--shadow);
}
.welcome-container h1 {
  color: white;
  font-size: 34px;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.tagline {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  font-size: 18px;
}
.phone-input-container {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.input-group {
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 4px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.input-group i {
  color: var(--primary);
  font-size: 20px;
  margin-right: 12px;
}
.input-group input {
  flex: 1;
  border: none;
  padding: 16px 0;
  font-size: 18px;
  outline: none;
  background: transparent;
}
.input-group input:focus {
  outline: none;
}
.btn {
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary {
  background: white;
  color: var(--primary);
  width: 100%;
}
.btn-primary:hover, .btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.btn-large {
  padding: 16px 24px;
  font-size: 20px;
}
.btn-secondary {
  background: var(--secondary);
  color: white;
}
.btn-link {
  background: transparent;
  color: white;
  text-decoration: underline;
  box-shadow: none;
  font-size: 16px;
}
.code-sent-text {
  color: white;
  margin-bottom: 16px;
  font-size: 16px;
}
/* App Header */
.app-header {
  background: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo img {
  width: 120px;
  border-radius: 8px;
}
.header-logo span {
  font-weight: 600;
  font-size: 20px;
  color: var(--primary);
}
.icon-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--gray);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.3s;
}
.icon-btn:hover {
  background: var(--light);
}
/* Navigation Tabs */
.nav-tabs {
  display: flex;
  background: #FFF;
  padding: 5px;
  gap: 8px;
  border-bottom: 1px solid #e9ecef;
}
.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px;
  border-radius: var(--border-radius);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.tab-btn i {
  font-size: 22px;
}
.tab-btn.active {
  background: var(--primary);
  color: white;
}
/* Tab Content */
.tab-content {
  padding: 5px;
  min-height: calc(100vh - 140px);
}
.tab-pane {
  display: none;
  /*margin-bottom: 75px;*/
}
.tab-pane.active {
  display: block;
}
/* Booking Container */
.booking-container {
  background: white;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
/* Appointments List */
.appointments-list {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
}
.appointment-card {
  background: white;
  border-bottom: 1px solid #e9ecef;
  padding: 5px;
  transition: all 0.3s;
}
.appointment-card:last-child {
  border-bottom: none;
}
.appointment-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.status-confirmed {
  background: #d4edda;
  color: #155724;
}
.status-pending {
  background: #fff3cd;
  color: #856404;
}
.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}
.cancel-appt-btn {
  background: var(--danger);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}
/* Account Tab */
.account-container {
  margin: 0 auto;
}
.profile-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
/* Profile Avatar Styles */
.profile-avatar {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.profile-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.profile-avatar .profile-initials {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 2.5rem;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.profile-avatar i {
  font-size: 64px;
}
.profile-card h3 {
  margin-bottom: 4px;
  font-size: 22px;
}
.profile-card p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 16px;
}
.points-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 16px;
  border-radius: var(--border-radius);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
}
.points-card i {
  font-size: 28px;
}
.points-card span {
  font-size: 32px;
}
.qr-section {
  background: white;
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-bottom: 5px;
}
.qr-section h4 {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 18px;
}
.qr-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.qr-container img {
  max-width: 200px;
  height: auto;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  padding: 8px;
}
.qr-note {
  font-size: 13px;
  color: var(--gray);
}
/* ========== PROMO SLIDES STYLES ========== */
.promo-section {
  margin-top: 10px;
}
.promo-slides-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #f8f9fa;
}
.promo-slides-wrapper {
  position: relative;
  width: 100%;
}
.promo-slides {
  position: relative;
  width: 100%;
  min-height: 280px;
}
.promo-slide {
  display: none;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: fadeEffect 0.5s ease;
}
.promo-slide.active {
  display: block;
}
@keyframes fadeEffect {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.promo-slide-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f8f9fa;
}
.promo-slide-content {
  padding: 16px;
  background: white;
  text-align: center;
}
.promo-slide-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000000;
}
.promo-slide-description {
  font-size: 1rem;
  color: #000;
  margin-bottom: 10px;
}
.promo-slide-link {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}
.promo-slide-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
/* Promo Navigation Arrows */
.promo-prev, .promo-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-prev {
  left: 10px;
}
.promo-next {
  right: 10px;
}
.promo-prev:hover, .promo-next:hover {
  background: rgba(0, 0, 0, 0.8);
}
/* Promo Dots */
.promo-dots {
  text-align: center;
  padding: 12px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}
.promo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: -10px 4px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.promo-dot.active {
  background: #444444;
  width: 20px;
  border-radius: 10px;
}
/* Responsive */
@media (max-width: 768px) {
  .promo-slide-title {
    font-size: 1rem;
  }
  .promo-slide-description {
    font-size: 0.8rem;
  }
  .promo-prev, .promo-next {
    width: 28px;
    height: 28px;
  }
}
.qr-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.promo-container img {
  max-width: 200px;
  height: auto;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  padding: 8px;
}
.promo-note {
  font-size: 13px;
  color: var(--gray);
}
/* Toast Messages */
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
}
.toast {
  background: var(--dark);
  color: white;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 8px;
  animation: slideIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.toast.success {
  background: var(--success);
}
.toast.error {
  background: var(--danger);
}
.toast.warning {
  background: var(--warning);
  color: #856404;
}
@keyframes slideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Error Message */
.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 12px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 15px;
}
/* Loading Spinner */
.loading-spinner {
  text-align: center;
  padding: 40px;
  color: var(--gray);
  font-size: 15px;
}
.loading-spinner i {
  font-size: 28px;
  margin-right: 8px;
}
/* Responsive */
@media (max-width: 480px) {
  .tab-btn span {
    font-size: 13px;
  }
  .tab-btn i {
    font-size: 20px;
  }
  .booking-container {
    padding: 5px;
  }
}
/* ========== BOOKING WIDGET STYLES ========== */
.booking-widget {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: white;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
/*
.booking-step {
    padding: 20px;
}
*/
.booking-step h3 {
  margin: 0 0 20px 0;
  font-size: 1.3rem;
  color: #000000;
  text-align: center;
}
/* Category Grid */
/* Category Grid - Matching services grid responsive design */
.category-grid-with-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .category-grid-with-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .category-grid-with-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  /* When there's only 1 item total */
  .category-grid-with-images > :only-child {
    grid-column: 1 / -1;
  }
  /* When the last item is alone in the row (3 items total) */
  .category-grid-with-images > :last-child:nth-child(3) {
    grid-column: 1 / -1;
  }
  /* For 5 items, the last item will be alone */
  .category-grid-with-images > :last-child:nth-child(5) {
    grid-column: 1 / -1;
  }
  /* For 7 items, the last item will be alone */
  .category-grid-with-images > :last-child:nth-child(7) {
    grid-column: 1 / -1;
  }
}
.category-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.category-card:hover {
  border-color: #164040;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(55, 118, 118, 0.15);
}
.category-image-container {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #f8f9fa;
}
.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-content {
  padding: 12px;
  text-align: center;
  line-height: 1;
}
.category-title {
  margin: 0 0 5px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
}
.service-count {
  font-size: 0.8rem;
  color: #333;
}
.service-count i {
  color: #164040;
  margin-right: 4px;
}
/* Services Grid */
.services-grid {
  display: grid;
  gap: 5px;
  margin-bottom: 20px;
  grid-template-columns: 1fr 1fr;
}
.service-item {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  line-height: 1;
}
.service-item:hover {
  border-color: #164040;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(55, 118, 118, 0.1);
}
.service-item.selected {
  border-color: #164040;
  background: #f0f7f7;
}
.service-info h5 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000;
}
.service-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.service-duration {
  color: #666;
}
.service-price {
  font-weight: bold;
  color: #28a745;
}
/* Summary Card */
.summary-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}
.summary-card h4 {
  margin: 0 0 12px 0;
  font-size: 1rem;
  color: #000000;
}
.service-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
}
.service-summary-item:last-child {
  border-bottom: none;
}
.service-summary-info {
  flex: 1;
}
.service-summary-name {
  font-weight: 600;
  color: #000000;
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}
.service-summary-details {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  gap: 12px;
}
.remove-service-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.3s;
}
.remove-service-btn:hover {
  background: #c82333;
}
/* Calendar */
.calendar {
  width: 100%;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.calendar-header h3 {
  margin: 0;
  font-size: 1.2rem;
}
.calendar-weekday {
  text-align: center;
  font-weight: bold;
  font-size: 0.85rem;
  padding: 8px;
  color: #666;
}


.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.calendar-day-header {
    font-weight: bold;
    text-align: center;
    padding: 10px 5px;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #377676;
}

.calendar-day {
    padding: 12px 5px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-day.selectable {
    background-color: #fff;
    border: 1px solid #e9ecef;
}

.calendar-day.selectable:hover {
    background-color: #e8f4f8;
    border-color: #377676;
}

.calendar-day.selected {
    background-color: #377676;
    color: white;
    border: none;
}

.calendar-day.past {
    background-color: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.unavailable {
    background-color: #fff3cd;
    color: #856404;
    cursor: not-allowed;
}

.calendar-day.empty {
    background-color: transparent;
    cursor: default;
}
/* Staff List */
.staff-list {
  margin: 20px 0;
}
.staff-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  line-height: 1;
}
.staff-card:hover {
  border-color: #164040;
  box-shadow: 0 4px 12px rgba(55, 118, 118, 0.1);
}
.staff-card.selected {
  border-color: #164040;
  background: #f0f7f7;
}
.staff-info {
  display: flex;
  gap: 15px;
  align-items: center;
}
.staff-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.staff-initials {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #164040 0%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.3rem;
}
.staff-details h4 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000;
}
.staff-details p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}
.staff-time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}
.staff-time-slot {
  padding: 10px;
  border: 1px solid #164040;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  background: white;
}
.staff-time-slot:hover {
  background: #164040;
  color: white;
}
.staff-time-slot.selected {
  background: #164040;
  color: white;
}
/* Buttons */
.btn-back {
  background: linear-gradient(135deg, #377676 0%, #000000 100%);
  color: white;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.btn-back:hover {
  color: #2c5a5a;
}
.btn-primary {
  background: #164040;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
}
.btn-primary:hover:not(:disabled) {
  background: #2c5a5a;
  transform: translateY(-2px);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-secondary {
  background: #000000;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
}
#logout-full-btn {
  width: 100%;
}
.btn-secondary:hover {
  background: #5a6268;
}
.btn-outline {
  background: transparent;
  border: 1px solid #164040;
  color: #164040;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.btn-outline:hover {
  background: #164040;
  color: white;
}
.btn-next, .btn-confirm {
  width: 100%;
}
.arrow-btn {
  padding: 8px 16px;
  min-width: auto;
}
/* Confirmation Card */
.confirmation-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 20px;
  padding: 10px;
}
.confirmation-section {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
  line-height: 1;
}
.confirmation-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.confirmation-section h4 {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  color: #164040;
}
.confirmation-section h4 i {
  margin-right: 8px;
}
.service-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.9rem;
}
.service-line:last-child {
  border-bottom: none;
}
.total-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-weight: 500;
  font-size: 1rem;
}
.total-amount {
  font-size: 1.2rem;
  color: #28a745;
}
/* Customer Info */
.customer-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.customer-info h4 {
  margin: 0 0 12px 0;
  font-size: 1rem;
  color: #000000;
}
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.95rem;
}
.info-row span:first-child {
  font-weight: 600;
  color: #666;
}
/* Loading Spinner */
.loading {
  text-align: center;
  padding: 40px;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #164040;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-spinner {
  text-align: center;
  padding: 40px;
  color: #666;
}
.loading-spinner i {
  font-size: 28px;
  margin-right: 8px;
}
/* Error and Success Messages */
.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  margin: 20px 0;
  font-size: 15px;
}
.success-message {
  background: #d4edda;
  color: #155724;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  margin: 20px 0;
  font-size: 15px;
}
/* Responsive */
@media (max-width: 768px) {
  .category-grid-with-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .category-image-container {
    height: 100px;
  }
  .staff-info {
    gap: 12px;
  }
  .staff-avatar img, .staff-initials {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  /* Categories - 2 columns on mobile, same as services */
  .category-grid-with-images {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  /* When there's only 1 category item */
  .category-grid-with-images > :only-child {
    grid-column: 1 / -1;
  }
  /* When the last category is alone in the row (3 items total) */
  .category-grid-with-images > :last-child:nth-child(3) {
    grid-column: 1 / -1;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-summary-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .remove-service-btn {
    align-self: flex-end;
  }
  .info-row {
    flex-direction: column;
    gap: 4px;
  }
}
/* Time slot hover effect */
.time-slot:hover {
  background: #f0f7f0;
  border-color: #28a745;
  transform: translateY(-2px);
}
.time-slot.selected {
  background: #28a745;
  color: white;
  border-color: #28a745;
}
/* ========== COMPACT APPOINTMENT CARD STYLES ========== */
.appointments-container h3 {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e9ecef;
}
.appointments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.appointment-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  border: 1px solid #e9ecef;
}
.appointment-card:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
/* Card Header - Compact */
.appointment-card-header {
  background: #f2f2f2;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid #e9ecef;
}
.appointment-date-compact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}
.appointment-date-compact i {
  color: #164040;
  font-size: 1rem;
}
.appointment-date-compact .date-text {
  font-weight: 600;
  color: #000000;
}
.appointment-date-compact .time-text {
  color: #164040;
  font-weight: 500;
}
/* Status Badge - Compact */
.appointment-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status-confirmed {
  background: #d4edda;
  color: #155724;
}
.status-pending {
  background: #fff3cd;
  color: #856404;
}
.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}
.status-deposit_pending {
  background: #fff3cd;
  color: #856404;
}
/* Card Body - Compact */
.appointment-card-body {
  padding: 12px 14px;
}
/* Staff Info - Compact */
.staff-info-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f2f5;
}
.staff-avatar-small {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #164040 0%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}
.staff-avatar-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-details-compact h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
}
.staff-details-compact p {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: #000000;
}
/* Services - Compact */
.services-compact {
  margin-bottom: 10px;
}
.services-compact .services-label {
  font-size: 1rem; /*TEST*/
  color: #000000;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tag-compact {
  background: #f0f7f7;
  color: #164040;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
}
/* Meta Info - Compact */
.meta-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #000000;
  margin-bottom: 10px;
  padding-top: 6px;
  border-top: 1px solid #f0f2f5;
}
.meta-compact span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.meta-compact i {
  color: #164040;
  font-size: 0.75rem;
}
.meta-compact strong {
  color: #000000;
}
/* Buttons - Compact */
.appointment-actions-compact {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.btn-reschedule-compact {
  flex: 1;
  background: #28a745;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-reschedule-compact:hover {
  background: #1e7e34;
}
.btn-cancel-compact {
  flex: 1;
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-cancel-compact:hover {
  background: #c82333;
}
.btn-cancel-compact.disabled {
  background: #000000;
  cursor: not-allowed;
  opacity: 0.6;
}
/* Empty State - Compact */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: #000000;
  background: white;
  border-radius: 10px;
  font-size: 1rem;
}
.empty-state i {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}
/* Loading - Compact */
.loading-spinner {
  text-align: center;
  padding: 30px;
  font-size: 0.95rem;
  color: #000000;
}
/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  /*padding: 20px;*/
}
.modal-container {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Modal Header Close Button Styling */
.modal-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 20px 24px;
  text-align: center;
  position: relative;
}
.modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}
.close-modal, .close-modal-btn, .modal-header .close-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  line-height: 1;
}
.close-modal:hover, .close-modal-btn:hover, .modal-header .close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}
.close-modal:active, .close-modal-btn:active, .modal-header .close-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.modal-body {
  padding: 20px;
}
/* Modal Time Slots */
.modal-time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.modal-time-slot {
  background: white;
  border: 2px solid #164040;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  line-height: 1;
}
.modal-time-slot:hover {
  background: #f0f7f7;
  transform: translateY(-2px);
}
/* Random Staff Button */
.btn-random {
  background: linear-gradient(135deg, #164040 0%, #000000 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.btn-random:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(55, 118, 118, 0.3);
}
/* Responsive Modal */
@media (max-width: 480px) {
  .modal-time-slots {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-container {
    max-width: 95%;
  }
  .wheel-container {
    width: 250px;
    height: 250px;
  }
}
/* ========== ID CARD STYLES ========== */
.profile-id-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
  border: 1px solid rgba(55, 118, 118, 0.2);
  transition: transform 0.3s ease;
}
.profile-id-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(55, 118, 118, 0.15);
}
.profile-id-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
.profile-id-header i {
  font-size: 14px;
  margin-right: 6px;
}
.profile-id-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}
/* Main content area - photo on left, details on right */
.profile-id-main {
  display: flex;
  padding: 20px;
  gap: 20px;
  align-items: center;
}
.profile-id-photo {
  flex-shrink: 0;
}
.profile-photo-placeholder {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 3px solid white;
}
.profile-id-photo img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.profile-id-details {
  flex: 1;
}
.profile-id-name {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-id-name i {
  color: var(--primary);
  font-size: 16px;
}
.profile-id-phone {
  font-size: 14px;
  color: #000000;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-id-phone i {
  color: var(--primary);
  width: 16px;
  font-size: 13px;
}
.profile-id-email {
  font-size: 14px;
  color: #000000;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-id-email i {
  color: var(--primary);
  width: 16px;
  font-size: 13px;
}
/* Make sure the details container has proper spacing */
.profile-id-details {
  flex: 1;
  line-height: 1;
}
.profile-id-name {
  margin-bottom: 8px;
}
.profile-id-phone {
  margin-bottom: 6px;
}
.profile-id-email {
  margin-bottom: 6px;
}
.profile-id-member-since {
  margin-top: 2px;
}
.profile-id-member-since {
  font-size: 11px;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-id-member-since i {
  color: var(--primary);
  font-size: 11px;
}
/* Points container - full width at bottom */
.profile-id-points-container {
  padding: 12px 20px;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
  text-align: center;
}
.profile-id-points {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  padding: 10px 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #856404;
  width: auto;
}
.profile-id-points i {
  color: #ffc107;
  font-size: 16px;
}
.profile-id-points span {
  font-size: 2.5em;
  font-weight: 800;
}
.profile-id-footer {
  background: #f0f2f5;
  padding: 10px 16px;
  text-align: center;
  border-top: 1px solid #e9ecef;
}
.profile-id-barcode {
  font-size: 10px;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.profile-id-barcode i {
  font-size: 12px;
  color: var(--primary);
}
/* Edit Photo Button */
.edit-photo-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  display: block;
  transition: all 0.3s ease;
}
.edit-photo-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
/* ========== BOTTOM NAVIGATION TABS STYLES ========== */
/* Deals List */
.deals-list {
  display: flex;
  flex-direction: column;
}
.deal-card {
  background: white;
  padding: 15px;
  display: flex;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}
.deal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(55, 118, 118, 0.1);
}
.deal-info {
  flex: 1;
}
.deal-info h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #000000;
}
.deal-info p {
  margin: 0 0 8px 0;
  font-size: 12px;
  color: #000000;
  line-height: 1.4;
}
.deal-code {
  display: inline-block;
  background: #ffe7b0;
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--primary);
  font-weight: 600;
  font-family: monospace;
}
.deal-expiry {
  font-size: 10px;
  color: #adb5bd;
  margin-top: 5px;
}
/* Deal Expiry Status Styles */
.deal-expiry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  margin-top: 10px;
}
.deal-expiry i {
  font-size: 0.7rem;
}
.deal-expiry.active {
  background: #e8f5e9;
  color: #2e7d32;
}
.deal-expiry.expiring-soon {
  background: #fff3e0;
  color: #e65100;
  animation: pulse-warning 1s infinite;
}
.deal-expiry.upcoming {
  background: #cce5ff;
  color: #004085;
}
.deal-expiry.expired {
  background: #ffebee;
  color: #c62828;
}
.deal-card.featured {
  border-left: 3px solid #ffc107;
  background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
}
@keyframes pulse-warning {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
/* Dashboard Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}
.stat-card i {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 8px;
}
.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
.stat-label {
  font-size: 11px;
  color: #fff;
}
/* Rewards Section */
.rewards-section {
  background: white;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid #e9ecef;
}
.rewards-section h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #000000;
}
.reward-progress {
  margin-bottom: 15px;
}
.reward-item {
  margin-bottom: 10px;
}
.reward-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
  color: #000000;
}
.progress-bar {
  background: #e9ecef;
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}
.progress-fill {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  height: 100%;
  transition: width 0.5s ease;
}
/* Recent Activity */
.recent-activity {
  background: white;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #e9ecef;
}
.recent-activity h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #000000;
}
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f2f5;
}
.activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.activity-icon {
  width: 35px;
  height: 35px;
  background: #f0f7f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.activity-details {
  flex: 1;
}
.activity-title {
  font-size: 13px;
  font-weight: 600;
  color: #000000;
}
.activity-date {
  font-size: 10px;
  color: #adb5bd;
}
/* QR Card Large */
.qrcard-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 20px;
}
.qr-card-large {
  background: white;
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  max-width: 350px;
  width: 100%;
}
.qr-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.qr-card-header img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.qr-card-header span {
  font-weight: 700;
  font-size: 18px;
  color: #000000;
}
.qr-code-large {
  margin: 20px 0;
}
.qr-code-large img {
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.qr-card-footer {
  margin-top: 20px;
}
.qr-card-footer p {
  margin: 5px 0;
  font-size: 12px;
  color: #000000;
}
.qr-name {
  font-weight: 600;
  color: #000000 !important;
  font-size: 14px !important;
}
.qr-points {
  color: var(--primary) !important;
  font-weight: 600 !important;
}
.qr-instructions {
  background: #f0f7f7;
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
  max-width: 350px;
  width: 100%;
}
.qr-instructions p {
  margin: 0;
  font-size: 12px;
  color: var(--primary);
}
/* Pricelist */
.pricelist-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricelist-category {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}
.pricelist-category h4 {
  background: var(--primary);
  color: white;
  padding: 12px 16px;
  margin: 0;
  font-size: 15px;
}
.pricelist-items {
  padding: 8px 0;
}
.pricelist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e9ecef;
}
.pricelist-item:last-child {
  border-bottom: none;
}
.pricelist-item-name {
  font-weight: 500;
  color: #000000;
  font-size: 14px;
}
.pricelist-item-price {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}
/* Responsive */
@media (max-width: 480px) {
  .stats-grid {
    gap: 8px;
  }
  .stat-card {
    padding: 15px 8px;
  }
  .stat-value {
    font-size: 22px;
  }
  .qr-card-large {
    padding: 20px;
  }
  .qr-code-large img {
    width: 150px;
    height: 150px;
  }
}
.margin-bottom {
  margin-bottom: 75px;
}
/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  display: flex;
  justify-content: space-around;
  padding: 8px 12px 12px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-top: 1px solid #e9ecef;
}
.bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  color: #000;
}
.bottom-nav-btn i {
  font-size: 22px;
}
.bottom-nav-btn span {
  font-size: 11px;
  font-weight: 500;
}
.bottom-nav-btn.active {
  color: #ffffff;
  background: var(--primary);
}
/* Bottom Tab Content */
.bottom-tab-content {
  margin-bottom: 70px;
  padding: 16px;
  display: none;
}
.bottom-tab-content.active {
  display: block;
}
.bottom-tab-pane {
  display: none;
}
.bottom-tab-pane.active {
  display: block;
}
/* Hide top tabs when showing bottom tabs */
.top-tabs-hidden, .top-tabs-hidden .tab-content {
  display: none;
}
/* ========== INSTALL APP PROMPT STYLES ========== */
.install-prompt {
  position: fixed;
  bottom: 80px;
  left: 16px;
  right: 16px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  animation: slideUp 0.3s ease;
  border: 1px solid rgba(55, 118, 118, 0.2);
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.install-prompt-content {
  overflow: hidden;
  border-radius: 20px;
}
.install-prompt-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.install-prompt-header i {
  font-size: 24px;
}
.install-prompt-header h3 {
  margin: 0;
  font-size: 18px;
  flex: 1;
}
.install-prompt-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.install-prompt-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.install-prompt-body {
  padding: 20px;
}
.install-prompt-body p {
  margin: 0 0 15px 0;
  color: #000000;
  font-size: 14px;
  text-align: center;
}
.install-instructions {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
}
.install-instructions p {
  margin: 0 0 10px 0;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
}
.install-instructions ol {
  margin: 0;
  padding-left: 20px;
}
.install-instructions li {
  margin-bottom: 8px;
  font-size: 13px;
  color: #495057;
}
.install-instructions li:last-child {
  margin-bottom: 0;
}
.install-instructions i {
  margin: 0 4px;
}
.install-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.install-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
/* Responsive */
@media (min-width: 768px) {
  .install-prompt {
    max-width: 400px;
    left: auto;
    right: 20px;
    bottom: 20px;
  }
}
/* ========== PUSH NOTIFICATION PROMPT STYLES ========== */
.push-prompt {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.push-prompt-content {
  background: white;
  border-radius: 24px;
  max-width: 340px;
  width: 90%;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}
.push-prompt-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}
.push-prompt-header i {
  font-size: 40px;
  margin-bottom: 10px;
}
.push-prompt-header h3 {
  margin: 0;
  font-size: 20px;
}
.push-prompt-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.push-prompt-body {
  padding: 24px;
  text-align: center;
}
.push-prompt-body p {
  color: #000000;
  margin-bottom: 20px;
  font-size: 14px;
}
.push-benefits {
  display: flex;
  justify-content: space-around;
  margin-bottom: 24px;
  gap: 16px;
}
.push-benefit {
  flex: 1;
  text-align: center;
}
.push-benefit i {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}
.push-benefit span {
  font-size: 11px;
  color: #000000;
}
.push-allow-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}
.push-allow-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
.push-later-btn {
  background: transparent;
  border: none;
  color: #000000;
  font-size: 14px;
  cursor: pointer;
  padding: 8px;
}
.push-later-btn:hover {
  color: var(--primary);
}
/* ========== CONFIRMATION STEP STYLES ========== */
.confirmation-header {
  text-align: center;
  margin-bottom: 24px;
}
.confirmation-header i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
}
.confirmation-header h3 {
  margin: 0 0 8px 0;
  font-size: 22px;
  color: #000000;
}
.confirmation-header p {
  margin: 0;
  font-size: 14px;
  color: #000000;
}
.confirmation-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e9ecef;
  margin-bottom: 24px;
}
.confirmation-section {
  /*padding: 20px;*/
  border-bottom: 1px solid #f0f2f5;
}
.confirmation-section:last-child {
  border-bottom: none;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  font-weight: 600;
  font-size: 16px;
  color: #000000;
}
.section-title i {
  color: var(--primary);
  font-size: 18px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.details-grid.two-columns {
  grid-template-columns: repeat(2, 1fr);
}
.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.detail-icon {
  width: 36px;
  height: 36px;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-icon i {
  font-size: 16px;
  color: var(--primary);
}
.detail-content {
  flex: 1;
}
.detail-label {
  font-size: 12px;
  color: #000000;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.detail-value {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  word-break: break-word;
}
.detail-value.price {
  color: #28a745;
  font-size: 18px;
}
/* Services List */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-item-confirm {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.service-item-confirm i {
  color: #28a745;
  font-size: 14px;
  flex-shrink: 0;
}
.service-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
}
.service-price-confirm {
  font-weight: 600;
  color: #28a745;
  font-size: 14px;
}
/* Confirmation Actions */
.confirmation-actions {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  grid-template-columns: 1fr 1fr;
}
.btn-restart {
  flex: 1;
  background: #000000;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-restart:hover {
  background: #5a6268;
  transform: translateY(-2px);
}
.btn-confirm {
  flex: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(55, 118, 118, 0.3);
}
.btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(55, 118, 118, 0.4);
}
.btn-confirm:active {
  transform: translateY(0);
}
/* Responsive */
@media (max-width: 768px) {
  .details-grid, .details-grid.two-columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .confirmation-section {
    /*padding: 8px;*/
  }
  .confirmation-actions {
    flex-direction: column;
    gap: 10px;
  }
  .btn-restart, .btn-confirm {
    padding: 12px 16px;
    font-size: 15px;
  }
  .confirmation-header i {
    font-size: 40px;
  }
  .confirmation-header h3 {
    font-size: 20px;
  }
}
/* ========== POINTS REDEMPTION STYLES ========== */
.points-redemption {
  /*
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
	*/
  background: linear-gradient(180deg, rgb(205 0 16) 8%, rgba(191, 30, 37, 1) 54%);
  border-radius: 15px;
  padding: 13px;
  transition: all 0.3s ease;
  border: 6px solid #970412;
  background-image: url(https://nailssalon.salonindustries.com/images/stat-bg.jpg);
  background-size: cover;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.points-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e9ecef;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1;
}
.points-balance {
  align-items: center;
  gap: 8px;
  font-size: 1em;
  color: #fff;
  font-weight: 600;
}
.points-balance i {
  color: #ffc107;
  font-size: 16px;
}
.points-balance strong {
  color: gold;
  /*color: var(--primary);*/
  font-size: 18px;
}
.points-rate {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #ffffff;
}
.points-rate i {
  color: #ffffff;
  /*color: var(--primary);*/
}
.redemption-controls {
  margin-bottom: 16px;
}
.redemption-slider-container {
  margin-bottom: 12px;
}
.redemption-slider-container input[type="range"] {
  width: 100%;
  height: 13px;
  -webkit-appearance: none;
  background: #e9ecef;
  border-radius: 3px;
  outline: none;
}
.redemption-slider-container input[type="range"]:focus {
  outline: none;
}
/* SLIDER DOT */
.redemption-slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: gold;
  /*background: var(--primary);*/
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.redemption-slider-container input[type="range"]:disabled {
  opacity: 0.5;
}
.redemption-slider-container input[type="range"]:disabled::-webkit-slider-thumb {
  cursor: not-allowed;
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: .8em;
  color: #ffffff;
  margin-top: 6px;
}
.redemption-buttons {
  display: flex;
  gap: 10px;
}
.btn-redeem-half, .btn-redeem-max {
  flex: 1;
  background: white;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-redeem-half:hover, .btn-redeem-max:hover {
  background: var(--primary);
  color: white;
}
.btn-redeem-half:disabled, .btn-redeem-max:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #ced4da;
  color: #000000;
}
.btn-redeem-half:disabled:hover, .btn-redeem-max:disabled:hover {
  background: white;
  color: #000000;
}
.discount-summary {
  background: #ffffff;
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
}
.discount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1em;
  color: #000000;
  text-shadow: none;
}
.discount-row:first-child {
  margin-bottom: 6px;
}
.points-used, .discount-amount {
  font-weight: 600;
}
.total-section {
  background: #f8f9fa;
}
.total-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.grand-total-row {
  border-top: 1px solid #e9ecef;
  padding-top: 8px;
  margin-top: 4px;
  font-size: 16px;
}
.grand-total {
  color: #28a745;
  font-size: 20px;
}
.discount-value {
  color: #dc3545;
}
@media (max-width: 480px) {
  .points-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .redemption-buttons {
    flex-direction: column;
  }
  .btn-redeem-half, .btn-redeem-max {
    width: 100%;
  }
}
/* ========== PRICE DISPLAY WITH DISCOUNT STYLES ========== */
.price-container {
  display: flex;
  align-items: center;
}
.price-details {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.original-price {
  font-size: 1rem;
  color: #000000;
  text-decoration: line-through;
}
.discount-badge {
  background: #28a745;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
}
.final-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #28a745;
}
.points-used-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff3cd;
  color: #856404;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  margin-left: 8px;
}
.points-used-badge i {
  font-size: 0.65rem;
  color: #ffc107;
}
/* In meta-compact, adjust the layout */
.meta-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #000000;
  margin-bottom: 10px;
  padding-top: 6px;
  border-top: 1px solid #f0f2f5;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 480px) {
  .meta-compact {
    flex-direction: column;
    align-items: flex-start;
  }
  .price-details {
    margin-top: 4px;
  }
}
/* ========== POINT LOG STYLES ========== */
.point-log-container {
  padding: 5px;
}
.page-header {
  text-align: center;
  margin-bottom: 20px;
}
.page-header h2 {
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 5px;
}
.page-header h2 i {
  color: #ffc107;
  margin-right: 10px;
}
.page-header p {
  font-size: 0.85rem;
  color: #000000;
}
/* Points Summary Card */
.points-summary-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 20px;
  padding: 20px;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.points-balance-large {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.points-balance-large i {
  font-size: 40px;
  color: #ffc107;
}
/* Simple color cycling */
.points-balance-large i {
  animation: colorCycle 1.2s linear infinite;
}
@keyframes colorCycle {
  0% {
    color: #c1d03a;
  }
  25% {
    color: #838f10;
  }
  50% {
    color: #eafb43;
  }
  75% {
    color: #daee0e;
  }
  100% {
    color: #c1d03a;
  }
}
.points-balance-info {
  flex: 1;
  line-height: 1;
}
.points-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 5px;
}
.points-value {
  font-size: 2rem;
  font-weight: 700;
}
.points-stats {
  display: flex;
  justify-content: space-around;
  gap: 15px;
}
.stat-item {
  text-align: center;
  flex: 1;
}
.stat-label {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
}
.stat-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
}
/* Filter Buttons */
.point-log-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  background: white;
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.filter-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #000000;
}
.filter-btn.active {
  background: var(--primary);
  color: white;
}
.filter-btn:hover:not(.active) {
  background: #e9ecef;
}
/* Point Log List */
.point-log-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 60vh;
  overflow-y: auto;
  /*padding-bottom: 70px;*/
}
.point-log-item {
  background: white;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  /*border-left: 4px solid var(--primary);*/
}
/*
.point-log-item.earned {
    border-left-color: #28a745;
}

.point-log-item.redeemed {
    border-left-color: #dc3545;
}

.point-log-item.refunded {
    border-left-color: #17a2b8;
}
*/
.point-log-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.point-log-icon.earned {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}
.point-log-icon.redeemed {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}
.point-log-icon.refunded {
  background: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
}
.point-log-icon i {
  font-size: 20px;
}
.point-log-details {
  flex: 1;
}
.point-log-reason {
  font-weight: 600;
  color: #000000;
  margin-bottom: 4px;
  font-size: 0.9rem;
}
.point-log-date {
  font-size: 0.7rem;
  color: #000000;
}
.point-log-amount {
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.point-log-amount.positive {
  color: #28a745;
}
.point-log-amount.negative {
  color: #dc3545;
}
/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #000000;
  background: white;
  border-radius: 12px;
}
.empty-state i {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.5;
}
@media (max-width: 480px) {
  .points-stats {
    flex-wrap: wrap;
  }
  .stat-item {
    min-width: 80px;
  }
  .point-log-item {
    padding: 12px;
  }
  .point-log-icon {
    width: 35px;
    height: 35px;
  }
  .point-log-icon i {
    font-size: 16px;
  }
  .point-log-reason {
    font-size: 0.8rem;
  }
  .point-log-amount {
    font-size: 0.9rem;
  }
}
/* ========== CROPPER MODAL STYLES - FIXED Z-INDEX ========== */
/* Force all cropper elements to have high z-index */
.cropper-modal, .cropper-modal *, .cropper-container, .cropper-canvas, .cropper-drag-box, .cropper-crop-box, .cropper-modal-background, .cropper-view-box, .cropper-face, .cropper-line, .cropper-point {
  z-index: 100000 !important;
}
/* Main modal overlay */
.cropper-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000 !important;
  animation: fadeIn 0.3s ease;
}
/* Modal content container */
.cropper-modal-content {
  background: white;
  border-radius: 16px;
  max-width: 90vw;
  width: 800px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 100001 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
/* Modal header */
.cropper-modal-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.cropper-modal-header h3 {
  margin: 0;
  font-size: 18px;
}
.cropper-modal-header h3 i {
  margin-right: 8px;
}
.cropper-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.cropper-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
/* Modal body */
.cropper-modal-body {
  display: flex;
  padding: 20px;
  gap: 20px;
  flex: 1;
  overflow: auto;
  background: white;
}
/* Image container */
.img-container {
  flex: 2;
  min-height: 400px;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
#crop-image {
  display: block;
  max-width: 100%;
  max-height: 400px;
  margin: 0 auto;
}
/* Preview section */
.crop-preview {
  flex: 1;
  text-align: center;
}
.preview-title {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}
.preview-container {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
  margin: 0 auto;
  background: #f8f9fa;
  position: relative;
}
/* Modal footer */
.cropper-modal-footer {
  padding: 16px 20px;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: white;
  flex-shrink: 0;
}
.cropper-modal-footer .btn {
  padding: 10px 24px;
}
/* Disable body scroll */
body.cropper-open {
  overflow: hidden !important;
}
/* Responsive */
@media (max-width: 768px) {
  .cropper-modal-body {
    flex-direction: column;
  }
  .img-container {
    min-height: 300px;
  }
  .preview-container {
    width: 100px;
    height: 100px;
  }
}
/* ========== PAGINATION STYLES ========== */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.pagination-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pagination-btn:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
.pagination-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}
.pagination-info {
  font-size: 14px;
  color: #2c3e50;
  font-weight: 500;
  background: #f8f9fa;
  padding: 6px 16px;
  border-radius: 20px;
}
/* Responsive pagination */
@media (max-width: 480px) {
  .pagination-container {
    gap: 8px;
    flex-wrap: wrap;
  }
  .pagination-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  .pagination-info {
    font-size: 12px;
    padding: 4px 12px;
  }
}
/* Share Modal Styles */
.share-option {
  transition: all 0.3s ease;
  cursor: pointer;
}
.share-option:hover {
  background: #e9ecef !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#qr-share-container {
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive share grid */
@media (max-width: 480px) {
  .share-options-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
  }
  .share-option {
    padding: 8px !important;
  }
  .share-option i {
    font-size: 24px !important;
  }
  .share-option span {
    font-size: 10px !important;
  }
}
/* Floating share button for mobile */
.floating-share {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
}
.floating-share:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}
/* Share Modal - Responsive Fixes */
#custom-share-modal .modal-container {
  max-width: 500px;
  width: 90%;
  margin: 0 auto;
}
/* For mobile screens */
@media (max-width: 768px) {
  #custom-share-modal .modal-container {
    width: 95%;
    max-width: none;
    margin: 0 auto;
  }
  #custom-share-modal .modal-body {
    padding: 16px !important;
  }
}
/* Share options grid - responsive */
.share-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}
@media (max-width: 480px) {
  .share-options-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}
@media (max-width: 380px) {
  .share-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.share-option {
  text-align: center;
  cursor: pointer;
  padding: 12px 8px;
  border-radius: 12px;
  transition: all 0.3s;
  background: #f8f9fa;
}
.share-option i {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}
@media (max-width: 480px) {
  .share-option i {
    font-size: 24px;
  }
  .share-option span {
    font-size: 11px;
  }
}
.share-option:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}
/* QR Container */
#qr-share-container {
  text-align: center;
  margin-top: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  animation: fadeIn 0.3s ease;
}
#qr-share-code {
  display: flex;
  justify-content: center;
}
#qr-share-code canvas, #qr-share-code img {
  max-width: 100%;
  height: auto;
}
/* Modal animation */
@keyframes modalSlideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Close button */
.close-share-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.close-share-modal:hover {
  background: rgba(255, 255, 255, 0.3);
}
/* Ensure proper box sizing for all elements */
#custom-share-modal, #custom-share-modal * {
  box-sizing: border-box;
}
.modal-overlay {
  box-sizing: border-box;
}
.modal-container {
  box-sizing: border-box;
  overflow-x: hidden;
}
/* For very small screens */
@media (max-width: 380px) {
  .share-option i {
    font-size: 20px !important;
  }
  .share-option span {
    font-size: 10px !important;
  }
  .modal-header h3 {
    font-size: 1rem !important;
  }
  .modal-body {
    padding: 16px !important;
  }
}
@media (max-width: 480px) {
  #custom-share-modal .modal-container {
    max-height: 85vh;
    border-radius: 20px 20px 20px 20px;
  }
  #custom-share-modal {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  #custom-share-modal .modal-container {
    border-radius: 20px 20px 0 0 !important;
    max-height: 85vh;
  }
  #custom-share-modal .modal-header {
    border-radius: 20px 20px 0 0 !important;
  }
}
/* Earn More Points Button Animation */
@keyframes shimmer {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
.earn-points-btn {
  position: relative;
  overflow: hidden;
}
.earn-points-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}
.earn-points-btn:active {
  transform: translateY(0);
}
/* My Referrals Tab Styles */
.my-referrals-container {
  padding: 5px;
}
.referrals-header-card {
  margin-bottom: 20px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  background: linear-gradient(180deg, rgb(205 0 16) 8%, rgba(191, 30, 37, 1) 54%);
  border-radius: 15px;
  padding: 13px;
  transition: all 0.3s ease;
  border: 6px solid #970412;
  background-image: url(https://nailssalon.salonindustries.com/images/stat-bg.jpg);
  background-size: cover;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  /* Add shimmer effect */
  position: relative;
  overflow: hidden;
}
/* Shimmer animation */
.referrals-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
.referrals-header-content {
  display: flex;
  align-items: center;
}
.referrals-header-content i {
  font-size: 2.5rem;
  opacity: 0.9;
}
.referrals-header-content h3 {
  margin: 0 0 5px 0;
  font-size: 1.3rem;
}
.referrals-header-content p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
}
.referrals-stats {
  display: flex;
  gap: 15px;
}
.stat-badge {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 15px;
  text-align: center;
  min-width: 80px;
  line-height: 1;
}
.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.7rem;
  opacity: 0.85;
}
/* Referral Cards */
.referrals-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
.referral-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #bfbfbf;
  transition: all 0.3s ease;
}
.referral-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(55, 118, 118, 0.12);
}
.referral-card.expired {
  opacity: 0.7;
  background: #f8f9fa;
}
.referral-card.completed {
  border-left: 4px solid #28a745;
}
.referral-card-header {
  padding: 16px;
  background: #fff;
  /* background: #f8f9fa; */
  border-bottom: 1px solid #bfbfbf;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  background-image: linear-gradient(45deg, #d1d3e3 25%, transparent 25%, transparent 50%, #ffffff 50%, #e9e9e9 75%, transparent 75%, #ffffff);
  background-size: 4px 4px;
}
.referral-friend-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.referral-friend-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  overflow: hidden;
  flex-shrink: 0;
}
.referral-friend-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.referral-friend-details h4 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
}
.referral-friend-details p {
  margin: 0;
  font-size: 0.75rem;
  color: #6c757d;
}
.referral-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  position: absolute;
  right: 14px;
  top: 20px;
}
.status-active {
  background: #d4edda;
  color: #155724;
}
.status-pending {
  background: #fff3cd;
  color: #856404;
}
.status-completed {
  background: #cce5ff;
  color: #004085;
}
.status-expired {
  background: #f8d7da;
  color: #721c24;
}
.referral-card-body {
  padding: 16px;
}
.progress-section {
  margin-bottom: 15px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: #000000;
}
.progress-label span:last-child {
  font-weight: 600;
  color: var(--primary);
}
.progress-bar-container {
  background: #e9ecef;
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}
.progress-bar-fill {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  height: 100%;
  transition: width 0.5s ease;
}
.progress-bar-fill.completed {
  background: linear-gradient(90deg, #28a745, #20c997);
}
.referral-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}
.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}
.detail-item i {
  color: var(--primary);
  font-size: 0.9rem;
}
.detail-item span:last-child {
  color: #171a1d;
  font-weight: 500;
}
.visit-history {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
}
.visit-history-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.visit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.visit-tag {
  background: #e9ecef;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #495057;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.visit-tag.completed {
  background: #d4edda;
  color: #155724;
}
.visit-tag i {
  font-size: 0.65rem;
}
/* Referral Benefits Card */
.referral-benefits-card {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-radius: 16px;
  padding: 20px;
  margin-top: 10px;
  border: 1px solid #ffc107;
}
.benefits-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.benefits-header i {
  font-size: 1.5rem;
  color: #856404;
}
.benefits-header h4 {
  margin: 0;
  color: #856404;
  font-size: 1.1rem;
}
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #856404;
}
.benefit-item i {
  width: 20px;
  font-size: 0.85rem;
}
/* Empty State */
.empty-referrals {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 16px;
}
.empty-referrals i {
  font-size: 3rem;
  color: #cbd5e0;
  margin-bottom: 15px;
}
.empty-referrals h4 {
  margin: 0 0 10px 0;
  color: #2c3e50;
}
.empty-referrals p {
  color: #6c757d;
  font-size: 0.9rem;
}
/* Responsive */
@media (max-width: 768px) {
  .referrals-header-card {
    flex-direction: column;
    text-align: center;
  }
  .referrals-header-content {
    flex-direction: column;
    text-align: center;
  }
  .referral-details-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .referral-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .referral-status-badge {
    align-self: flex-start;
  }
}
@media (max-width: 480px) {
  .referrals-stats {
    width: 100%;
    justify-content: center;
  }
  .stat-badge {
    padding: 6px 12px;
    min-width: 70px;
  }
  .stat-number {
    font-size: 1.2rem;
  }
}
/* Referral Program Unavailable Card */
.referral-unavailable-card {
  text-align: center;
  padding: 60px 30px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 20px;
}
.referral-unavailable-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.referral-unavailable-icon i {
  font-size: 2.5rem;
  color: #adb5bd;
}
.referral-unavailable-card h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}
.referral-unavailable-card p {
  color: #6c757d;
  max-width: 400px;
  margin: 0 auto;
}
/* Referral Code & Share Section */
.referral-code-share-section {
  margin-bottom: 25px;
}
.referral-code-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}
.referral-code-card h4 {
  margin: 0 0 15px 0;
  font-size: 1rem;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}
.referral-code-card h4 i {
  color: var(--primary);
}
.referral-code-display {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.referral-code {
  background: #f0f7f7;
  padding: 10px 15px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1px;
  flex: 1;
  text-align: center;
  border: 1px dashed var(--primary);
}
.referral-link-display {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.referral-link {
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 8px;
  color: #6c757d;
  word-break: break-all;
  flex: 1;
  font-family: monospace;
}
.btn-copy-code, .btn-copy-link {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-copy-code:hover, .btn-copy-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
/* Share Buttons Section */
.share-buttons-section {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}
.share-buttons-section h4 {
  margin: 0 0 15px 0;
  font-size: 1rem;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}
.share-buttons-section h4 i {
  color: var(--primary);
}
.share-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}
.share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.75rem;
}
.share-btn i {
  font-size: 1.2rem;
}
.share-btn.facebook {
  background: #4267B2;
  color: white;
}
.share-btn.twitter {
  background: #000000;
  color: white;
}
.share-btn.whatsapp {
  background: #25D366;
  color: white;
}
.share-btn.email {
  background: #ea4335;
  color: white;
}
.share-btn.native {
  background: var(--primary);
  color: white;
}
.share-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}
/* Responsive */
@media (max-width: 480px) {
  .share-buttons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .referral-code-display, .referral-link-display {
    flex-direction: column;
  }
  .btn-copy-code, .btn-copy-link {
    width: 100%;
  }
}
/* Shimmer animation for star icon */
.fa-star {
  animation: starShimmerWithColor 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
  text-shadow: 0 1px 1px rgba(0, 0, 0, 1);
}
@keyframes starShimmer {
  0% {
    opacity: 0.6;
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(255, 215, 0, 0));
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(255, 215, 0, 0));
  }
}
/* Optional: Add color cycling to the shimmer */
@keyframes starShimmerWithColor {
  0% {
    opacity: 0.6;
    transform: scale(1);
    color: #ffd700;
    filter: drop-shadow(0 0 0px #ffd700);
  }
  25% {
    color: #ffaa00;
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    color: #ffea00;
    filter: drop-shadow(0 0 15px #ffea00);
  }
  75% {
    color: #ffcc00;
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
    color: #ffd700;
    filter: drop-shadow(0 0 0px #ffd700);
  }
}
/* More dramatic shimmer with rotation */
@keyframes starShimmerDramatic {
  0% {
    opacity: 0.7;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 0px gold);
  }
  25% {
    transform: scale(1.1) rotate(5deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(0deg);
    filter: drop-shadow(0 0 15px gold);
  }
  75% {
    transform: scale(1.1) rotate(-5deg);
  }
  100% {
    opacity: 0.7;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 0px gold);
  }
}
/* Apply different animations based on preference */
.points-balance-large i.fa-star {
  animation: starShimmerWithColor 2s ease-in-out infinite;
}
/* On hover, make it spin and shimmer faster */
.points-balance-large:hover i.fa-star {
  animation: starShimmerDramatic 0.8s ease-in-out infinite;
}
/* Make profile-id-badge and points container clickable */
.profile-id-badge {
  cursor: pointer;
  transition: all 0.3s ease;
}
.profile-id-badge:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.profile-id-points-container {
  cursor: pointer;
  transition: all 0.3s ease;
}
.profile-id-points-container:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
.profile-id-points-container:hover .profile-id-points {
  transform: scale(1.02);
}
/* Dynamic Deals Styling */
.deal-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.deal-card.featured {
  border-left: 4px solid #ffc107;
  background: linear-gradient(135deg, #fffef5, #ffffff);
}
.deal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(55, 118, 118, 0.12);
}
.deal-card.expired {
  opacity: 0.6;
  background: #f8f9fa;
}
.deal-icon {
  width: 50px;
  height: 50px;
  /*background: linear-gradient(135deg, var(--primary-light), var(--primary));*/
  /*background: linear-gradient(135deg, #ffeb6c80, #ffdc00);*/
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bc7e19;
  font-size: 22px;
  flex-shrink: 0;
  background: linear-gradient(222deg, rgba(255, 221, 0, 1) 31%, rgba(255, 249, 84, 1) 39%, rgba(255, 221, 0, 1) 68%);
}
.deal-icon:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmer 8s infinite;
  pointer-events: none;
}
.deal-info {
  flex: 1;
  line-height: 1;
}
.deal-info h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #262e37;
  font-weight: 600;
}
.deal-info p {
  margin: 0 0 8px 0;
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}
.deal-meta {
  /*
	display: flex;
    flex-wrap: wrap;
	*/
  display: inline-grid;
  gap: 10px;
}
.deal-badge {
  display: inline-block;
  background: #28a745;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.deal-badge.points {
  border: solid 5px #fffb4e;
  color: #000;
  text-shadow: 0 1px 3px rgb(255 255 255 / 90%);
  background: #ffdd00;
  background: linear-gradient(171deg, rgba(255, 221, 0, 1) 31%, rgba(255, 249, 84, 1) 39%, rgba(255, 221, 0, 1) 68%);
}
.deal-badge.percentage {
  background: #17a2b8;
  color: white;
}
.deal-expiry {
  font-size: 10px;
  color: #333;
  margin-top: 8px;
}
.deal-claim-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}
.deal-claim-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.deal-ribbon {
  position: absolute;
  top: 10px;
  right: -30px;
  background: #dc3545;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 30px;
  transform: rotate(45deg);
  width: 100px;
  text-align: center;
}
.program-description {
  margin: 0 0 8px 0;
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}
.program-description ul, .program-description ol {
  margin: 5px 0 5px 20px;
  padding: 0;
}
.program-description li {
  margin-bottom: 3px;
}
.program-description p {
  margin: 0 0 5px 0;
}
/* Clickable program card */
.deal-card.clickable-program {
  cursor: pointer;
  transition: all 0.3s ease;
}
.deal-card.clickable-program:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(55, 118, 118, 0.15);
  border-color: var(--primary);
}
.deal-badge.referral-link {
  background: var(--primary);
  color: white;
  color: white;
  padding: 11px 10px;
  border-radius: 20px;
}
.deal-badge.referral-link i {
  margin-right: 4px;
}
/* Shop Tab Styles */
.shop-container {
  padding: 5px;
}
.shop-header {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.search-bar {
  flex: 2;
  position: relative;
  min-width: 200px;
}
.search-bar i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
}
.search-input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  font-size: 14px;
  background: white;
}
.category-filter {
  flex: 1;
  min-width: 150px;
}
.category-select {
  width: 100%;
  padding: 12px;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  font-size: 14px;
  background: white;
}
.cart-icon-btn {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}
.cart-icon-btn:hover {
  transform: scale(1.05);
  background: var(--primary-dark);
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
/* Header Cart Icon */
.cart-icon-header {
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.icon-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--gray);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.3s;
  position: relative;
}
.icon-btn:hover {
  background: var(--light);
}
/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(55, 118, 118, 0.15);
}
.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f8f9fa;
}
.modal-body .product-info {
  padding: 0 !important;
  line-height: 1;
}
.product-info {
  padding: 15px;
  line-height: 1;
}
.product-title {
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  margin: 0 0 8px 0;
  line-height: 1;
}
.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #28a745;
  margin-bottom: 8px;
}
.product-price .original-price {
  font-size: 0.9rem;
  color: #000;
  text-decoration: line-through;
  margin-left: 8px;
}
.product-category {
  font-size: 0.6rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: absolute;
  right: 9px;
  top: 7px;
  background-color: #ffffffa3;
  padding: 4px;
}
.product-actions {
  display: flex;
  gap: 10px;
}
.btn-add-to-cart {
  flex: 1;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-add-to-cartx {
  flex: 1;
  background: #193e24;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-add-to-cart:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
/* Product Modal */
.product-modal-container {
  max-width: 800px;
  width: 95%;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.product-detail-image {
  width: 100%;
  border-radius: 12px;
}
.product-detail-info h2 {
  margin: 0 0 10px 0;
  color: #2c3e50;
}
.product-detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #28a745;
  margin-bottom: 15px;
}
.product-detail-description {
  color: #000;
  line-height: 1.5;
  margin-bottom: 20px;
}
.custom-field label {
  display: flex;
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
  font-size: 0.85rem;
  gap: 10px;
}
.custom-field select, .custom-field input {
  /*width: 100%;*/
  padding: 10px;
  border: 1px solid #9bb0c4;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 8px;
  background: white;
}
.custom-field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #9bb0c4;
  border-radius: 8px;
  resize: vertical;
}
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 30px;
}
.quantity-btn {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border: 1px solid #9bb0c4;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
}
.quantity-input {
  width: 60px;
  text-align: center;
  padding: 10px;
  border: 1px solid #9bb0c4;
  border-radius: 8px;
}
/* Cart Modal */
.cart-modal-container {
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}
.cart-item {
  display: block;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #e9ecef;
  position: relative;
}
.cart-item-info {
  flex: 2;
}
.cart-item-name {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}
.cart-item-price {
  color: #28a745;
  font-weight: 500;
}
.cart-item-options {
  font-size: 0.75rem;
  color: #000;
}
.cart-item-quantity {
  text-align: right;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}
.qty {
  padding: 0 15px;
}
.cart-qty-btn {
  width: 30px;
  height: 30px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  cursor: pointer;
}
.cart-item-subtotal {
  font-weight: 700;
  color: #2c3e50;
  min-width: 80px;
  text-align: right;
}
.cart-remove {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 5px;
  position: absolute;
  top: 34px;
  right: 10px;
}
.cart-total {
  padding: 15px;
  text-align: right;
  font-size: 1rem;
  border-top: 2px solid #e9ecef;
  margin-top: 15px;
  line-height: 1;
}
.checkout-btn {
  width: 100%;
  background: #28a745;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
}
/* Checkout Modal */
.checkout-modal-container {
  max-width: 600px;
  width: 90%;
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
}
.order-summary {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  margin: 15px 0;
}
.summary-row {
  text-align: right;
  justify-content: space-between;
  padding: 8px 0;
}
.summary-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 1px solid #dee2e6;
  margin-top: 8px;
  padding-top: 12px;
}
/* Updated Payment Options */
.payment-options {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.payment-option {
  flex: 1;
  text-align: center;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}
.payment-option.selected {
  border-color: var(--primary);
  background: rgba(55, 118, 118, 0.1);
}
@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
}
/* Pickup Information Styles */
.pickup-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
  margin-top: 20px;
  border-top: 4px solid var(--primary);
}
.pickup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--primary);
}
.pickup-header i {
  font-size: 1.2rem;
}
.pickup-address, .pickup-hours {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #333;
}
.pickup-address i, .pickup-hours i {
  width: 20px;
  color: var(--primary);
  margin-top: 2px;
}
.payment-option {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 15px 10px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}
.payment-option:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
}
.payment-option.selected {
  border-color: var(--primary);
  background: rgba(55, 118, 118, 0.1);
}
.payment-option i {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}
.payment-option[data-payment="pay_at_store"] i {
  color: #28a745;
}
.payment-option[data-payment="etransfer"] i {
  color: #17a2b8;
}
.payment-option[data-payment="paypal"] i {
  color: #0070ba;
}
.payment-option div {
  font-weight: 600;
  margin-bottom: 4px;
}
.payment-option small {
  font-size: 0.7rem;
  color: #6c757d;
}
/* Order Summary */
.order-summary {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 12px;
  margin: 15px 0;
  line-height: 1;
}
.order-summary h4 {
  margin: 0 0 12px 0;
  font-size: 1rem;
  color: #2c3e50;
}
.summary-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 1px solid #dee2e6;
  margin-top: 8px;
  padding-top: 12px;
  color: var(--primary);
}
/* Customer Confirmation Section */
.customer-confirmation {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  font-size: 0.85rem;
  color: #333;
}
.customer-confirmation i {
  width: 20px;
  color: var(--primary);
  margin-top: 2px;
}
.customer-confirmation strong {
  color: var(--primary);
}
.product-points {
  font-size: 0.75rem;
  color: #ffc107;
  margin: 5px 0;
}
.product-points i {
  margin-right: 3px;
}
.product-points-detail {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 10px;
  margin: 15px 0;
  color: #856404;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-points-detail i {
  color: #ffc107;
  font-size: 1rem;
}
/* Price Adjustment Styles */
.price-note {
  color: #28a745;
  font-size: 0.7rem;
  margin-left: 8px;
}
.price-adjustment {
  color: #28a745;
  font-size: 0.7rem;
}
.price-breakdown {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
  font-size: 1rem;
  color: #000;
  border-top: 3px solid #28a745;
  line-height: 1.3;
}
.radio-group, .checkbox-group {
  /*display: flex;*/
  flex-wrap: wrap;
  margin-top: 5px;
  text-align: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.custom-field {
  padding: 10px 0;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 5px;
}
.custom-field select, .custom-field input[type="text"], .custom-field textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 0.9rem;
}
.custom-field select:focus, .custom-field input:focus, .custom-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(55, 118, 118, 0.1);
}
/* Remove shipping from cart */
.shipping-row {
  display: none;
}
/* Product Modal Styles */
.product-detail-grid {}
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-detail-image {
  width: 100%;
  border-radius: 12px;
  background: #f8f9fa;
}
.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.thumbnail-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
  border: solid 1px #ccc;
}
.thumbnail-img:hover {
  border-color: var(--primary);
}
.product-info {
  display: flex;
  flex-direction: column;
  /*gap: 12px;*/
}
.product-info h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #2c3e50;
}
.product-price {
  margin: 5px 0 0 0;
}
.current-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #28a745;
}
.original-price {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}
.sale-badge {
  background: #dc3545;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  margin-left: 10px;
}
.product-description {
  color: #232a30;
  line-height: 1.5;
  padding: 10px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}
.stock-info {
  font-size: 0.85rem;
  margin: 10px 0;
}
.in-stock {
  color: #28a745;
}
.low-stock {
  color: #dc3545;
}
.out-of-stock {
  color: #6c757d;
}
.custom-fields-container {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
  margin: 10px 0;
}
.custom-field:last-child {
  margin-bottom: 0;
}
.custom-field label {
  display: flex;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: #192027;
}
.price-note {
  color: #28a745;
  font-size: 0.7rem;
  margin-left: 8px;
}
.price-adjustment {
  color: #28a745;
  font-size: 0.7rem;
}
.radio-group, .checkbox-group {
  /*display: flex;*/
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  border-top: solid 1px #333;
  padding-top: 10px;
}
.custom-field select, .custom-field input[type="text"], .custom-field textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 0.85rem;
}
.quantity-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #ced4da;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
}
.quantity-input {
  width: 60px;
  height: 36px;
  text-align: center;
  border: 1px solid #ced4da;
  border-radius: 6px;
}
.product-points-badge {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 10px;
  color: #856404;
  font-size: 0.85rem;
  text-align: center;
}
.product-points-badge i {
  color: #ffc107;
  margin-right: 5px;
}
.add-to-cart-btn {
  width: 100%;
  padding: 14px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.3s;
}
.add-to-cart-btn:hover:not(:disabled) {
  background: #1e7e34;
}
.add-to-cart-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
/* Featured Products Section */
.featured-products-section {
  margin-top: 20px;
  background: white;
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.featured-header h3 {
  font-weight: 600;
}
.view-all-btn {
  transition: all 0.3s ease;
}
.view-all-btn:hover {
  color: var(--primary-dark);
  transform: translateX(3px);
}
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.featured-product-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.featured-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(55, 118, 118, 0.12);
  border-color: var(--primary-light);
}
.featured-product-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #f8f9fa;
}
.featured-product-info {
  padding: 10px;
}
.featured-product-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 4px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-product-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #28a745;
  margin-bottom: 4px;
}
.featured-product-price .original-price {
  font-size: 0.7rem;
  color: #6c757d;
  text-decoration: line-through;
  margin-left: 5px;
}
.featured-product-points {
  font-size: 0.65rem;
  color: #ffc107;
  display: flex;
  align-items: center;
  gap: 3px;
}
.featured-product-points i {
  font-size: 0.6rem;
}
.sale-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #dc3545;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
}
@media (max-width: 480px) {
  .featured-products-grid {
    gap: 10px;
  }
  .featured-product-image {
    height: 120px;
  }
  .featured-product-title {
    font-size: 0.8rem;
  }
  .featured-product-price {
    font-size: 0.85rem;
  }
}
.featured-products-section {
  margin-top: 20px;
  background: white;
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.featured-products-section[style*="display: none"] {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
/* Footer Styles */
.app-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-logo-img {
  width: 55px;
  height: auto;
  transition: opacity 0.3s ease;
}
.footer-logo-img:hover {
  opacity: 1;
}
.footer-text p {
  margin: 0;
  color: black;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.footer-text a {
  margin: 0;
  color: black;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.footer-text strong {
  color: black;
  font-weight: 600;
}
/* Make footer responsive and ensure it stays at bottom */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#app {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.app-footer {
  margin-top: auto;
}
/* Adjust tab content to account for footer */
.tab-content {
  /*padding-bottom: 20px;*/
}
/* On mobile, ensure footer doesn't overlap with bottom nav */
@media (max-width: 768px) {
  .app-footer {
    margin-bottom: 80px;
    padding: 8px 16px
  }
  .footer-text p {
    font-size: 10px;
  }
}
/* Promotion Badges */
.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
}
.bonus-badge {
  background: linear-gradient(135deg, #ffc107, #e0a800);
  color: #47330d;
}
.bonus-badge i {
  font-size: 0.6rem;
}
.points-badge {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: white;
}
.points-badge i {
  font-size: 0.6rem;
  margin-right: 2px;
}
.sale-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #dc3545;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 1;
}
/* Store-wide promotion banner */
.store-promo-banner {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 15px;
  text-align: center;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.store-promo-banner .promo-icon {
  font-size: 1.2rem;
}
.store-promo-banner .promo-text {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 500;
}
.store-promo-banner .promo-text strong {
  font-size: 1rem;
}
/* Cart page promotion banners */
.cart-promo-section {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border-radius: 12px;
  padding: 12px 15px;
  margin: 15px 0;
}
.cart-promo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #856404;
  margin-bottom: 8px;
}
.cart-promo-item:last-child {
  margin-bottom: 0;
}
.cart-promo-item i {
  width: 20px;
  font-size: 0.9rem;
}
/* Cart Promotion Section */
.cart-promo-section {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border-radius: 12px;
  padding: 12px 15px;
  margin: 15px 0;
}
.cart-promo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #856404;
  margin-bottom: 8px;
}
.cart-promo-item:last-child {
  margin-bottom: 0;
}
.cart-promo-item i {
  width: 20px;
  font-size: 0.9rem;
}
/* Product Bonus Expiry Badges */
.promo-badge-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.expiry-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.6rem;
  font-weight: 500;
  white-space: nowrap;
}
.expiry-badge i {
  font-size: 0.6rem;
}
.expiry-active {
  background: #e8f5e9;
  color: #2d332d;
}
.expiry-soon {
  background: #fff3e0;
  color: #e65100;
  animation: pulse-warning 1s infinite;
}
.expiry-badge.expired {
  background: #ffebee;
  color: #c62828;
}
@keyframes pulse-warning {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
/* Product Detail Modal Bonus Offers */
.product-bonus-offers {
  margin: 15px 0 0;
  padding: 12px;
  border-radius: 10px;
  border-top: 4px solid #ffc107;
  background-image: linear-gradient(198deg, #ffb000 25%, transparent 25%, transparent 50%, #ffffff 73%, #ffffff 75%, transparent 75%, #ffe48c);
}
.bonus-header {
  font-weight: 600;
  color: #856404;
  font-size: 1.2rem;
}
.bonus-offer-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #ffeaa7;
}
.bonus-offer-detail:last-child {
  border-bottom: none;
}
.bonus-offer-text {
  font-size: 0.85rem;
  color: #5c3d00;
  font-weight: 500;
}
.bonus-offer-text i {
  color: #ffc107;
  margin-right: 6px;
}
.expiry-badge-detail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
}
.expiry-badge-detail i {
  font-size: 0.7rem;
}
.expiry-badge-detail.expiry-active {
  background: #e8f5e9;
  color: #2e7d32;
}
.expiry-badge-detail.expiry-soon {
  background: #fff3e0;
  color: #e65100;
  animation: none !important;
}
.expiry-badge-detail.expired {
  background: #ffebee;
  color: #c62828;
}
/* Product Points Badge */
.product-points-badge {
  background: linear-gradient(135deg, #f1e9bf 0%, #ffdc97 100%);
  color: #362911;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin: 10px 0;
}
.product-points-badge i {
  color: #362911;
  margin-right: 6px;
}
@keyframes pulse-warning {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
/* Fix modal header in product-modal when scrolling */
#product-modal .modal-container {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}
#product-modal .modal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #2d3646;
  border-bottom: 1px solid #dee2e6;
  flex-shrink: 0;
}
#product-modal .modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
#product-modal .modal-footer {
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: white;
  border-top: 1px solid #dee2e6;
  flex-shrink: 0;
}
/* Make all modal headers sticky */
.modal .modal-container {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}
.modal .modal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
  border-bottom: 1px solid #dee2e6;
  flex-shrink: 0;
}
.modal .modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.modal .modal-footer {
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: white;
  border-top: 1px solid #dee2e6;
  flex-shrink: 0;
}
/* Required field validation styles */
.required-star {
  color: #dc3545;
  margin-left: 2px;
}
.required-invalid {
  /*border: 1px solid #dc3545 !important;*/
  /*box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25) !important;*/
}
.required-invalid select, .required-invalid input {
  border-color: #dc3545 !important;
}
.custom-field.required-invalid {
  /*border-left: 3px solid #dc3545;*/
  padding: 10px;
}
.required-warning {
  animation: shakeWarning 0.5s ease-in-out;
}
@keyframes shakeWarning {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
/* Fix modal header for Earn More Points modal */
#earn-points-modal .modal-container {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}
#earn-points-modal .modal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  flex-shrink: 0;
}
#earn-points-modal .modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
#earn-points-modal .modal-footer {
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: white;
  border-top: 1px solid #e9ecef;
  flex-shrink: 0;
}
.promo-delete {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 5px;
}
.promo-delete i {
  font-size: 1.3rem !important;
}
/* Bottom Navigation Wrapper - Horizontal Scrolling */
.bottom-nav-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e9ecef;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}
.bottom-nav-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}
.bottom-nav-scroll::-webkit-scrollbar {
  height: 3px;
}
.bottom-nav-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.bottom-nav-scroll::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}
.bottom-nav-scroll::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
.bottom-nav {
  display: flex;
  gap: 5px;
  padding: 8px 16px;
  min-width: max-content;
}
.bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px 16px;
  border-radius: 12px;
  color: #000;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}
.bottom-nav-btn i {
  font-size: 1.2rem;
}
.bottom-nav-btn span {
  font-size: 0.7rem;
  font-weight: 500;
}
.bottom-nav-btn.active {
  background: <?php echo $color_scheme;
  ? > ;
  color: white;
}
.scroll-hint {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, white);
  padding: 8px 15px 8px 30px;
  pointer-events: none;
  animation: pulseHint 1.5s ease-in-out infinite;
  display: none;
}
.scroll-hint i {
  color: <?php echo $color_scheme;
  ? > ;
  margin-right: 5px;
}
.scroll-hint span {
  font-size: 0.7rem;
  color: <?php echo $color_scheme;
  ? > ;
}
@keyframes pulseHint {
  0%, 100% {
    opacity: 0.7;
    transform: translateY(-50%) translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
  }
}
/* Show scroll hint on smaller screens */
@media (max-width: 480px) {
  .scroll-hint {
    display: block;
  }
}
/* My Orders Tab Styles */
.myorders-container {
  padding: 15px;
  max-width: 600px;
  margin: 0 auto;
}
.myorders-header {
  margin-bottom: 20px;
}
.myorders-header h3 {
  margin: 0 0 5px 0;
  font-size: 1.4rem;
  color: #2c3e50;
}
.order-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}
.filter-chip {
  padding: 8px 16px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 1px solid #e9ecef;
  font-size: 0.85rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.filter-chip.active {
  background: <?php echo $color_scheme;
  ? > ;
  border-color: <?php echo $color_scheme;
  ? > ;
  color: white;
}
.filter-chip:hover:not(.active) {
  background: #e9ecef;
}
.orders-list {
  display: flex;
  flex-direction: column;
}
.order-card {
  background: white;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: all 0.2s;
}
.order-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}
.order-number {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
}
.order-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.order-status.pending {
  background: #fff3cd;
  color: #856404;
}
.order-status.processing {
  background: #cfe2ff;
  color: #084298;
}
.order-status.completed {
  background: #d1e7dd;
  color: #0f5132;
}
.order-status.cancelled {
  background: #f8d7da;
  color: #721c24;
}
.order-date {
  font-size: 0.7rem;
  color: #6c757d;
}
.order-body {
  padding: 15px;
}
.order-items {
  margin-bottom: 15px;
}
.order-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.order-item:last-child {
  border-bottom: none;
}
.order-item-name {
  font-size: 0.85rem;
  color: #2c3e50;
}
.order-item-price {
  font-size: 0.85rem;
  font-weight: 500;
  color: #28a745;
}
.order-total {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid #e9ecef;
  font-weight: 600;
}
.order-total span:last-child {
  color: #28a745;
  font-size: 1.1rem;
}
.order-footer {
  padding: 12px 15px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-payment-method {
  font-size: 0.75rem;
  color: #6c757d;
}
.btn-view-details {
  background: none;
  border: none;
  color: <?php echo $color_scheme;
  ? > ;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.2s;
}
.btn-view-details:hover {
  background: rgba(55, 118, 118, 0.1);
}
.empty-orders {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}
.empty-orders i {
  font-size: 3rem;
  color: #dee2e6;
}
/* ========== MY ORDERS TAB STYLES ========== */
.myorders-container {
  padding: 5px;
  max-width: 600px;
  margin: 0 auto;
  min-height: calc(100vh - 200px);
}
.myorders-header {
  margin-bottom: 20px;
  text-align: center;
}
.myorders-header h3 {
  margin: 0 0 5px 0;
  font-size: 1.6rem;
  font-weight: 600;
  color: #2c3e50;
}
.myorders-header h3 i {
  color: #28a745;
  margin-right: 10px;
}
.myorders-header p {
  margin: 0;
  color: #6c757d;
  font-size: 0.85rem;
}
/* Order Filters */
.order-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 15px 0;
  margin-bottom: 5px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.order-filters::-webkit-scrollbar {
  height: 3px;
}
.order-filters::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.order-filters::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}
.filter-chip.active {
  background: #377676;
  border-color: #377676;
  color: white;
}
.filter-chip:hover:not(.active) {
  background: #e9ecef;
  transform: translateY(-1px);
}
/* Order Cards */
.orders-list {
  display: flex;
  flex-direction: column;
}
.order-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #dee2e6;
}
/* Order Header */
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid #e9ecef;
}
.order-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.order-number {
  font-weight: 700;
  font-size: 0.9rem;
  color: #2c3e50;
  font-family: monospace;
  letter-spacing: 0.5px;
}
.order-date {
  font-size: 0.7rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 5px;
}
.order-date i {
  font-size: 0.65rem;
  color: #adb5bd;
}
/* Order Status Badges */
.order-status-badge {
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.order-status-badge.pending {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}
.order-status-badge.processing {
  background: #cfe2ff;
  color: #084298;
  border: 1px solid #b6d4fe;
}
.order-status-badge.completed {
  background: #d1e7dd;
  color: #0f5132;
  border: 1px solid #a3cfbb;
}
.order-status-badge.cancelled {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.order-status-badge.refunded {
  background: #e2e3e5;
  color: #383d41;
  border: 1px solid #d6d8db;
}
/* Order Body */
.order-body {
  padding: 16px 18px;
}
.order-items {
  margin-bottom: 16px;
}
.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.order-item:last-child {
  border-bottom: none;
}
.order-item-name {
  font-size: 0.85rem;
  color: #2c3e50;
  font-weight: 500;
}
.order-item-qty {
  font-size: 0.75rem;
  color: #6c757d;
  margin-left: 8px;
}
.order-item-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: #28a745;
}
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid #e9ecef;
}
.order-total span:first-child {
  font-size: 0.85rem;
  color: #6c757d;
}
.order-total strong {
  font-size: 1rem;
  color: #28a745;
}
/* Order Footer */
.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}
.payment-method {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: #6c757d;
  background: white;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #e9ecef;
}
.payment-method i {
  font-size: 0.75rem;
}
.payment-method i.fa-paypal {
  color: #003087;
}
.payment-method i.fa-university {
  color: #0056b3;
}
.payment-method i.fa-store {
  color: #28a745;
}
.view-details-btn {
  background: none;
  border: none;
  color: #000;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: #ebebeb;
}
.view-details-btn:hover {
  background: rgba(55, 118, 118, 0.1);
  transform: translateX(2px);
}
/* Empty State */
.empty-orders {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 16px;
  margin-top: 20px;
}
.empty-orders p {
  color: #6c757d;
  margin: 0 0 5px 0;
}
.empty-orders .small {
  font-size: 0.75rem;
  color: #adb5bd;
}
.order-item-preview {
  font-size: 0.8rem;
  color: #495057;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
/*
.order-item-preview:before {
    content: "•";
    color: #377676;
    font-weight: bold;
}
*/
.order-item-preview.text-muted {
  color: #6c757d;
  font-size: 0.75rem;
}
.order-item-preview.text-muted:before {
  color: #adb5bd;
}
/* Order Total Simple */
.order-total-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e9ecef;
}
.order-total-simple span {
  font-size: 0.8rem;
  color: #000;
}
.order-total-simple strong {
  font-size: 1rem;
  color: #28a745;
}
/* Payment Badge */
.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: #000;
  background: white;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #e9ecef;
}
/* Order Card Simple (for the current HTML) */
.order-card-simple {
  background: white;
  border-radius: 16px;
  border: 1px solid #e9ecef;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.order-card-simple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.order-header-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-bottom: 1px solid #e9ecef;
  line-height: 1;
}
.order-header-simple > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.order-header-simple .order-number {
  font-weight: 700;
  font-size: 0.85rem;
  color: #333;
  font-family: monospace;
}
.order-date-simple {
  font-size: 0.65rem;
  color: #000;
}
.order-status-badge {
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.order-body-simple {
  padding: 6px 16px;
}
.order-footer-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #fafbfc;
  border-top: 1px solid #e9ecef;
}
/* Status badge text for pending status */
.order-status-badge.pending {
  background: #fff3cd;
  color: #856404;
}
.order-status-badge.pending:after {
  content: "PENDING";
}
.order-status-badge.processing:after {
  content: "PROCESSING";
}
.order-status-badge.completed:after {
  content: "COMPLETED";
}
.order-status-badge.cancelled:after {
  content: "CANCELLED";
}
/* If status badge has text content, hide the pseudo-element */
.order-status-badge:not(:empty):after {
  display: none;
}
/* Scroll hint animation */
@keyframes gentlePulse {
  0%, 100% {
    opacity: 0.7;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(3px);
  }
}
.filter-chip:active {
  transform: scale(0.96);
}
/* Loading spinner */
.loading-spinner {
  text-align: center;
  padding: 40px;
  color: #6c757d;
}
.loading-spinner i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}
/* Product thumbnail styles */
.order-item-with-thumb {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.order-item-thumbnail {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  flex-shrink: 0;
}
.order-item-details {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.order-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2c3e50;
}
.order-item-qty {
  font-size: 0.7rem;
  color: #6c757d;
}
.order-item-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: #28a745;
}
.order-item-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.order-item-preview-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #959595;
  border: 1px solid #e9ecef;
  flex-shrink: 0;
}
.order-item-preview-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-item-preview-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: #000;
}
.order-item-preview-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: #28a745;
}
.order-item-preview-qty {
  font-size: 0.9rem;
  color: #000;
  margin-left: 5px;
}
/* Order Details Modal Styles */
.order-info-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.85rem;
}
.info-row:last-child {
  margin-bottom: 0;
}
.info-row .text-muted {
  color: #6c757d;
}
.info-row .fw-semibold {
  font-weight: 600;
  color: #2c3e50;
}
.order-status-badge {
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-block;
}
.order-status-badge.pending {
  background: #fff3cd;
  color: #856404;
}
.order-status-badge.processing {
  background: #cfe2ff;
  color: #084298;
}
.order-status-badge.completed {
  background: #d1e7dd;
  color: #0f5132;
}
.order-status-badge.cancelled {
  background: #f8d7da;
  color: #721c24;
}
/* Order Items Section */
.order-items-section {
  margin-bottom: 20px;
}
.order-items-section h4 {
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
}
.items-list {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 10px;
}
.detail-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 8px;
  border-bottom: 1px solid #f0f0f0;
}
.detail-item-row:last-child {
  border-bottom: none;
}
.detail-item-row strong {
  font-size: 0.85rem;
  color: #2c3e50;
}
.detail-item-row .text-muted {
  font-size: 0.7rem;
  color: #6c757d;
  margin-top: 3px;
}
.detail-item-row .text-end {
  text-align: right;
}
.detail-item-row .text-end div:first-child {
  font-weight: 600;
  color: #28a745;
}
/* Order Summary Section */
.order-summary-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
}
.order-summary-section .summary-row {
  padding: 0;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.summary-row.total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #dee2e6;
  font-weight: 700;
  font-size: 1rem;
}
.summary-row.total span:last-child {
  color: #28a745;
  font-size: 1.1rem;
}
/* Order Notes */
.order-notes {
  margin-top: 20px;
  padding: 12px;
  background: #fff3cd;
  border-radius: 8px;
  font-size: 0.8rem;
}
.order-notes small {
  color: #856404;
}
/* Order Items Preview Thumbnail */
.order-item-preview-thumb {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  object-fit: cover;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}
/* Product Options in Orders View Details Styles */
/* Product Options Styles */
.product-options {
  margin-top: 5px;
}
.product-options .text-muted {
  font-size: 0.7rem;
  color: #6c757d;
}
.options-list {
  margin: 5px 0 0 0;
  padding-left: 0;
  list-style: none;
}
.options-list li {
  font-size: 0.7rem;
  color: #495057;
  margin-bottom: 13px;
  flex-wrap: wrap;
  align-items: baseline;
}
.options-list li strong {
  color: #2c3e50;
  font-weight: 600;
  min-width: 100px;
  margin-right: 8px;
}
.options-list li strong:after {
  content: ":";
}
.store-related {
  display: none;
}
/* And keep specific rules for bottom nav buttons */
body.store-active .bottom-nav-btn.store-related {
  display: inline-flex !important;
}
body.store-active .cart-icon-header.store-related {
  display: flex !important;
}
/* Responsive ID Card */
/*
@media (max-width: 480px) {
    .profile-id-main {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .profile-id-name {
        justify-content: center;
    }
    
    .profile-id-phone {
        justify-content: center;
    }
    
    .profile-id-member-since {
        justify-content: center;
    }
    
    .profile-id-points-container {
        text-align: center;
    }
}


/* Fixed button group for service selection step */
.button-group-fixed {
    position: fixed !important;
    bottom: 60px !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    padding: 15px 20px !important;

    z-index: 9999 !important;
    display: flex !important;
    gap: 12px !important;
    border-top: 1px solid #e9ecef !important;
}

/* Add padding to bottom of booking-step to prevent content hiding behind fixed buttons */


/* Responsive adjustments */
@media (max-width: 768px) {
    .button-group-fixed {
        padding: 12px 15px !important;
    }
    
   
}

/* Button styles for fixed buttons */
.button-group-fixed .btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.button-group-fixed .btn-secondary {
    background: #6c757d;
    color: white;
}

.button-group-fixed .btn-primary {
    background: #28a745;
    color: white;
}

.button-group-fixed .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.button-group-fixed .btn-secondary:hover {
    background: #5a6268;
}

.button-group-fixed .btn-primary:hover:not(:disabled) {
    background: #218838;
}

/* Button group grid layout */
/* Default footer margin */
.app-footer {
    margin-bottom: 80px;
    transition: margin-bottom 0.3s ease;
}

/* When fixed buttons are visible, increase footer margin */
.app-footer.with-fixed-buttons-visible {
    margin-bottom: 140px !important;
}

/* Base responsive styles */
@media (max-width: 768px) {
    .app-footer {
        margin-bottom: 80px;
    }
    
    .app-footer.with-fixed-buttons-visible {
        margin-bottom: 140px !important;
    }
}