@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --bg-light: #F8FAFC;
  --text-light: #0F172A;
  --bg-dark: #0B0F19;
  --text-dark: #F1F5F9;
  --primary-sky: #38BDF8;
  --primary-indigo: #6366F1;
  --primary-purple: #A78BFA;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  -webkit-text-size-adjust: 100%;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-light);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Prevent double-tap zoom & focus zoom on mobile input fields */
button, a, input, select, textarea {
  touch-action: manipulation;
}

@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

body.drawer-open {
  overflow: hidden !important;
}

/* Dark Mode Body */
body.dark {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

/* Admin Page Safety Net Rules */
body.admin-page {
  padding-bottom: 0 !important;
}

body.admin-page .public-bottom-nav,
body.admin-page .floating-whatsapp,
body.admin-page .scroll-top,
body.admin-page .public-footer,
body.admin-page #bottom-nav-bar,
body.admin-page #floating-buttons-root,
body.admin-page #header-root,
body.admin-page #footer-root,
body.admin-page #sidebar-drawer {
  display: none !important;
}

/* LiveChat Page Full-Screen Rules */
body.livechat-page {
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

body.livechat-page #header-root,
body.livechat-page #footer-root,
body.livechat-page #bottom-nav-bar,
body.livechat-page #floating-buttons-root {
  display: none !important;
}

/* Admin Panel Chat Filter Tabs Row */
.chat-filter-tabs-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px;
}

.chat-filter-tabs-row::-webkit-scrollbar {
  height: 3px;
}

.chat-filter-tabs-row::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
}

.chat-filter-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 6px 12px;
  border-radius: 10px;
  background-color: transparent;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.chat-filter-tab:hover {
  color: #F8FAFC;
  background-color: rgba(30, 41, 59, 0.6);
}

.chat-filter-tab.active {
  color: #FFFFFF !important;
  background-color: #1E293B !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Admin Panel Mobile Bottom Tab Bar Styling */
.admin-bottom-tab-bar {
  position: fixed;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 12px;
  right: 12px;
  height: 64px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 26px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  z-index: 35 !important;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.drawer-open .admin-bottom-tab-bar,
body.admin-keyboard-open .admin-bottom-tab-bar,
body.admin-drawer-open .admin-bottom-tab-bar {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(100px) !important;
}

.admin-tab-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: #94A3B8;
  font-size: 10px;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 2px 0;
}

.admin-tab-btn i {
  font-size: 18px;
  margin-bottom: 2px;
  transition: transform 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.admin-tab-btn.active {
  color: #38BDF8;
}

.admin-tab-btn.active i {
  color: #38BDF8;
  transform: translateY(-1px) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.7));
}

.admin-tab-active-glow {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 80%;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 100%, rgba(56, 189, 248, 0.25) 0%, transparent 80%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.admin-tab-btn.active .admin-tab-active-glow {
  opacity: 1;
}

/* Auth Page Body Ambient Glows & Extra Bottom Padding */
body.auth-page {
  background-color: #F8FAFC;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.dark.auth-page {
  background-color: #070B14;
}

@media (max-width: 900px) {
  body.auth-page {
    padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Background floating light blue particles styling */
.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.25);
  animation: floatParticle 12s infinite ease-in-out;
}

body.dark .particle {
  background: rgba(56, 189, 248, 0.15);
}

@keyframes floatParticle {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-30px) translateX(15px) scale(1.2);
    opacity: 0.8;
  }
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

body.dark .glass-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.6);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

/* ================= PREMIUM 3D TOP HEADER ================= */
.header-3d-bar {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.12), 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background-color 0.3s ease;
  padding-top: max(8px, env(safe-area-inset-top));
  padding-bottom: 8px;
  position: relative;
}

body.dark .header-3d-bar {
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.1);
}

.header-3d-bar.is-scrolled {
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.22), 0 4px 12px rgba(15, 23, 42, 0.1);
  padding-top: max(4px, env(safe-area-inset-top));
  padding-bottom: 4px;
}

body.dark .header-3d-bar.is-scrolled {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.2);
}

.header-inner {
  padding-left: 14px;
  padding-right: 14px;
  height: 48px;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-3d-bar.is-scrolled .header-inner {
  height: 42px;
}

/* Soft Gradient Glowing Line Underneath Header */
.header-bottom-glow-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0) 0%, rgba(56, 189, 248, 0.6) 30%, rgba(167, 139, 250, 0.6) 70%, rgba(167, 139, 250, 0) 100%);
}

body.dark .header-bottom-glow-line {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0) 0%, rgba(56, 189, 248, 0.8) 30%, rgba(167, 139, 250, 0.8) 70%, rgba(167, 139, 250, 0) 100%);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

/* 3D Header Buttons (Hamburger, Theme, Language) */
.btn-3d-header {
  position: relative;
  min-width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 242, 254, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 6px 14px rgba(56, 189, 248, 0.18), 0 1px 3px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 2px rgba(15, 23, 42, 0.06);
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  user-select: none;
  cursor: pointer;
}

body.dark .btn-3d-header {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 10px rgba(56, 189, 248, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 2px rgba(0, 0, 0, 0.3);
  color: #F8FAFC;
}

.btn-3d-header-round {
  width: 40px;
}

.btn-3d-header-pill {
  padding: 0 12px;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(224, 242, 254, 0.9) 100%);
}

.btn-3d-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(56, 189, 248, 0.28), 0 2px 5px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(56, 189, 248, 0.6);
}

body.dark .btn-3d-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-3d-header:active {
  transform: scale(0.94);
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.2), 0 2px 6px rgba(56, 189, 248, 0.1);
}

/* Theme Icon Golden Glow & Rotation */
.theme-icon-sun {
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-theme-toggle:hover .theme-icon-sun {
  transform: rotate(45deg) scale(1.1);
}

.theme-icon-moon {
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-theme-toggle:hover .theme-icon-moon {
  transform: rotate(-25deg) scale(1.1);
}

/* Header User Avatar Button */
.btn-3d-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  padding: 0;
  transition: transform 0.15s ease;
}

.btn-3d-avatar:hover {
  transform: translateY(-1px) scale(1.04);
}

.btn-3d-avatar:active {
  transform: scale(0.94);
}

.avatar-ring-outer {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38BDF8 0%, #A78BFA 100%);
  padding: 2px;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.avatar-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background-color: #0F172A;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark .avatar-ring-inner {
  border-color: #0F172A;
}

.avatar-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #22C55E;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
}

body.dark .avatar-online-dot {
  border-color: #0F172A;
}

/* Header Brand Logo & Text */
.header-logo-link {
  text-decoration: none;
}

.logo-img-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.header-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(56, 189, 248, 0.3));
  transition: transform 0.25s ease;
}

.header-logo-link:hover .header-logo-img {
  transform: scale(1.06);
}

/* One-shot page load logo shine sweep */
.logo-img-container::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  animation: logoShineOnce 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s 1 forwards;
  pointer-events: none;
}

@keyframes logoShineOnce {
  0% { left: -100%; }
  100% { left: 200%; }
}

.header-brand-text {
  font-weight: 900;
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}

.brand-dark {
  color: #0F172A;
}

body.dark .brand-dark {
  color: #FFFFFF;
}

.brand-sky {
  color: #38BDF8;
  margin-left: 2px;
}

/* Hide brand text strictly below 340px width */
@media (max-width: 339px) {
  .header-brand-text {
    display: none !important;
  }
}

/* Primary Gradient Button */
.btn-primary-gradient {
  background: linear-gradient(135deg, #38BDF8 0%, #A78BFA 100%);
  color: #FFFFFF !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary-gradient:hover {
  opacity: 0.92;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
}

/* Green WhatsApp Button */
.btn-whatsapp-gradient {
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-whatsapp-gradient:hover {
  opacity: 0.92;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
  transform: translateY(-1px);
}

/* ================= CONTACT PAGE AMBIENT BACKGROUND ================= */
.contact-orbs-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

body.dark .contact-orbs-container {
  background: linear-gradient(180deg, #0b0f19 0%, #0f172a 100%);
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  -webkit-filter: blur(100px);
  opacity: 0.25;
  will-change: transform;
}

.orb-sky {
  width: 320px;
  height: 320px;
  top: -40px;
  left: -40px;
  background: radial-gradient(circle, rgba(186, 230, 253, 0.6) 0%, rgba(186, 230, 253, 0) 70%);
  animation: orbFloatSky 16s infinite alternate ease-in-out;
}

.orb-purple {
  width: 350px;
  height: 350px;
  top: 40%;
  right: -60px;
  background: radial-gradient(circle, rgba(224, 231, 255, 0.5) 0%, rgba(224, 231, 255, 0) 70%);
  animation: orbFloatPurple 18s infinite alternate ease-in-out;
}

.orb-pink {
  width: 300px;
  height: 300px;
  bottom: 5%;
  left: 10%;
  background: radial-gradient(circle, rgba(241, 245, 249, 0.5) 0%, rgba(241, 245, 249, 0) 70%);
  animation: orbFloatPink 20s infinite alternate ease-in-out;
}

body.dark .orb-sky {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  opacity: 0.3;
}

body.dark .orb-purple {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  opacity: 0.25;
}

body.dark .orb-pink {
  display: none;
}

@keyframes orbFloatSky {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 80px) scale(1.12); }
}

@keyframes orbFloatPurple {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-70px, -60px) scale(1.15); }
}

@keyframes orbFloatPink {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -50px) scale(1.08); }
}

/* 3D Glossy Badge Pill for Top Section */
.badge-3d-glossy {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 242, 254, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.dark .badge-3d-glossy {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25) 0%, rgba(15, 23, 42, 0.75) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Contact 3D Heading Gradient & Shadow */
.contact-3d-heading {
  background: linear-gradient(135deg, #0F172A 0%, #0284C7 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.dark .contact-3d-heading {
  background: linear-gradient(135deg, #FFFFFF 0%, #38BDF8 50%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(56, 189, 248, 0.25));
}

/* ================= ELEGANT CONTACT CARDS ================= */
.contact-card-3d {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: cardSlideUpStagger 0.5s ease both;
  overflow: hidden;
}

body.dark .contact-card-3d {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Hover & Active Lift */
.contact-card-3d:hover {
  transform: translateY(-2px);
  border-color: rgba(203, 213, 225, 0.9);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

body.dark .contact-card-3d:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.contact-card-3d:active {
  transform: scale(0.98);
}

/* Clean Circular Icon Tile (52px) - NO glow/gradient box behind */
.contact-icon-tile {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.14), 0 1px 2px rgba(15, 23, 42, 0.10);
  transition: transform 0.25s ease;
}

.contact-card-3d:hover .contact-icon-tile {
  transform: scale(1.04);
}

/* Icon Tile Brand Gradients */
.tile-email {
  background: linear-gradient(180deg, #FA5252 0%, #EA4335 100%);
}

.tile-phone {
  background: linear-gradient(180deg, #22C55E 0%, #16A34A 100%);
}

.tile-whatsapp {
  background: linear-gradient(180deg, #34D399 0%, #25D366 100%);
}

.tile-hotline {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
}

.tile-telegram {
  background: linear-gradient(180deg, #38BDF8 0%, #229ED9 100%);
}

.tile-linkedin {
  background: linear-gradient(180deg, #38BDF8 0%, #0A66C2 100%);
}

.tile-fiverr {
  background: linear-gradient(180deg, #22C55E 0%, #1DBF73 100%);
}

/* Action & Copy Buttons - Flat & Subtle */
.contact-action-btn,
.btn-copy-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: all 0.2s ease;
}

body.dark .contact-action-btn,
body.dark .btn-copy-card {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-copy-card:hover {
  transform: translateY(-1px);
}

.btn-copy-card:active {
  transform: scale(0.92);
}

/* Scroll Entrance Animation */
@keyframes cardSlideUpStagger {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= "SOCIAL NETWORKS" TITLE STYLING ================= */
.social-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.social-title-line {
  flex: 1;
  height: 1px;
}

.social-title-line.line-left {
  background: linear-gradient(to left, rgba(148, 163, 184, 0.5) 0%, transparent 100%);
}

.social-title-line.line-right {
  background: linear-gradient(to right, rgba(148, 163, 184, 0.5) 0%, transparent 100%);
}

body.dark .social-title-line.line-left {
  background: linear-gradient(to left, rgba(100, 116, 139, 0.5) 0%, transparent 100%);
}

body.dark .social-title-line.line-right {
  background: linear-gradient(to right, rgba(100, 116, 139, 0.5) 0%, transparent 100%);
}

.social-title-text {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
}

body.dark .social-title-text {
  color: #94a3b8;
}

/* ================= SOFT 3D SOCIAL BUTTONS ================= */
.social-buttons-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

@media (max-width: 639px) {
  .social-buttons-container {
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
  }
}

.social-sphere {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 4px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(15, 23, 42, 0.14), 0 1px 2px rgba(15, 23, 42, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.social-sphere i {
  font-size: 22px;
}

.social-sphere:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 4px rgba(0, 0, 0, 0.12), 0 6px 14px rgba(15, 23, 42, 0.18), 0 2px 4px rgba(15, 23, 42, 0.12);
}

.social-sphere:active {
  transform: scale(0.95);
}

/* Dark Mode Social Buttons */
body.dark .social-sphere {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

body.dark .social-sphere:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 4px rgba(0, 0, 0, 0.3), 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Brand Linear Gradients */
.sphere-facebook {
  background: linear-gradient(180deg, #3b87ff 0%, #1877F2 100%);
}

.sphere-tiktok {
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
}

.sphere-telegram {
  background: linear-gradient(180deg, #38b2ec 0%, #229ED9 100%);
}

.sphere-linkedin {
  background: linear-gradient(180deg, #1a78dc 0%, #0A66C2 100%);
}

.sphere-gmail {
  background: linear-gradient(180deg, #f05447 0%, #EA4335 100%);
}

.sphere-whatsapp {
  background: linear-gradient(180deg, #3be37a 0%, #25D366 100%);
}

.sphere-fiverr {
  background: linear-gradient(180deg, #28d182 0%, #1DBF73 100%);
}

/* ================= FOOTER FROSTED GLASS TOUCH ON CONTACT PAGE ================= */
body:has(.contact-card-3d) footer {
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.03);
}

body.dark:has(.contact-card-3d) footer {
  background: rgba(11, 15, 25, 0.85);
  border-top: 1px solid rgba(30, 41, 59, 0.8);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

body:has(.contact-card-3d) footer a {
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

body:has(.contact-card-3d) footer a:hover {
  transform: translateY(-1px);
}

/* Custom animations */
@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInSlideUp 0.5s ease-out forwards;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 360px;
  width: calc(100% - 3rem);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.toast-success {
  background-color: #10B981;
  color: #FFFFFF;
}

.toast.toast-error {
  background-color: #EF4444;
  color: #FFFFFF;
}

.toast.toast-info {
  background-color: #0284C7;
  color: #FFFFFF;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

body.dark ::-webkit-scrollbar-track {
  background: #0B0F19;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

body.dark ::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

/* Loading Spinner */
.spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================= FLOATING BUTTONS ROOT ================= */
#floating-buttons-root {
  z-index: 850 !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: fixed;
  right: 16px;
  bottom: calc(100px + env(safe-area-inset-bottom, 0px));
}

body.drawer-open #floating-buttons-root,
body:has(#modal-dialog-root:not(.hidden)) #floating-buttons-root,
body:has(#edit-profile-modal:not(.hidden)) #floating-buttons-root,
body:has(#crop-modal:not(.hidden)) #floating-buttons-root {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px);
}

/* Premium Glassmorphism WhatsApp Floating Button */
.floating-whatsapp-glass {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.25);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-image: linear-gradient(135deg, rgba(37, 211, 102, 0.85) 0%, rgba(18, 140, 126, 0.9) 100%);
  color: #FFFFFF !important;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35), 0 4px 10px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
  animation: whatsappPulseGlow 3s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark .floating-whatsapp-glass {
  background-image: linear-gradient(135deg, rgba(37, 211, 102, 0.75) 0%, rgba(6, 78, 59, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 211, 102, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.floating-whatsapp-glass:hover {
  transform: translateY(-4px) scale(1.12) rotate(-6deg);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.5), 0 0 25px rgba(37, 211, 102, 0.4), inset 0 1px 1px rgba(255, 255, 255, 1);
}

.floating-whatsapp-glass:active {
  transform: scale(0.95);
}

@keyframes whatsappPulseGlow {
  0%, 100% {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35), 0 4px 10px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  }
  50% {
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 0 18px rgba(37, 211, 102, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  }
}

/* ================= 3D BOTTOM NAVIGATION BAR ================= */
.bottom-nav-container {
  position: fixed;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 12px;
  right: 12px;
  width: calc(100% - 24px);
  max-width: 500px;
  margin: 0 auto;
  z-index: 900 !important;
  pointer-events: auto;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

/* Hide bar on drawer open, modal open, or virtual keyboard open */
body.drawer-open .bottom-nav-container,
body:has(#modal-dialog-root:not(.hidden)) .bottom-nav-container,
body:has(#edit-profile-modal:not(.hidden)) .bottom-nav-container,
body:has(#crop-modal:not(.hidden)) .bottom-nav-container,
.bottom-nav-container.is-keyboard-open {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(100px) !important;
}

@media (min-width: 901px) {
  .bottom-nav-container {
    display: none !important;
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* 3D Frosted Glass Floating Bar */
.bottom-nav-pill-3d {
  position: relative;
  height: 68px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-radius: 30px;
  border: 1px solid transparent;
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(56, 189, 248, 0.5) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 14px 34px rgba(56, 189, 248, 0.22), 0 4px 10px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: 0 6px;
  overflow: visible;
}

body.dark .bottom-nav-pill-3d {
  background: rgba(15, 23, 42, 0.82);
  background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(56, 189, 248, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Sliding 3D Active Tab Background Pill */
.bottom-nav-active-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc((100% - 12px) / 5);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18) 0%, rgba(167, 139, 250, 0.18) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

body.dark .bottom-nav-active-indicator {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(167, 139, 250, 0.25) 100%);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.bottom-nav-indicator-glow {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.4) 0%, transparent 70%);
}

/* Navigation Tab Columns */
.bottom-nav-btn {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 4px 1px;
  color: #64748B;
  transition: transform 0.15s ease, color 0.2s ease;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  text-align: center;
}

body.dark .bottom-nav-btn {
  color: #94A3B8;
}

.bottom-nav-btn:active {
  transform: scale(0.94);
}

.bottom-nav-icon-wrapper {
  font-size: 20px;
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, filter 0.2s ease;
}

.bottom-nav-btn:hover .bottom-nav-icon-wrapper {
  transform: translateY(-2px);
}

.bottom-nav-label {
  font-size: clamp(9.5px, 2.7vw, 11.5px);
  font-weight: 600;
  color: #64748B;
  line-height: 1.1;
  margin-top: 2px;
  white-space: nowrap;
  overflow: visible;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

body.dark .bottom-nav-label {
  color: #94A3B8;
}

.center-label {
  font-size: clamp(8.5px, 2.4vw, 10.5px);
  font-weight: 700;
  margin-top: 1px;
}

/* Glowing active tab dot */
.bottom-nav-active-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
  margin-top: 2px;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bottom-nav-btn.active .bottom-nav-active-dot {
  opacity: 1;
  transform: scale(1);
}

.bottom-nav-btn.active .bottom-nav-icon-wrapper {
  color: #0284C7;
  transform: scale(1.12) translateY(-1px);
  filter: drop-shadow(0 2px 6px rgba(56, 189, 248, 0.5));
}

body.dark .bottom-nav-btn.active .bottom-nav-icon-wrapper {
  color: #38BDF8;
  filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.7));
}

.bottom-nav-btn.active .bottom-nav-label {
  color: #0284C7;
  font-weight: 800;
}

body.dark .bottom-nav-btn.active .bottom-nav-label {
  color: #38BDF8;
  font-weight: 800;
}

/* CENTER 3D RAISED SPHERE BUTTON */
.bottom-nav-center-col {
  justify-content: flex-end;
  padding-bottom: 5px;
}

.bottom-nav-center-sphere {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #38BDF8 0%, #6366F1 60%, #A78BFA 100%);
  border: 4px solid #FFFFFF;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.45), 0 4px 10px rgba(15, 23, 42, 0.15), inset 0 -3px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  animation: sphereFloat 4s infinite ease-in-out;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  z-index: 10;
}

body.dark .bottom-nav-center-sphere {
  border-color: #0F172A;
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.4), 0 0 20px rgba(167, 139, 250, 0.3), inset 0 -3px 6px rgba(0, 0, 0, 0.4);
}

.sphere-glass-shine {
  position: absolute;
  top: 10%;
  left: 18%;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
}

.sphere-rocket-icon {
  font-size: 24px;
  color: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.bottom-nav-center-sphere:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.06);
  box-shadow: 0 14px 30px rgba(56, 189, 248, 0.6), 0 0 20px rgba(167, 139, 250, 0.4);
}

.bottom-nav-center-sphere:active,
.bottom-nav-center-sphere.rocket-launch {
  transform: translateX(-50%) translateY(2px) scale(0.92);
}

.bottom-nav-center-sphere.rocket-launch .sphere-rocket-icon {
  transform: translateY(-8px) scale(1.2);
}

@keyframes sphereFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

/* Pulsing red dot glow for Live Chat unread messages */
.live-chat-red-dot {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #EF4444;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 8px #EF4444;
  animation: dotPulse 1.8s infinite ease-in-out;
}

body.dark .live-chat-red-dot {
  border-color: #0F172A;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 4px #EF4444; }
  50% { transform: scale(1.3); box-shadow: 0 0 12px #EF4444; }
}

/* ================= FLAT LIGHT SIDEBAR DRAWER & HEADER STYLES ================= */

/* Header Flat Buttons */
.btn-flat-header-round {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  color: #334155;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

body.dark .btn-flat-header-round {
  background-color: #111C33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  color: #E2E8F0;
}

.btn-flat-header-round:hover {
  background-color: #F1F5F9;
}

body.dark .btn-flat-header-round:hover {
  background-color: #1E293B;
}

.btn-flat-header-round:active {
  transform: scale(0.96);
}

.btn-flat-header-pill {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  color: #1E293B;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

body.dark .btn-flat-header-pill {
  background-color: #111C33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  color: #E2E8F0;
}

.btn-flat-header-pill:hover {
  background-color: #F1F5F9;
}

body.dark .btn-flat-header-pill:hover {
  background-color: #1E293B;
}

.btn-flat-header-pill:active {
  transform: scale(0.96);
}

/* Sidebar Drawer Overlay Container */
.sidebar-drawer-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 9999 !important;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.25s ease;
}

.sidebar-drawer-container.is-open {
  pointer-events: auto;
  visibility: visible;
}

/* Dark Blurred Backdrop */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998 !important;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sidebar-drawer-container.is-open .sidebar-backdrop {
  opacity: 1;
}

/* Flat Panel Container */
.sidebar-panel-flat {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  width: min(84vw, 320px);
  display: flex;
  flex-direction: column;
  z-index: 9999 !important;
  background-color: #F8FAFC;
  border-right: 1px solid #E2E8F0;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 4px 0 20px rgba(15, 23, 42, 0.08);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  overflow: hidden;
}

body.dark .sidebar-panel-flat {
  background-color: #0F172A;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.4);
}

.sidebar-drawer-container.is-open .sidebar-panel-flat {
  transform: translateX(0);
}

/* Flat Drawer Header */
.sidebar-header-flat {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E2E8F0;
  background-color: #F8FAFC;
}

body.dark .sidebar-header-flat {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background-color: #0F172A;
}

.btn-flat-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

body.dark .btn-flat-close {
  background-color: #111C33;
  border-color: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
}

.btn-flat-close:hover {
  background-color: #F1F5F9;
}

body.dark .btn-flat-close:hover {
  background-color: #1E293B;
}

.btn-flat-close:active {
  transform: scale(0.95);
}

/* Slim Scrollbar & Safe Content Scroll */
.sidebar-content-scroll {
  padding: 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

.sidebar-content-scroll::-webkit-scrollbar {
  width: 4px;
}

.sidebar-content-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-content-scroll::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

body.dark .sidebar-content-scroll::-webkit-scrollbar-thumb {
  background: #334155;
}

/* Flat User Card */
.sidebar-user-card-flat {
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.5) 0%, rgba(237, 233, 254, 0.5) 100%);
  border: 1px solid transparent;
  background-image: linear-gradient(rgba(240, 249, 255, 0.8), rgba(245, 243, 255, 0.8)), linear-gradient(135deg, #38BDF8 0%, #A78BFA 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

body.dark .sidebar-user-card-flat {
  background-image: linear-gradient(rgba(17, 28, 51, 0.9), rgba(17, 28, 51, 0.9)), linear-gradient(135deg, rgba(56, 189, 248, 0.4) 0%, rgba(167, 139, 250, 0.4) 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.online-status-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 10px;
  height: 10px;
  background-color: #22C55E;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

body.dark .online-status-dot {
  border-color: #111C33;
}

/* Flat Section Block & Section Titles */
.sidebar-section-block {
  margin-top: 14px;
}

.sidebar-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
  margin-bottom: 8px;
  padding-left: 2px;
}

body.dark .sidebar-section-title {
  color: #94A3B8;
}

/* Menu Lists & Items */
.sidebar-nav-list,
.sidebar-live-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-card-flat {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 12px;
  border-radius: 14px;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: background-color 0.15s ease, transform 0.15s ease;
  user-select: none;
  text-decoration: none;
  overflow: hidden;
}

body.dark .sidebar-card-flat {
  background-color: #111C33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sidebar-card-flat:hover {
  background-color: #F1F5F9;
}

body.dark .sidebar-card-flat:hover {
  background-color: #1E293B;
}

.sidebar-card-flat:active {
  transform: scale(0.98);
}

.sidebar-item-text {
  font-size: 15px;
  font-weight: 500;
  color: #0F172A;
}

body.dark .sidebar-item-text {
  color: #E2E8F0;
}

/* Icon Tile Style for All Items */
.sidebar-icon-tile {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: #E0F2FE;
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

body.dark .sidebar-icon-tile {
  background-color: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}

/* Active Item Style */
.sidebar-card-flat.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(167, 139, 250, 0.15) 100%);
  border-color: rgba(56, 189, 248, 0.4);
}

body.dark .sidebar-card-flat.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(167, 139, 250, 0.2) 100%);
  border-color: rgba(56, 189, 248, 0.4);
}

.sidebar-card-flat.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background: linear-gradient(180deg, #38BDF8 0%, #A78BFA 100%);
  border-radius: 4px 0 0 4px;
}

.sidebar-card-flat.active .sidebar-item-text {
  color: #0284C7;
  font-weight: 700;
}

body.dark .sidebar-card-flat.active .sidebar-item-text {
  color: #38BDF8;
  font-weight: 700;
}

.sidebar-card-flat.active .sidebar-icon-tile {
  background-color: #38BDF8;
  color: #FFFFFF;
}

body.dark .sidebar-card-flat.active .sidebar-icon-tile {
  background-color: #38BDF8;
  color: #0F172A;
}

/* Live Preview Cards */
.sidebar-card-live {
  height: 46px;
}

/* Badge Pills */
.sidebar-badge-pill {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9999px;
  background-color: #E0F2FE;
  color: #0284C7;
}

body.dark .sidebar-badge-pill {
  background-color: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}

/* Flat Red Dot for Live Chat */
.live-chat-red-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border-radius: 50%;
  border: 1.5px solid #FFFFFF;
}

body.dark .live-chat-red-dot {
  border-color: #111C33;
}

/* Log Out Card */
.sidebar-card-logout {
  width: 100%;
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
}

body.dark .sidebar-card-logout {
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.sidebar-icon-tile-logout {
  background-color: #FEE2E2;
  color: #EF4444;
}

body.dark .sidebar-icon-tile-logout {
  background-color: rgba(239, 68, 68, 0.2);
  color: #FCA5A5;
}

/* Auth Buttons (Logged Out) */
#sidebar-auth-section {
  margin-top: auto;
  margin-bottom: 20px;
  padding: 0 4px;
}

#sidebar-auth-section .sidebar-section-title {
  margin-bottom: 16px;
}

.sidebar-auth-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 auto;
}

.sidebar-btn-login {
  flex: 1;
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #0F172A;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
  text-decoration: none;
}

body.dark .sidebar-btn-login {
  background-color: #1E293B;
  border-color: #334155;
  color: #F8FAFC;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.sidebar-btn-login:hover {
  background-color: #F8FAFC;
  border-color: #38BDF8;
  color: #0284C7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

body.dark .sidebar-btn-login:hover {
  background-color: #0F172A;
  border-color: #38BDF8;
  color: #38BDF8;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}

.sidebar-btn-login:active {
  transform: scale(0.98);
}

.sidebar-btn-signup {
  flex: 1;
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #38BDF8 0%, #6366F1 50%, #8B5CF6 100%);
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;
}

.sidebar-btn-signup:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
}

.sidebar-btn-signup:active {
  transform: scale(0.98);
}

/* ================= PREMIUM 3D GLASS AUTH CARD & FORM STYLES ================= */

/* Premium 3D Glass Auth Container Card */
.auth-glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-radius: 28px;
  border: 1px solid transparent;
  background-image: linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)), linear-gradient(135deg, rgba(56, 189, 248, 0.6) 0%, rgba(167, 139, 250, 0.6) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.15), 0 8px 20px rgba(0, 0, 0, 0.04), inset 0 1.5px 0 rgba(255, 255, 255, 0.95);
  animation: authCardEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards, authGlowPulse 6s infinite alternate ease-in-out;
  overflow: hidden;
}

body.dark .auth-glass-card {
  background: rgba(11, 17, 30, 0.78);
  background-image: linear-gradient(rgba(11, 17, 30, 0.82), rgba(11, 17, 30, 0.82)), linear-gradient(135deg, rgba(56, 189, 248, 0.4) 0%, rgba(167, 139, 250, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(56, 189, 248, 0.15), inset 0 1.5px 0 rgba(255, 255, 255, 0.18);
}

@keyframes authCardEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes authGlowPulse {
  0% {
    box-shadow: 0 20px 50px rgba(56, 189, 248, 0.15), 0 8px 20px rgba(0, 0, 0, 0.04), inset 0 1.5px 0 rgba(255, 255, 255, 0.95);
  }
  100% {
    box-shadow: 0 24px 55px rgba(167, 139, 250, 0.22), 0 10px 25px rgba(0, 0, 0, 0.06), inset 0 1.5px 0 rgba(255, 255, 255, 1);
  }
}

body.dark .auth-glass-card {
  animation: authCardEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards, authGlowPulseDark 6s infinite alternate ease-in-out;
}

@keyframes authGlowPulseDark {
  0% {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(56, 189, 248, 0.15), inset 0 1.5px 0 rgba(255, 255, 255, 0.18);
  }
  100% {
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.7), 0 0 45px rgba(167, 139, 250, 0.25), inset 0 1.5px 0 rgba(255, 255, 255, 0.25);
  }
}

/* Soft Diagonal Light Reflection Across Card */
.auth-glass-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0.5;
  animation: authReflectSweep 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark .auth-glass-card::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
}

@keyframes authReflectSweep {
  0% { left: -60%; }
  25% { left: 160%; }
  100% { left: 160%; }
}

/* Floating 3D Logo Tile */
.auth-logo-tile {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 242, 254, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: logoFloat 4s infinite ease-in-out;
}

body.dark .auth-logo-tile {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Gradient Title */
.auth-title-gradient {
  background: linear-gradient(135deg, #38BDF8 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Back to Home Pill Button Above Card */
.btn-back-home-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  transition: all 0.25s ease;
}

body.dark .btn-back-home-pill {
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94A3B8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-back-home-pill:hover {
  transform: translateY(-2px);
  color: #0284C7;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.25);
}

body.dark .btn-back-home-pill:hover {
  color: #38BDF8;
}

/* 3D Inset Input Container & Field */
.auth-input-group {
  position: relative;
  transition: all 0.25s ease;
}

.auth-input-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all 0.25s ease;
}

body.dark .auth-input-tile-icon {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
}

.auth-input-field {
  width: 100%;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 3.25rem;
  padding-right: 2.75rem;
  border-radius: 16px;
  font-size: 16px !important; /* Prevents mobile browser auto-zoom */
  font-weight: 500;
  background: rgba(248, 250, 252, 0.85);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
  color: #0F172A;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .auth-input-field {
  background: rgba(15, 23, 42, 0.75);
  border: 1.5px solid rgba(51, 65, 85, 0.8);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
  color: #F8FAFC;
}

.auth-input-field:focus {
  outline: none;
  background: #FFFFFF;
  border-color: #38BDF8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.02);
  transform: translateY(-2px);
}

body.dark .auth-input-field:focus {
  background: rgba(15, 23, 42, 0.95);
  border-color: #38BDF8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25), inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Light up icon & label on input focus */
.auth-input-group:focus-within .auth-input-tile-icon {
  background: linear-gradient(135deg, #38BDF8 0%, #A78BFA 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
}

.auth-input-group:focus-within label {
  color: #0284C7 !important;
}

body.dark .auth-input-group:focus-within label {
  color: #38BDF8 !important;
}

/* Valid check icon and Error styling */
.auth-valid-check {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #22C55E;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.auth-valid-check.show {
  opacity: 1;
}

.auth-field-error {
  font-size: 11px;
  color: #EF4444;
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

.auth-field-error.show {
  display: block;
  animation: shakeError 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeError {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
}

/* Password Eye Button */
.btn-auth-eye {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  transition: all 0.2s ease;
}

.btn-auth-eye:hover {
  color: #0284C7;
  background: rgba(56, 189, 248, 0.1);
}

body.dark .btn-auth-eye:hover {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.15);
}

/* Password Strength Meter */
.strength-meter-container {
  margin-top: 6px;
  space-y: 4px;
}

.strength-bars {
  display: flex;
  gap: 4px;
  height: 4px;
  width: 100%;
}

.strength-bar-segment {
  flex: 1;
  height: 100%;
  border-radius: 9999px;
  background: rgba(226, 232, 240, 0.8);
  transition: background-color 0.3s ease;
}

body.dark .strength-bar-segment {
  background: rgba(51, 65, 85, 0.6);
}

.strength-level-weak .segment-1 { background-color: #EF4444; }
.strength-level-medium .segment-1,
.strength-level-medium .segment-2 { background-color: #F59E0B; }
.strength-level-strong .segment-1,
.strength-level-strong .segment-2,
.strength-level-strong .segment-3 { background-color: #22C55E; }

.strength-text {
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
}

body.dark .strength-text {
  color: #94A3B8;
}

/* Main 3D Action Button */
.btn-auth-primary {
  position: relative;
  width: 100%;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #38BDF8 0%, #A78BFA 100%);
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 800;
  border: none;
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-auth-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  animation: shineSweep 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-auth-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-auth-primary:active {
  transform: scale(0.97);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-auth-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* OR Glass Divider Pill */
.auth-divider-pill {
  padding: 3px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  font-size: 10px;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.1em;
}

body.dark .auth-divider-pill {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(51, 65, 85, 0.8);
  color: #64748B;
}

/* Continue with Google 3D Glass Button */
.btn-auth-google {
  width: 100%;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  color: #1E293B;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

body.dark .btn-auth-google {
  background: rgba(15, 23, 42, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-auth-google:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

body.dark .btn-auth-google:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.15);
}

.btn-auth-google:active {
  transform: scale(0.97);
}

/* Auth Animated Gradient Underline Links */
.auth-link-gradient {
  position: relative;
  color: #0284C7;
  font-weight: 700;
  transition: color 0.2s ease;
}

body.dark .auth-link-gradient {
  color: #38BDF8;
}

.auth-link-gradient::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38BDF8 0%, #A78BFA 100%);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.auth-link-gradient:hover::after {
  width: 100%;
}

/* Trust Badges Row Under Card */
.trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.trust-badge-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
}

body.dark .trust-badge-pill {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  color: #94A3B8;
}

.trust-badge-pill i {
  color: #38BDF8;
  font-size: 12px;
}

/* Prefers Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .sidebar-panel-3d,
  .sidebar-backdrop,
  .btn-3d-header-round,
  .btn-3d-close,
  .card-3d,
  .icon-tile-3d,
  .sidebar-drawer-container.is-open .sidebar-section-block > *,
  .contact-orb,
  .contact-card-3d,
  .contact-icon-tile,
  .social-sphere {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  .btn-3d-gradient-shine::after,
  .contact-card-3d::after {
    display: none;
  }
}
