/* ============================================================
   BIOTOO PAGES STYLES
   Header, Footer, Hero, Page-specific styles
   ============================================================ */

/* ==================== HEADER / NAVBAR ==================== */
.bt-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: var(--bt-z-fixed);
  transition: var(--bt-transition);
}

.bt-header.scrolled {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  box-shadow: var(--bt-shadow-sm);
}

[data-bs-theme="dark"] .bt-header.scrolled {
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.bt-navbar {
  padding: 16px 0;
  transition: var(--bt-transition);
}

.bt-header.scrolled .bt-navbar {
  padding: 10px 0;
}

.bt-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.bt-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.bt-logo-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--bt-dark);
  letter-spacing: -0.5px;
}

.bt-logo:hover .bt-logo-text {
  color: var(--bt-primary);
}

/* Nav Links */
.bt-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bt-nav-link {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bt-text);
  border-radius: var(--bt-radius-md);
  transition: var(--bt-transition);
  text-decoration: none;
  background: none;
  border: none;
  font-family: var(--bt-font);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bt-nav-link:hover,
.bt-nav-link.active {
  color: var(--bt-primary);
  background: var(--bt-primary-50);
}

/* Nav Dropdown */
.bt-nav-dropdown {
  position: relative;
}

.bt-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 240px;
  background: var(--bt-white);
  border-radius: var(--bt-radius-md);
  border: 1px solid var(--bt-border);
  box-shadow: var(--bt-shadow-xl);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--bt-transition);
}

.bt-nav-dropdown:hover .bt-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Navbar Actions */
.bt-navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle */
.bt-theme-toggle {
  font-size: 18px;
}

/* Mobile Toggler */
.bt-navbar-toggler {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.bt-navbar-toggler span {
  width: 24px;
  height: 2px;
  background: var(--bt-dark);
  border-radius: 2px;
  transition: var(--bt-transition);
}

.bt-navbar-toggler.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.bt-navbar-toggler.active span:nth-child(2) {
  opacity: 0;
}

.bt-navbar-toggler.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.bt-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bt-white);
  z-index: var(--bt-z-modal);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--bt-shadow-2xl);
  overflow-y: auto;
}

.bt-mobile-menu.open {
  right: 0;
}

.bt-mobile-menu-inner {
  padding: 80px 24px 24px;
}

.bt-mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bt-text);
  border-radius: var(--bt-radius-md);
  transition: var(--bt-transition);
  text-decoration: none;
  margin-bottom: 4px;
}

.bt-mobile-link:hover,
.bt-mobile-link.active {
  background: var(--bt-primary-50);
  color: var(--bt-primary);
}

/* Mobile Overlay */
.bt-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,23,42,0.5);
  z-index: var(--bt-z-modal);
  opacity: 0;
  visibility: hidden;
  transition: var(--bt-transition);
}

.bt-mobile-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ==================== HERO SECTION ==================== */
.bt-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  background: var(--bt-bg);
}

.bt-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bt-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Floating Elements */
.bt-hero-float {
  position: absolute;
  border-radius: var(--bt-radius-lg);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--bt-shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bt-dark);
  z-index: 2;
}

.bt-hero-float i {
  font-size: 20px;
}

/* Hero Content */
.bt-hero-content {
  position: relative;
  z-index: 2;
}

.bt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: var(--bt-radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--bt-primary);
  margin-bottom: 28px;
  animation: bt-badge-pulse 3s ease-in-out infinite;
}

.bt-hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bt-accent);
  animation: bt-pulse-ring 2s ease-out infinite;
}

.bt-hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--bt-dark);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.bt-hero-title .line {
  display: block;
}

.bt-hero-title .highlight {
  position: relative;
  display: inline-block;
}

.bt-hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, rgba(37,99,235,0.2), rgba(6,182,212,0.2));
  border-radius: 4px;
  z-index: -1;
}

.bt-hero-desc {
  font-size: 18px;
  color: var(--bt-text-light);
  line-height: 2;
  max-width: 540px;
  margin-bottom: 36px;
}

.bt-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.bt-hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.bt-hero-stat {
  text-align: center;
}

.bt-hero-stat-number {
  font-size: 32px;
  font-weight: 900;
  color: var(--bt-dark);
  display: block;
  line-height: 1.2;
}

.bt-hero-stat-label {
  font-size: 13px;
  color: var(--bt-text-light);
}

/* Hero Visual */
.bt-hero-visual {
  position: relative;
  z-index: 2;
}

.bt-hero-mockup {
  position: relative;
  border-radius: var(--bt-radius-2xl);
  overflow: hidden;
  box-shadow: var(--bt-shadow-2xl);
  border: 1px solid rgba(255,255,255,0.3);
}

.bt-hero-mockup img {
  width: 100%;
  display: block;
}

/* Phone Mockup */
.bt-phone-mockup {
  width: 280px;
  background: var(--bt-dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--bt-shadow-2xl);
  position: relative;
}

.bt-phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 50%;
  transform: translateX(50%);
  width: 100px;
  height: 28px;
  background: var(--bt-dark);
  border-radius: 20px;
  z-index: 2;
}

.bt-phone-screen {
  background: var(--bt-bg);
  border-radius: 30px;
  overflow: hidden;
  min-height: 500px;
}

/* Trusted By */
.bt-trusted {
  padding: 40px 0;
  border-top: 1px solid var(--bt-border);
}

.bt-trusted-title {
  text-align: center;
  font-size: 13px;
  color: var(--bt-text-lighter);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.bt-trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.4;
}

.bt-trusted-logos span {
  font-size: 20px;
  font-weight: 800;
  color: var(--bt-text-light);
}

/* ==================== HOW IT WORKS ==================== */
.bt-steps {
  position: relative;
}

.bt-step-card {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.bt-step-number {
  width: 64px;
  height: 64px;
  border-radius: var(--bt-radius-xl);
  background: var(--bt-gradient-primary);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  box-shadow: var(--bt-shadow-primary);
}

.bt-step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--bt-radius-xl);
  border: 2px dashed var(--bt-primary-200);
  animation: bt-rotate 20s linear infinite;
}

.bt-step-connector {
  position: absolute;
  top: 72px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--bt-primary-200), transparent);
  display: none;
}

@media (min-width: 992px) {
  .bt-step-connector { display: block; }
  .bt-step-card:first-child .bt-step-connector { display: none; }
}

/* ==================== TEMPLATES SECTION ==================== */
.bt-template-card {
  border-radius: var(--bt-radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  group: true;
}

.bt-template-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bt-template-card:hover img {
  transform: scale(1.05);
}

.bt-template-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--bt-transition);
}

.bt-template-card:hover .bt-template-overlay {
  opacity: 1;
}

/* ==================== TESTIMONIALS ==================== */
.bt-testimonial-card {
  background: var(--bt-white);
  border-radius: var(--bt-radius-xl);
  padding: 32px;
  border: 1px solid var(--bt-border);
  transition: var(--bt-transition);
  height: 100%;
  position: relative;
}

.bt-testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 60px;
  font-weight: 900;
  color: var(--bt-primary-100);
  line-height: 1;
  font-family: Georgia, serif;
}

.bt-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bt-shadow-xl);
}

.bt-testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.bt-testimonial-stars i {
  color: var(--bt-warning);
  font-size: 16px;
}

.bt-testimonial-text {
  font-size: 15px;
  color: var(--bt-text);
  line-height: 1.9;
  margin-bottom: 24px;
}

.bt-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bt-testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.bt-testimonial-author-info h6 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.bt-testimonial-author-info span {
  font-size: 13px;
  color: var(--bt-text-lighter);
}

/* ==================== FAQ ==================== */
.bt-faq-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

/* ==================== FOOTER ==================== */
.bt-footer {
  background: var(--bt-dark);
  color: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}

.bt-footer-cta {
  padding: 80px 0 0;
}

.bt-footer-cta-card {
  background: var(--bt-gradient-primary);
  border-radius: var(--bt-radius-2xl);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
  margin-bottom: -80px;
  z-index: 2;
}

.bt-footer-cta-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.bt-footer-cta-title .gradient-text {
  -webkit-text-fill-color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 6px;
}

.bt-footer-cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
}

.bt-footer-main {
  padding: 140px 0 60px;
}

.bt-footer-desc {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.bt-footer .bt-logo-text {
  color: #fff;
}

.bt-footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.bt-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bt-footer-links li {
  margin-bottom: 10px;
}

.bt-footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: var(--bt-transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bt-footer-links a:hover {
  color: #fff;
  padding-right: 6px;
}

.bt-footer-social {
  display: flex;
  gap: 10px;
}

.bt-social-link {
  width: 42px;
  height: 42px;
  border-radius: var(--bt-radius-md);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--bt-transition);
}

.bt-social-link:hover {
  background: var(--bt-primary);
  color: #fff;
  transform: translateY(-4px);
}

.bt-footer-newsletter-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.bt-footer .bt-form-control {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 13px;
  padding: 12px 16px;
}

.bt-footer .bt-form-control::placeholder {
  color: rgba(255,255,255,0.3);
}

.bt-footer .bt-form-control:focus {
  border-color: var(--bt-primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.2);
}

.bt-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}

.bt-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.bt-footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.bt-footer-copyright strong {
  color: rgba(255,255,255,0.7);
}

.bt-footer-bottom-links {
  display: flex;
  gap: 24px;
}

.bt-footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.bt-footer-bottom-links a:hover {
  color: #fff;
}

/* ============================================================
   BIOTOO AUTH PAGES
   ============================================================ */

.bt-auth-wrapper {
  min-height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* Auth Side Panel (Image/Branding) */
.bt-auth-visual {
  width: 45%;
  min-height: 100vh;
  background: var(--bt-gradient-hero);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px;
  overflow: hidden;
}

.bt-auth-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bt-auth-visual-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.bt-auth-visual-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 32px;
  animation: bt-float 4s ease-in-out infinite;
}

.bt-auth-visual-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.bt-auth-visual-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  max-width: 360px;
  margin: 0 auto 40px;
}

/* Auth Testimonial in Visual */
.bt-auth-testimonial {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--bt-radius-lg);
  padding: 24px;
  max-width: 360px;
  text-align: right;
}

.bt-auth-testimonial p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 16px;
}

.bt-auth-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bt-auth-testimonial-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bt-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.bt-auth-testimonial-author .info h6 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.bt-auth-testimonial-author .info span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Auth Form Side */
.bt-auth-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  background: var(--bt-bg);
}

.bt-auth-form-container {
  width: 100%;
  max-width: 440px;
  animation: bt-fade-in 0.6s ease;
}

.bt-auth-header {
  margin-bottom: 36px;
}

.bt-auth-header .bt-logo {
  margin-bottom: 32px;
  display: inline-flex;
}

.bt-auth-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--bt-dark);
  margin-bottom: 8px;
}

.bt-auth-subtitle {
  font-size: 15px;
  color: var(--bt-text-light);
}

.bt-auth-subtitle a {
  font-weight: 600;
}

/* Social Login */
.bt-social-login {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.bt-social-login-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--bt-white);
  border: 2px solid var(--bt-border);
  border-radius: var(--bt-radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--bt-text);
  cursor: pointer;
  transition: var(--bt-transition);
  font-family: var(--bt-font);
}

.bt-social-login-btn:hover {
  border-color: var(--bt-primary);
  background: var(--bt-primary-50);
  transform: translateY(-2px);
}

.bt-social-login-btn i {
  font-size: 20px;
}

.bt-social-login-btn.google i { color: #EA4335; }
.bt-social-login-btn.github i { color: #333; }
.bt-social-login-btn.twitter i { color: #1DA1F2; }

/* Auth Form Extras */
.bt-auth-extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.bt-auth-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--bt-text-light);
}

.bt-auth-footer a {
  font-weight: 600;
}

/* Password Strength */
.bt-password-strength {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.bt-password-strength-bar {
  flex: 1;
  height: 4px;
  border-radius: var(--bt-radius-full);
  background: var(--bt-border);
  transition: var(--bt-transition);
}

.bt-password-strength-bar.weak { background: var(--bt-danger); }
.bt-password-strength-bar.medium { background: var(--bt-warning); }
.bt-password-strength-bar.strong { background: var(--bt-success); }

.bt-password-strength-text {
  font-size: 12px;
  margin-top: 6px;
  color: var(--bt-text-lighter);
}

/* OTP Input */
.bt-otp-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  direction: ltr;
  margin: 32px 0;
}

.bt-otp-input {
  width: 56px;
  height: 64px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  border: 2px solid var(--bt-border);
  border-radius: var(--bt-radius-md);
  background: var(--bt-white);
  color: var(--bt-dark);
  transition: var(--bt-transition);
  outline: none;
  font-family: var(--bt-font);
}

.bt-otp-input:focus {
  border-color: var(--bt-primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

/* Resend Timer */
.bt-resend-timer {
  text-align: center;
  font-size: 14px;
  color: var(--bt-text-light);
  margin-top: 20px;
}

.bt-resend-timer a {
  font-weight: 600;
}

.bt-resend-timer a.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Success Animation */
.bt-success-animation {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  position: relative;
}

.bt-success-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bt-success-pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bt-success-pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.bt-success-circle i {
  font-size: 48px;
  color: var(--bt-success);
}

.bt-success-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--bt-success);
  animation: bt-pulse-ring 1.5s ease-out infinite;
}

/* ============================================================
   BIOTOO DASHBOARD
   ============================================================ */

.bt-dashboard {
  display: flex;
  min-height: 100vh;
  background: var(--bt-bg);
}

/* Sidebar */
.bt-sidebar {
  width: 270px;
  background: var(--bt-white);
  border-left: 1px solid var(--bt-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  z-index: var(--bt-z-fixed);
  transition: var(--bt-transition);
  overflow-y: auto;
}

.bt-sidebar-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--bt-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bt-sidebar-nav {
  padding: 16px 12px;
  flex-grow: 1;
}

.bt-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--bt-text-lighter);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 16px 8px;
}

.bt-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--bt-radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--bt-text-light);
  transition: var(--bt-transition);
  text-decoration: none;
  margin-bottom: 4px;
  position: relative;
}

.bt-sidebar-link i {
  width: 22px;
  text-align: center;
  font-size: 18px;
  transition: var(--bt-transition);
}

.bt-sidebar-link:hover {
  background: var(--bt-primary-50);
  color: var(--bt-primary);
}

.bt-sidebar-link.active {
  background: var(--bt-gradient-primary);
  color: #fff;
  box-shadow: var(--bt-shadow-primary);
}

.bt-sidebar-link.active i {
  color: #fff;
}

.bt-sidebar-link .badge {
  margin-right: auto;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--bt-radius-full);
  background: var(--bt-primary-50);
  color: var(--bt-primary);
  font-weight: 700;
}

.bt-sidebar-link.active .badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Sidebar User */
.bt-sidebar-user {
  padding: 16px 20px;
  border-top: 1px solid var(--bt-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.bt-sidebar-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bt-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.bt-sidebar-user-info {
  flex-grow: 1;
  min-width: 0;
}

.bt-sidebar-user-info h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bt-sidebar-user-info span {
  font-size: 12px;
  color: var(--bt-text-lighter);
}

/* Sidebar Upgrade Card */
.bt-sidebar-upgrade {
  margin: 12px;
  padding: 20px;
  background: var(--bt-gradient-primary);
  border-radius: var(--bt-radius-lg);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bt-sidebar-upgrade::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.bt-sidebar-upgrade h6 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.bt-sidebar-upgrade p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.bt-sidebar-upgrade .bt-btn {
  background: #fff;
  color: var(--bt-primary);
  font-size: 13px;
  padding: 10px 20px;
}

/* Dashboard Main Content */
.bt-dashboard-main {
  flex: 1;
  margin-right: 270px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Dashboard Topbar */
.bt-dashboard-topbar {
  background: var(--bt-white);
  border-bottom: 1px solid var(--bt-border);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: var(--bt-z-sticky);
}

.bt-dashboard-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bt-dashboard-topbar-title h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 2px;
}

.bt-dashboard-topbar-title p {
  font-size: 13px;
  color: var(--bt-text-lighter);
  margin: 0;
}

.bt-dashboard-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Search Box */
.bt-dashboard-search {
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .bt-dashboard-search { display: block; }
}

.bt-dashboard-search input {
  width: 260px;
  padding: 10px 16px 10px 40px;
  border: 2px solid var(--bt-border);
  border-radius: var(--bt-radius-full);
  font-size: 13px;
  font-family: var(--bt-font);
  background: var(--bt-bg);
  transition: var(--bt-transition);
  outline: none;
}

.bt-dashboard-search input:focus {
  border-color: var(--bt-primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
  width: 320px;
}

.bt-dashboard-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bt-text-lighter);
}

/* Notification Button */
.bt-notification-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--bt-radius-md);
  border: 2px solid var(--bt-border);
  background: var(--bt-white);
  color: var(--bt-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--bt-transition);
}

.bt-notification-btn:hover {
  border-color: var(--bt-primary);
  color: var(--bt-primary);
}

.bt-notification-btn .dot {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bt-danger);
  border: 2px solid var(--bt-white);
}

/* Dashboard Content */
.bt-dashboard-content {
  padding: 28px;
  flex-grow: 1;
}

/* Welcome Card */
.bt-welcome-card {
  background: var(--bt-gradient-primary);
  border-radius: var(--bt-radius-xl);
  padding: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}

.bt-welcome-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.bt-welcome-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.bt-welcome-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.bt-welcome-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

/* Profile Completion */
.bt-profile-completion {
  background: var(--bt-white);
  border-radius: var(--bt-radius-xl);
  padding: 24px;
  border: 1px solid var(--bt-border);
}

.bt-profile-completion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bt-profile-completion-header h5 {
  font-size: 16px;
  font-weight: 700;
}

.bt-profile-completion-percent {
  font-size: 24px;
  font-weight: 900;
  color: var(--bt-primary);
}

.bt-profile-completion-items {
  margin-top: 20px;
}

.bt-profile-completion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--bt-text-light);
}

.bt-profile-completion-item i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.bt-profile-completion-item.done i {
  background: rgba(34,197,94,0.1);
  color: var(--bt-success);
}

.bt-profile-completion-item.pending i {
  background: var(--bt-bg);
  color: var(--bt-text-lighter);
}

/* Chart Placeholder */
.bt-chart-card {
  background: var(--bt-white);
  border-radius: var(--bt-radius-xl);
  padding: 24px;
  border: 1px solid var(--bt-border);
  height: 100%;
}

.bt-chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.bt-chart-card-header h5 {
  font-size: 16px;
  font-weight: 700;
}

/* Fake Chart Bars */
.bt-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 200px;
  padding-top: 20px;
}

.bt-chart-bar {
  flex: 1;
  background: var(--bt-primary-100);
  border-radius: 6px 6px 0 0;
  transition: var(--bt-transition);
  position: relative;
  cursor: pointer;
  min-height: 20px;
}

.bt-chart-bar:hover {
  background: var(--bt-primary);
}

.bt-chart-bar:hover::after {
  content: attr(data-value);
  position: absolute;
  top: -30px;
  right: 50%;
  transform: translateX(50%);
  background: var(--bt-dark);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* Fake Line Chart */
.bt-chart-line {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.bt-chart-line svg {
  width: 100%;
  height: 100%;
}

/* Donut Chart */
.bt-chart-donut {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
}

.bt-chart-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.bt-chart-donut-center .value {
  font-size: 28px;
  font-weight: 900;
  color: var(--bt-dark);
  display: block;
}

.bt-chart-donut-center .label {
  font-size: 12px;
  color: var(--bt-text-lighter);
}

/* Visitor Item */
.bt-visitor-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bt-border);
}

.bt-visitor-item:last-child {
  border-bottom: none;
}

.bt-visitor-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.bt-visitor-info {
  flex-grow: 1;
  min-width: 0;
}

.bt-visitor-info h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.bt-visitor-info span {
  font-size: 12px;
  color: var(--bt-text-lighter);
}

.bt-visitor-time {
  font-size: 12px;
  color: var(--bt-text-lighter);
  white-space: nowrap;
}

/* Quick Actions */
.bt-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  background: var(--bt-white);
  border: 2px solid var(--bt-border);
  border-radius: var(--bt-radius-lg);
  text-decoration: none;
  color: var(--bt-text);
  transition: var(--bt-transition);
  text-align: center;
  height: 100%;
}

.bt-quick-action:hover {
  border-color: var(--bt-primary);
  background: var(--bt-primary-50);
  transform: translateY(-4px);
  color: var(--bt-primary);
}

.bt-quick-action-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--bt-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--bt-transition);
}

.bt-quick-action:hover .bt-quick-action-icon {
  transform: scale(1.1);
}

.bt-quick-action span {
  font-size: 13px;
  font-weight: 600;
}

/* Sidebar Mobile Toggle */
.bt-sidebar-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--bt-radius-md);
  border: 2px solid var(--bt-border);
  background: var(--bt-white);
  color: var(--bt-text);
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

/* Sidebar Overlay */
.bt-sidebar-overlay {
  display: none;
}

/* Responsive Dashboard */
@media (max-width: 991.98px) {
  .bt-sidebar {
    right: -280px;
  }

  .bt-sidebar.open {
    right: 0;
    box-shadow: var(--bt-shadow-2xl);
  }

  .bt-dashboard-main {
    margin-right: 0;
  }

  .bt-sidebar-toggle {
    display: flex;
  }

  .bt-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.5);
    z-index: var(--bt-z-fixed);
    opacity: 0;
    visibility: hidden;
    transition: var(--bt-transition);
  }

  .bt-sidebar-overlay.show {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 575.98px) {
  .bt-dashboard-content {
    padding: 16px;
  }

  .bt-dashboard-topbar {
    padding: 12px 16px;
  }

  .bt-welcome-card {
    padding: 24px 20px;
  }
}

/* ============================================================
   BIOTOO PUBLIC PROFILE
   ============================================================ */

.bt-public-profile {
  min-height: 100vh;
  background: var(--bt-bg);
  position: relative;
}

/* Profile Cover */
.bt-pp-cover {
  height: 280px;
  position: relative;
  overflow: hidden;
  background: var(--bt-gradient-hero);
}

.bt-pp-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.bt-pp-cover-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

/* Profile Header */
.bt-pp-header {
  position: relative;
  z-index: 2;
  margin-top: -80px;
  text-align: center;
  padding: 0 20px;
}

.bt-pp-avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.bt-pp-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 5px solid var(--bt-white);
  box-shadow: var(--bt-shadow-xl);
  object-fit: cover;
  background: var(--bt-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
  font-weight: 800;
}

.bt-pp-avatar-status {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bt-success);
  border: 4px solid var(--bt-white);
}

.bt-pp-name {
  font-size: 28px;
  font-weight: 900;
  color: var(--bt-dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bt-pp-verified {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bt-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.bt-pp-title {
  font-size: 16px;
  color: var(--bt-text-light);
  margin-bottom: 8px;
}

.bt-pp-location {
  font-size: 14px;
  color: var(--bt-text-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.bt-pp-bio {
  font-size: 15px;
  color: var(--bt-text);
  line-height: 1.9;
  max-width: 520px;
  margin: 0 auto 24px;
}

/* Profile Action Buttons */
.bt-pp-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Profile Stats Bar */
.bt-pp-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--bt-border);
  border-bottom: 1px solid var(--bt-border);
  margin-bottom: 32px;
}

.bt-pp-stat {
  text-align: center;
}

.bt-pp-stat-value {
  font-size: 24px;
  font-weight: 900;
  color: var(--bt-dark);
  display: block;
}

.bt-pp-stat-label {
  font-size: 13px;
  color: var(--bt-text-lighter);
}

/* Profile Links */
.bt-pp-links {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px;
}

.bt-pp-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bt-white);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius-lg);
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--bt-text);
  transition: var(--bt-transition);
  position: relative;
  overflow: hidden;
}

.bt-pp-link::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--bt-gradient-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.bt-pp-link:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--bt-shadow-lg);
  border-color: var(--bt-primary-200);
  color: var(--bt-text);
}

.bt-pp-link:hover::before {
  transform: scaleY(1);
}

.bt-pp-link-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--bt-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.bt-pp-link-info {
  flex-grow: 1;
}

.bt-pp-link-info h6 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.bt-pp-link-info span {
  font-size: 12px;
  color: var(--bt-text-lighter);
}

.bt-pp-link-arrow {
  color: var(--bt-text-lighter);
  transition: var(--bt-transition);
}

.bt-pp-link:hover .bt-pp-link-arrow {
  color: var(--bt-primary);
  transform: translateX(-4px);
}

/* Social Icons Row */
.bt-pp-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.bt-pp-social {
  width: 48px;
  height: 48px;
  border-radius: var(--bt-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  transition: var(--bt-transition);
  text-decoration: none;
}

.bt-pp-social:hover {
  transform: translateY(-4px) scale(1.1);
  color: #fff;
}

/* Gallery Grid */
.bt-pp-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px;
}

.bt-pp-gallery-item {
  aspect-ratio: 1;
  border-radius: var(--bt-radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.bt-pp-gallery-item img,
.bt-pp-gallery-item .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bt-pp-gallery-item:hover img,
.bt-pp-gallery-item:hover .placeholder {
  transform: scale(1.1);
}

.bt-pp-gallery-item .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(255,255,255,0.5);
}

.bt-pp-gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--bt-transition);
}

.bt-pp-gallery-item:hover .overlay {
  opacity: 1;
}

.bt-pp-gallery-item .overlay i {
  color: #fff;
  font-size: 24px;
}

/* QR Code Section */
.bt-pp-qr {
  background: var(--bt-white);
  border-radius: var(--bt-radius-xl);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--bt-border);
  max-width: 520px;
  margin: 0 auto;
}

.bt-pp-qr-code {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  background: var(--bt-bg);
  border-radius: var(--bt-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bt-border);
  position: relative;
  overflow: hidden;
}

/* Fake QR Pattern */
.bt-qr-pattern {
  width: 140px;
  height: 140px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 3px;
}

.bt-qr-pattern span {
  border-radius: 2px;
  background: var(--bt-dark);
}

.bt-qr-pattern span:nth-child(even) {
  background: transparent;
}

.bt-qr-pattern span:nth-child(3n) {
  background: var(--bt-dark);
}

.bt-qr-pattern span:nth-child(7n) {
  background: transparent;
}

.bt-qr-pattern span:nth-child(5n+1) {
  background: var(--bt-dark);
}

/* Section Title in Profile */
.bt-pp-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--bt-dark);
  text-align: center;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.bt-pp-section-title::before,
.bt-pp-section-title::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--bt-border);
}

/* Profile Footer */
.bt-pp-footer {
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
}

.bt-pp-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--bt-text-lighter);
  text-decoration: none;
  transition: var(--bt-transition);
}

.bt-pp-footer-logo:hover {
  color: var(--bt-primary);
}

/* Floating Share Button */
.bt-pp-float-actions {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: var(--bt-z-sticky);
}

.bt-pp-float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--bt-transition);
  box-shadow: var(--bt-shadow-lg);
}

.bt-pp-float-btn:hover {
  transform: scale(1.1) translateY(-2px);
}

/* ============================================================
   BIOTOO BOOKING PAGE
   ============================================================ */

.bt-booking-calendar {
  background: var(--bt-white);
  border-radius: var(--bt-radius-xl);
  border: 1px solid var(--bt-border);
  overflow: hidden;
}

.bt-booking-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bt-gradient-primary);
  color: #fff;
}

.bt-booking-calendar-header h5 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.bt-booking-calendar-nav {
  display: flex;
  gap: 8px;
}

.bt-booking-calendar-nav button {
  width: 36px;
  height: 36px;
  border-radius: var(--bt-radius-sm);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--bt-transition);
}

.bt-booking-calendar-nav button:hover {
  background: rgba(255,255,255,0.3);
}

.bt-booking-calendar-grid {
  padding: 20px;
}

.bt-booking-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.bt-booking-weekdays span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--bt-text-lighter);
  padding: 8px 0;
}

.bt-booking-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.bt-booking-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--bt-radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--bt-text);
  cursor: pointer;
  transition: var(--bt-transition);
  border: none;
  background: transparent;
  font-family: var(--bt-font);
  position: relative;
}

.bt-booking-day:hover {
  background: var(--bt-primary-50);
  color: var(--bt-primary);
}

.bt-booking-day.today {
  border: 2px solid var(--bt-primary);
}

.bt-booking-day.selected {
  background: var(--bt-gradient-primary);
  color: #fff;
  box-shadow: var(--bt-shadow-primary);
}

.bt-booking-day.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.bt-booking-day.has-slot::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bt-accent);
}

/* Time Slots */
.bt-time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bt-time-slot {
  padding: 12px 16px;
  border: 2px solid var(--bt-border);
  border-radius: var(--bt-radius-md);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--bt-text);
  cursor: pointer;
  transition: var(--bt-transition);
  background: var(--bt-white);
  font-family: var(--bt-font);
}

.bt-time-slot:hover {
  border-color: var(--bt-primary);
  color: var(--bt-primary);
  background: var(--bt-primary-50);
}

.bt-time-slot.selected {
  background: var(--bt-gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--bt-shadow-primary);
}

.bt-time-slot.disabled {
  opacity: 0.3;
  pointer-events: none;
  text-decoration: line-through;
}

/* Booking Summary */
.bt-booking-summary {
  background: var(--bt-white);
  border-radius: var(--bt-radius-xl);
  border: 1px solid var(--bt-border);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.bt-booking-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bt-border);
}

.bt-booking-summary-item:last-child {
  border-bottom: none;
}

.bt-booking-summary-item i {
  width: 36px;
  height: 36px;
  border-radius: var(--bt-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ============================================================
   BIOTOO FORM BUILDER
   ============================================================ */

.bt-builder {
  display: flex;
  height: calc(100vh - 73px);
  overflow: hidden;
}

/* Builder Tools Panel */
.bt-builder-tools {
  width: 280px;
  background: var(--bt-white);
  border-left: 1px solid var(--bt-border);
  overflow-y: auto;
  padding: 20px;
  flex-shrink: 0;
}

.bt-builder-tool-group {
  margin-bottom: 24px;
}

.bt-builder-tool-group h6 {
  font-size: 12px;
  font-weight: 700;
  color: var(--bt-text-lighter);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.bt-builder-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bt-bg);
  border: 2px solid var(--bt-border);
  border-radius: var(--bt-radius-md);
  margin-bottom: 8px;
  cursor: grab;
  transition: var(--bt-transition);
  font-size: 13px;
  font-weight: 600;
  color: var(--bt-text);
}

.bt-builder-tool:hover {
  border-color: var(--bt-primary);
  background: var(--bt-primary-50);
  color: var(--bt-primary);
  transform: translateX(-4px);
}

.bt-builder-tool:active {
  cursor: grabbing;
}

.bt-builder-tool i {
  width: 32px;
  height: 32px;
  border-radius: var(--bt-radius-sm);
  background: var(--bt-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--bt-primary);
  box-shadow: var(--bt-shadow-sm);
}

/* Builder Canvas */
.bt-builder-canvas {
  flex: 1;
  background: var(--bt-bg);
  overflow-y: auto;
  padding: 32px;
  display: flex;
  justify-content: center;
}

.bt-builder-canvas-inner {
  width: 100%;
  max-width: 600px;
}

.bt-builder-drop-zone {
  min-height: 120px;
  border: 2px dashed var(--bt-border);
  border-radius: var(--bt-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--bt-text-lighter);
  transition: var(--bt-transition);
  padding: 24px;
  margin-bottom: 16px;
}

.bt-builder-drop-zone:hover,
.bt-builder-drop-zone.dragover {
  border-color: var(--bt-primary);
  background: var(--bt-primary-50);
  color: var(--bt-primary);
}

.bt-builder-drop-zone i {
  font-size: 32px;
}

/* Builder Field Item */
.bt-builder-field {
  background: var(--bt-white);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius-lg);
  padding: 20px;
  margin-bottom: 12px;
  position: relative;
  transition: var(--bt-transition);
  cursor: move;
}

.bt-builder-field:hover {
  border-color: var(--bt-primary-200);
  box-shadow: var(--bt-shadow-md);
}

.bt-builder-field.selected {
  border-color: var(--bt-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.bt-builder-field-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: var(--bt-transition);
}

.bt-builder-field:hover .bt-builder-field-actions {
  opacity: 1;
}

.bt-builder-field-action {
  width: 30px;
  height: 30px;
  border-radius: var(--bt-radius-sm);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: var(--bt-transition);
}

.bt-builder-field-action.edit {
  background: var(--bt-primary-50);
  color: var(--bt-primary);
}

.bt-builder-field-action.duplicate {
  background: rgba(6,182,212,0.1);
  color: var(--bt-secondary);
}

.bt-builder-field-action.delete {
  background: rgba(239,68,68,0.1);
  color: var(--bt-danger);
}

.bt-builder-field-action:hover {
  transform: scale(1.1);
}

/* Builder Properties Panel */
.bt-builder-props {
  width: 300px;
  background: var(--bt-white);
  border-right: 1px solid var(--bt-border);
  overflow-y: auto;
  padding: 20px;
  flex-shrink: 0;
}

.bt-builder-props-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bt-border);
}

.bt-builder-props-header h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

/* Builder Responsive */
@media (max-width: 991.98px) {
  .bt-builder {
    flex-direction: column;
    height: auto;
  }
  .bt-builder-tools,
  .bt-builder-props {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--bt-border);
  }
  .bt-builder-canvas {
    min-height: 400px;
  }
}

/* ============================================================
   BIOTOO ANALYTICS
   ============================================================ */

.bt-analytics-period {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bt-analytics-period-btn {
  padding: 8px 18px;
  border-radius: var(--bt-radius-full);
  border: 2px solid var(--bt-border);
  background: var(--bt-white);
  font-size: 13px;
  font-weight: 600;
  color: var(--bt-text-light);
  cursor: pointer;
  transition: var(--bt-transition);
  font-family: var(--bt-font);
}

.bt-analytics-period-btn:hover {
  border-color: var(--bt-primary);
  color: var(--bt-primary);
}

.bt-analytics-period-btn.active {
  background: var(--bt-gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--bt-shadow-primary);
}

/* Country List */
.bt-country-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bt-border);
}

.bt-country-item:last-child {
  border-bottom: none;
}

.bt-country-flag {
  width: 36px;
  height: 36px;
  border-radius: var(--bt-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--bt-bg);
}

.bt-country-info {
  flex-grow: 1;
}

.bt-country-info h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.bt-country-bar {
  height: 6px;
  background: var(--bt-border);
  border-radius: var(--bt-radius-full);
  overflow: hidden;
}

.bt-country-bar-fill {
  height: 100%;
  border-radius: var(--bt-radius-full);
  background: var(--bt-gradient-primary);
}

.bt-country-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--bt-dark);
}

/* Browser / Device Item */
.bt-browser-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bt-border);
}

.bt-browser-item:last-child {
  border-bottom: none;
}

.bt-browser-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--bt-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.bt-browser-info {
  flex-grow: 1;
}

.bt-browser-info h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.bt-browser-info span {
  font-size: 12px;
  color: var(--bt-text-lighter);
}

/* Horizontal Bar Chart */
.bt-hbar-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bt-hbar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bt-hbar-label {
  width: 80px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bt-text-light);
  text-align: left;
  flex-shrink: 0;
}

.bt-hbar-track {
  flex: 1;
  height: 24px;
  background: var(--bt-bg);
  border-radius: var(--bt-radius-full);
  overflow: hidden;
}

.bt-hbar-fill {
  height: 100%;
  border-radius: var(--bt-radius-full);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  transition: width 1s ease;
}

/* Real-time indicator */
.bt-realtime-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bt-success);
  display: inline-block;
  animation: bt-pulse-ring 2s ease-out infinite;
}

/* Sparkline mini chart */
.bt-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 40px;
}

.bt-sparkline-bar {
  flex: 1;
  background: var(--bt-primary-100);
  border-radius: 2px;
  transition: var(--bt-transition);
}

.bt-sparkline-bar:hover {
  background: var(--bt-primary);
}