/* VERIFIED EDIT BY AI */
:root {
  /* Modern Palette */
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --accent-gradient: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
  --bg-main: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --input-bg: rgba(255, 255, 255, 0.5);
  --primary: #6366f1;
  --success: #22c55e;
  --soft-purple: #f5f3ff;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  /* background removed */
  color: var(--text-main);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Noise Overlay Texture */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 9999;
}

h1,
h2,
h3,
h4,
h5,
h6,
.app-card-title,
.section-title,
.logo {
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.02em;
}

.section-title,
.app-card-title,
.logo {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Background Mesh Gradients (Youthful look) */
body::before {
  content: "";
  position: fixed;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 40%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  bottom: -10%;
  left: -10%;
  width: 60%;
  height: 40%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
  z-index: -1;
}

/* Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 92%;
  padding: 0;
}

body:has(.auth-container) .header-content {
  max-width: 1200px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-wrapper:active {
  transform: scale(0.95);
}

.app-logo {
  width: 130px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
  display: block;
}

.profile-avatar {
  width: 42px;
  height: 42px;
  background: var(--soft-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  border: 2px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.profile-avatar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.2);
}

.logo span {
  color: var(--text-main);
  -webkit-text-fill-color: var(--text-main);
  font-weight: 300;
  margin: 0 4px;
}

.app-main {
  min-height: calc(100vh - 150px);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

[ng-view] {
  min-height: 100vh;
}

.view-content {
  padding: 30px 10px 120px;
  max-width: 100%;
  margin: 0 auto;
}

/* Premium Cards (Glassmorphism inspired) */
.app-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    var(--card-shadow),
    inset 0 0 15px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slide-up-fade 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.app-card:nth-child(1) {
  animation-delay: 0.1s;
}

.app-card:nth-child(2) {
  animation-delay: 0.2s;
}

.app-card:nth-child(3) {
  animation-delay: 0.3s;
}

.app-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slide-up-fade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-card:active {
  transform: scale(0.97);
}

@media (hover: hover) {
  .app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.85);
  }
}

.app-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.app-card-body {
  padding: 20px;
}

.app-card-title {
  margin: 0 0 8px 0;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

/* Buttons */
.btn-primary {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  font-family: "Outfit", sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #6366f1, #a855f7, #f43f5e, #6366f1);
  background-size: 400%;
  z-index: -1;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: var(--radius-md);
  animation: move-glow 20s linear infinite;
}

.btn-primary:hover::before {
  opacity: 0.7;
}

@keyframes move-glow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-primary:hover {
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 4px 12px;
  border-radius: 20px;
}

.nav-item i {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.nav-item.active {
  color: #6366f1;
}

.nav-item.active i {
  transform: translateY(-2px);
}

/* Section Header Styles */
/* Utility Classes - Clean Code */
.m-0 {
  margin: 0 !important;
}

.mb-15 {
  margin-bottom: 15px !important;
}

.font-800 {
  font-weight: 800;
}

.size-1-4 {
  font-size: 1.4rem;
}

.size-0-9 {
  font-size: 0.9rem;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.text-left {
  text-align: left;
}

.close-icon {
  color: #cbd5e1;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.close-icon:hover {
  color: var(--primary);
}

.contact-header-text {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.whatsapp-icon-circle i {
  font-size: 1.1rem;
}

/* Map Container Box (Global) */
.map-container-box {
  width: 100%;
  height: 300px;
  /* Force height on all devices */
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin: 20px 0;
  background: #f1f5f9;
  /* Placeholder background */
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  margin-top: 0px;
  letter-spacing: -1px;
}

/* Loading States */
.loader {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    90deg,
    rgba(240, 240, 240, 0.5) 25%,
    rgba(248, 248, 248, 0.8) 50%,
    rgba(240, 240, 240, 0.5) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  margin-bottom: 24px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* --- Component Specific Classes --- */
/* Badge Styles */
.badge-glass {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.price-tag {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--primary-gradient);
  color: white;
  padding: 8px 16px;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
}

/* Info Box */
.info-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  margin-top: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.info-icon {
  width: 20px;
  text-align: center;
}

/* Profile Section */
.profile-header {
  margin-bottom: 40px;
  text-align: center;
  padding: 20px;
}

.avatar-container {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 40px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--card-shadow);
  border: 4px solid white;
}

.avatar-icon {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3rem;
}

.profile-name {
  font-weight: 800;
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -1px;
}

.profile-email {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 4px;
}

/* Menu List */
.menu-card {
  padding: 0 !important;
}

.menu-item {
  padding: 25px 30px;
  border-bottom: 1px solid #f8fafc;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.menu-item:active {
  background: #f8fafc;
}

@media (max-width: 767px) {
  .header-content {
    justify-content: center;
    /* Center logo on mobile */
  }

  .user-status {
    position: absolute;
    right: 20px;
  }
}

.menu-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-label {
  flex: 1;
  font-weight: 600;
  color: var(--text-main);
}

.menu-arrow {
  color: #cbd5e1;
  font-size: 0.8rem;
}

/* Utilities */
.rel {
  position: relative;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.w-full {
  width: 100%;
}

.text-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Component Details */
.card-hero-img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

/* Desktop Modal Adjustments */
.rating-stars {
  display: flex;
  color: #fbbf24;
  font-size: 0.8rem;
  gap: 2px;
}

.icon-purple {
  color: #6366f1;
}

.icon-indigo {
  color: #a855f7;
}

.icon-blue {
  color: #3b82f6;
}

.icon-green {
  color: #22c55e;
}

.icon-red {
  color: #ef4444;
}

.bg-soft-purple {
  background: #f5f3ff;
}

.bg-soft-blue {
  background: #eff6ff;
}

.bg-soft-green {
  background: #f0fdf4;
}

.bg-soft-red {
  background: #fef2f2;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Modal / Bottom Sheet */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  background: #f8fafc;
  width: 96%;
  /* More space on mobile */
  height: auto;
  max-height: 94vh;
  /* Taller on mobile */
  border-radius: 24px;
  padding: 0;
  transform: scale(0.95);
  /* Subtle scale starting point */
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

.modal-overlay.active .bottom-sheet {
  transform: scale(1) translateY(0);
  opacity: 1;
}

@media (max-width: 767px) {
  .modal-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .bottom-sheet {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 24px 24px 0 0 !important;
    margin-bottom: 0 !important;
    transform: translateY(100%);
  }

  .modal-overlay.active .bottom-sheet {
    transform: translateY(0) !important;
  }
}

.modal-header-fixed {
  padding: 10px 25px 15px;
  /* Even tighter padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  z-index: 20;
}

.modal-body-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 15px 25px 30px;
  /* Reduced top padding to 15px */
  background: white;
  -webkit-overflow-scrolling: touch;
  position: relative;
  /* Create a fade effect at the bottom */
  mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

/* Scroll indicator animation */
@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

/* Modal Section Titles */
.modal-section-title {
  font-weight: 700;
  margin: 25px 0 10px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.modal-section-title i {
  margin-right: 10px;
  opacity: 0.8;
}

/* Contact Card Labels */
.contact-label-small {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.contact-label-main {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
}

.modal-body-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.scroll-hint {
  position: absolute;
  bottom: 145px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 99;
  pointer-events: none;
  animation: bounce-slow 2s infinite ease-in-out;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.modal-footer-fixed {
  padding: 15px 20px 30px;
  /* Increased bottom padding for mobile safe area */
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 20;
  position: relative;
  width: 100%;
  box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.08);
}

.modal-footer-fixed .btn-whatsapp-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 10px 15px;
  /* More compact buttons */
  border-radius: 16px;
  margin-bottom: 0;
  text-decoration: none;
  border: 1px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-footer-fixed .btn-whatsapp-compact:hover,
.modal-footer-fixed .btn-whatsapp-compact:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.12);
}

.whatsapp-icon-circle {
  width: 32px;
  /* Smaller icon circle */
  height: 32px;
  background: #25d366;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.25);
}

.modal-overlay.active .bottom-sheet {
  transform: translateY(0);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
  margin: 12px auto 0px;
  /* Reduced bottom margin */
}

/* Photo Gallery */
.gallery-container {
  position: relative;
  margin: 0 -25px 20px;
}

.photo-gallery {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 0 25px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.photo-gallery::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: white;
  border: none;
  border-radius: 50%;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.9);
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

.gallery-img {
  flex: 0 0 85%;
  height: 200px;
  border-radius: 16px;
  object-fit: cover;
  scroll-snap-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
}

.amenity-item i {
  color: #6366f1;
  font-size: 1rem;
}

.desktop-nav {
  display: none !important;
  /* Always hidden as requested */
}

.bottom-nav {
  display: flex !important;
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 40px);
  max-width: 500px;
  /* Reduced to original mobile-friendly size */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  justify-content: space-around;
  padding: 12px 10px;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 1000;
  transition: max-width 0.3s ease;
}

/* Responsiveness */
@media (max-width: 767px) {
  .header-actions {
    display: none !important;
  }
}

.header-actions {
  position: relative;
  right: auto;
}

@media (min-width: 601px) {
  :root {
    --header-height: 80px;
  }

  .app-header {
    height: var(--header-height);
  }

  .app-main {
    display: block;
    padding: 20px 0 100px;
    /* Removed side padding */
  }

  /* Exception for Auth Pages */
  body:has(.auth-container) .app-main {
    max-width: 1300px;
  }

  .grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .hoteis-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
  }

  .app-card-title {
    font-size: 1.5rem;
  }

  .bottom-nav {
    max-width: 900px;
    /* Increased from 800px */
    /* More balanced desktop size */
    padding: 12px 40px;
  }

  .app-card-img {
    height: 280px;
  }

  .btn-primary {
    padding: 18px 30px;
    font-size: 1.1rem;
  }
}

/* Large Desktop Screens */
@media (min-width: 1200px) {
  /* Main layout is handled globally by 92% width and 1400px max-width */
}

@media (min-width: 1600px) {
  /* Let the 1400px max-width remain stable */
  .hoteis-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .bottom-nav {
    max-width: 1100px;
    /* Increased from 1000px */
    /* More balanced large desktop size */
  }
}

/* Optimized Angular Transitions */
[ng-view].ng-enter,
[ng-view].ng-leave {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

[ng-view].ng-enter {
  opacity: 0;
  transform: translateY(15px);
}

[ng-view].ng-enter-active {
  opacity: 1;
  transform: translateY(0);
}

[ng-view].ng-leave {
  opacity: 1;
  transform: translateY(0);
}

[ng-view].ng-leave-active {
  opacity: 0;
  transform: translateY(-15px);
}

/* Animated Background Blobs */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 50vw;
  height: 50vw;
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.12;
  animation: float-blob 25s infinite alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  background: #6366f1;
}

.blob-2 {
  bottom: 0%;
  right: -10%;
  background: #a855f7;
  animation-duration: 35s;
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 30%;
  width: 30vw;
  height: 30vw;
  background: #f43f5e;
  opacity: 0.08;
  animation-duration: 20s;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(5vw, 10vh) scale(1.1) rotate(10deg);
  }

  66% {
    transform: translate(-10vw, 20vh) scale(0.9) rotate(-10deg);
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* --- AUTH SCREENS --- */
.auth-container {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  /* background removed */
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
}

.auth-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.4rem;
  color: white;
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.auth-title {
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
  font-weight: 500;
}

.auth-form {
  text-align: left;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-left: 4px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 20px;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  z-index: 2;
}

.input-wrapper input {
  width: 100%;
  padding: 18px 24px 18px 56px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.input-wrapper input:focus {
  outline: none;
  background: white;
  border-color: var(--primary);
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.input-wrapper input:focus + .input-icon {
  color: var(--primary);
  transform: scale(1.1);
}

.form-help {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
  padding-left: 4px;
}

.auth-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-footer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.auth-link {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.auth-link:hover {
  color: #4f46e5;
  text-decoration: none;
  filter: brightness(1.1);
}

.icon-green {
  color: var(--success) !important;
}

.bg-soft-green {
  background: rgba(34, 197, 94, 0.1) !important;
}

/* --- PROFILE --- */
.profile-header {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  box-shadow: var(--card-shadow);
}

.avatar-container {
  width: 100px;
  height: 100px;
  background: var(--primary-gradient);
  border-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.35);
  border: 3px solid white;
}

.avatar-icon {
  font-size: 3.8rem;
  color: #ffffff !important;
  opacity: 1 !important;
  display: inline-block;
  filter: brightness(0) invert(1);
  /* Truque para forçar branco puro em ícones rebeldes */
  position: relative;
  z-index: 5;
  text-shadow: none;
}

.profile-name {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 5px;
  color: var(--text-main);
}

.profile-email {
  color: var(--text-muted);
  font-size: 1rem;
}

.menu-card {
  padding: 10px 0;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  gap: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.menu-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.menu-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.menu-label {
  flex-grow: 1;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1rem;
}

.menu-arrow {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.card-link {
  text-decoration: none;
  display: block;
}

.bg-soft-blue {
  background: rgba(59, 130, 246, 0.1);
}

.icon-blue {
  color: #3b82f6;
}

.bg-soft-red {
  background: rgba(239, 68, 68, 0.1);
}

.icon-red {
  color: #ef4444;
}

/* --- VALIDATION --- */
.input-wrapper input.ng-invalid.ng-touched {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.input-wrapper input.ng-invalid.ng-touched + .input-icon {
  color: #ef4444;
}

/* --- VALIDATION --- */
.input-wrapper input.ng-dirty.ng-valid {
  border-color: var(--success) !important;
}

.input-wrapper input.ng-dirty.ng-invalid {
  border-color: #ef4444 !important;
}

.validation-status {
  position: absolute;
  right: 18px;
  font-size: 1rem;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 3;
}

.status-success {
  color: var(--success);
}

.status-error {
  color: #ef4444;
}

.error-message {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 4px;
  padding-left: 4px;
  font-weight: 600;
}

.success-message {
  font-size: 0.75rem;
  color: var(--success);
  margin-top: 4px;
  padding-left: 4px;
  font-weight: 600;
}

/* Strength Meter */
.strength-meter {
  margin-top: 10px;
  padding: 0 4px;
}

.strength-bar {
  height: 4px;
  border-radius: 2px;
  transition: all 0.4s ease;
  margin-bottom: 6px;
  background: #e2e8f0;
}

.strength-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.toggle-password {
  position: absolute;
  right: 20px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s ease;
  z-index: 2;
}

.toggle-password:hover {
  color: var(--primary);
}

/* Event Hero Section */
.event-hero {
  width: 100%;
  height: 350px;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  margin-bottom: 40px;
}

.event-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-content {
  z-index: 2;
  padding: 0 20px;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary-gradient);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.hero-title {
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(2.5rem, 8vw, 4.5rem) !important;
  font-weight: 800 !important;
  margin-bottom: 15px;
  line-height: 1.1;
  color: white !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.95;
  font-weight: 500;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-divider {
  width: 80px;
  height: 4px;
  background: white;
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .event-hero {
    height: 50vh;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* Fallback for other events */
.event-banner-container {
  width: 100%;
  max-height: 350px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.banner-premium {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- DESKTOP OVERRIDES (Must come last) --- */
@media (min-width: 768px) {
  .event-hero {
    height: 50vh;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .modal-overlay {
    align-items: center !important;
    padding: 40px;
  }

  .bottom-sheet {
    border-radius: 32px !important;
    max-width: 1100px !important;
    width: 90% !important;
    height: 85vh !important;
    max-height: 85vh !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .modal-header-fixed {
    padding: 30px 40px 20px;
    background: white;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    flex-shrink: 0;
  }

  .modal-body-scroll {
    flex: 1;
    overflow-y: auto !important;
    padding: 0 40px 40px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }

  .modal-body-scroll::-webkit-scrollbar {
    width: 6px;
  }

  .modal-body-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
  }

  .modal-overlay.active .bottom-sheet {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }

  .sheet-handle {
    display: none !important;
  }

  /* Carousel Nav Buttons */
  .gallery-container {
    position: relative;
    margin: 20px -40px 30px;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s;
    color: var(--primary);
  }

  .carousel-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }

  .gallery-item {
    flex: 0 0 85%;
    margin-right: 20px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: center;
    height: 500px;
  }

  .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
  }

  .photo-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 20px 15px;
    font-weight: 600;
    font-size: 1rem;
    pointer-events: none;
  }

  .photo-gallery {
    margin: 0 !important;
    padding: 0 7.5% !important;
    display: flex !important;
    align-items: center !important;
    scroll-padding: 0 7.5%;
    cursor: grab;
  }

  .photo-gallery.active-drag {
    cursor: grabbing;
    scroll-snap-type: none;
  }

  .photo-placeholder {
    width: 100%;
    height: 350px;
    background: #f1f5f9;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin: 20px 0;
  }

  /* Map moved to base styles */
}

/* Responsive Banner Utilities */
.card-banner-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.mobile-logo-banner {
  width: 100%;
  height: 160px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-logo-content {
  text-align: center;
  padding: 20px;
}

.mobile-event-logo {
  max-height: 80px;
  max-width: 85%;
  margin-bottom: 8px;
  object-fit: contain;
}

.mobile-event-badge {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Iframe Enhancements */
.iframe-container {
  transition: all 0.5s ease;
}

.iframe-container.loaded .iframe-loading-overlay {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.iframe-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  transition: opacity 0.5s ease;
}

.skeleton-iframe {
  width: 100%;
  max-width: 600px;
  opacity: 0.6;
}

.loading-spinner-box {
  text-align: center;
  margin-top: 30px;
}

.spinner-modern {
  width: 40px;
  height: 40px;
  border: 3px solid #f1f5f9;
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.btn-text {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-text:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* Flight Benefits Strip */
.flight-benefits-strip {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: none;
}

.flight-benefits-strip::-webkit-scrollbar {
  display: none;
}

.benefit-tag {
  background: var(--bg-glass);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  border: 1px solid rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.benefit-tag i {
  font-size: 0.8rem;
}

.dynamic-iframe-height {
  height: 500px;
}

@media (max-width: 768px) {
  .dynamic-iframe-height {
    height: 850px;
  }
}

@media (max-width: 768px) {
  .d-none-mobile {
    display: none !important;
  }

  .d-only-mobile {
    display: flex !important;
  }
}

@media (min-width: 769px) {
  .d-none-mobile {
    display: block !important;
  }

  .d-only-mobile {
    display: none !important;
  }
}

/* Ensure SweetAlert is above modal */
.swal2-container {
  z-index: 11000 !important;
}

/* FINAL PREMIUM LAYOUT OVERRIDES - V1.2.5 */
@media (min-width: 769px) {
  .app-header {
    display: flex !important;
    justify-content: center !important;
    padding: 16px 0 !important;
    width: 100% !important;
  }

  .header-content,
  .view-content {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .header-content {
    padding: 0 40px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .view-content {
    padding: 40px 60px 180px !important;
  }

  .menu-item {
    padding: 25px 30px !important;
  }
}

.btn-glass-action {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.iframe-container.fullscreen-mode {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 12000 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

/* --- V1.2.6 RESPONSIVENESS PATCH --- */
@media (max-width: 767px) {
  .modal-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
    display: flex !important;
  }

  .bottom-sheet {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 32px 32px 0 0 !important;
    margin-bottom: 0 !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    position: relative !important;
  }
}

.auth-card {
  background: #ffffff !important;
  backdrop-filter: none !important;
}

.auth-container {
  background: var(--bg-main) !important;
  z-index: 5;
  position: relative;
}

@media (min-width: 1400px) {
  .app-main,
  .header-content,
  .view-content {
    max-width: 1320px !important;
    width: 92% !important;
  }
}

html,
body {
  overflow-x: hidden !important;
  width: 100%;
  position: relative;
}
