/* =========================================================
   ALPHATAILS BOOKING PAGE & UNIVERSAL HEADER/FOOTER STYLES
   ========================================================= */
:root {
  --brand-primary: #0f766e;       
  --brand-primary-dark: #115e59;  
  --brand-light: #f0fdfa;         
  --brand-border: #ccfbf1;        
  --text-dark: #111827;
  --text-muted: #6b7280;
  --primary-teal: #00796B;
  --primary-teal-dark: #005b4f;
  --section-aqua: #E0F7FA;
  --heading-navy: #023047;
  --bg-white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Designer Pet Accessories Seamless SVG Pattern Background */
.pet-pattern-bg {
  background-color: #f8fafc;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230f766e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' opacity='0.13'%3E%3Ccircle cx='30' cy='35' r='6' fill='%230f766e'/%3E%3Ccircle cx='20' cy='24' r='3' fill='%230f766e'/%3E%3Ccircle cx='27' cy='20' r='3' fill='%230f766e'/%3E%3Ccircle cx='34' cy='20' r='3' fill='%230f766e'/%3E%3Ccircle cx='40' cy='24' r='3' fill='%230f766e'/%3E%3Cpath d='M80 25 c-3-3 -7-1 -7 3 c-3 0 -5 4 -2 7 l14 14 c3 3 7 1 7 -3 c3 0 5 -4 2 -7 Z'/%3E%3Cpath d='M20 95 L45 95 L40 82 L25 82 Z'/%3E%3Cellipse cx='32.5' cy='82' rx='7.5' ry='2.5'/%3E%3Ccircle cx='85' cy='85' r='10' stroke-dasharray='4 2'/%3E%3Ccircle cx='85' cy='98' r='3.5' fill='%230f766e'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}

.container,
.layout-container {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 640px) {
  .container,
  .layout-container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (min-width: 1024px) {
  .container,
  .layout-container {
    max-width: 1280px !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

@media (min-width: 1280px) {
  .container,
  .layout-container {
    max-width: 1440px !important;
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
  }
}

@media (min-width: 1600px) {
  .container,
  .layout-container {
    max-width: 1536px !important;
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
}

/* UNIVERSAL HEADER STYLES */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--brand-border);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  flex-shrink: 0;
}

.logo-icon.small {
  width: 38px;
  height: 38px;
  font-size: 17px;
  border-radius: 10px;
}

.brand-title {
  display: block;
  font-size: 21px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-subtitle {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

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

.nav-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  transition: color 0.2s;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-primary);
}

.nav-link.active {
  border-bottom: 2px solid var(--brand-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--brand-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

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

.cart-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--text-dark);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: var(--brand-primary-dark);
}

/* Mobile Menu Button & Drawer */
.mobile-menu-btn {
  display: none;
  padding: 10px;
  border-radius: 12px;
  background-color: var(--brand-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-border);
  cursor: pointer;
}

.menu-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.hidden {
  display: none !important;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: #ffffff;
  border-bottom: 1px solid var(--brand-border);
  padding: 16px 20px 24px;
  gap: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-link {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--brand-light);
  color: var(--brand-primary);
}

.mobile-cta {
  text-align: center;
  margin-top: 8px;
}

/* BOOKING CARDS & SERVICE ITEMS */
.sub-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #F8FAFC;
  border-radius: 16px !important;
  border: 2px solid transparent !important;
  transition: all 0.2s ease;
  padding: 0.75rem 1rem !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.875rem;
  font-weight: 700 !important;
  color: #023047;
  cursor: pointer;
}

.sub-item:hover {
  border-color: #00796B !important;
  background-color: #E0F7FA;
  color: #00796B;
  transform: translateX(2px);
}

.price-tag {
  background: #ffffff;
  color: #00796B;
  padding: 0.25rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Enhanced Interactive Button States */
.category-btn {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(15, 118, 110, 0.1);
}

#packageContainer, 
#appointmentFormSection {
  animation: fadeIn 0.3s ease-in-out;
}

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

/* UNIVERSAL FOOTER STYLES */
.site-footer {
  background-color: #0b1120;
  color: #cbd5e1;
  padding-top: 52px;
  padding-bottom: 36px;
  border-top: 4px solid var(--brand-primary);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 260px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #2dd4bf !important;
}

.footer-col p {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}

/* Header Auth Buttons */
.btn-header-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: #023047;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-login:hover {
  border-color: #0f766e;
  color: #0f766e;
  background-color: #f0fdfa;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.08);
}

.profile-nav-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #f0fdfa;
  color: #0f766e;
  border: 1px solid #ccfbf1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.profile-nav-btn:hover {
  background-color: #ccfbf1;
  color: #042f2e;
  border-color: #0f766e;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.15);
  transform: translateY(-1px);
}

.user-active-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  border: 1.5px solid #ffffff;
}

.btn-header-admin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #042f2e;
  color: #ccfbf1;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid #14b8a6;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.2);
}

.btn-header-admin:hover {
  background-color: #115e59;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .main-nav,
  .header-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
