/*
Theme Name: OneChat Theme
Author: Your Name
Description: Theme built from chat2 UI templates
Version: 1.0
*/

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Backgrounds */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('./assets/images/bg-front.webp') no-repeat center center;
  background-size: cover;
  transition: background 0.5s ease-in-out;
  z-index: -3;
}

/* Page Specific Background Overrides */

/* Chat Page Background */
.is-chat-page .bg-image {
  background-image: url('./assets/images/bg-subs-mob.jpg');
}

/* Subscription Page Background */
.is-subscription-page .bg-image {
  background-image: url('./assets/images/bg-subs-mob.jpg');
}

/* General Placeholder for other pages if you decide to change later */
.is-default-page .bg-image {
  /* Fallback or specific default image */
  background-image: url('./assets/images/bg-1.jpg');
  filter: blur(5px); /* Optional: add a blur to general pages for focus */
}

/* Overlay to darken background and blend at bottom */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom,
      rgba(10, 20, 30, 0.4) 0%,
      rgba(10, 20, 30, 0.8) 70%,
      #050a0f 100%);
  z-index: -2;
}

/* Title Container */
.page-title-container {
  text-align: center;
  /* margin-top: -10px; */
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.page-title {
  font-size: 6vw;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 4px 6px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 20px;
  margin-bottom: 25px;
  z-index: 1000;
  background: transparent;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active {
  border-bottom: 2px solid #fff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s;
}

.avatar:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Language Switcher */
.lang-selector {
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lang-selector:hover .lang-current {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(218, 165, 32, 0.5);
}

.chevron-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.lang-selector.active .chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(10, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  min-width: 160px;
  padding: 8px;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s ease;
}

.lang-selector.active .lang-dropdown {
  display: flex;
}

.lang-dropdown a {
  padding: 10px 15px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.lang-dropdown a:hover {
  background: rgba(218, 165, 32, 0.2);
  color: #fff;
  padding-left: 20px;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hamburger {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #fff;
  margin: 3px 0;
}

/* Hero Section */
.hero-section {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 40px;
  margin-bottom: 50px;
}

.hero-content-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 85px;
}

.hero-left {
  flex: 0 0 400px;
  z-index: 5;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 4;
  min-width: 300px;
}

.hero-bottom {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 6;
}

/* Glass Cards */
.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.lhs-account-page .glass-card {

}

.welcome-card {
  padding: 40px;
  width: 100%;
}

.welcome-card h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 25px;
}

.welcome-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 20px;
}

.welcome-card .price-tag {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 30px;
}

.footer-card {
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-card p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  flex: 1;
}

/* Buttons */
.btn,
.plan-action.subscribe-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover,
.plan-action.subscribe-page:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.plan-action.subscribe-page {
  text-decoration: none;
}

.btn-silver {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
  color: #000;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-gold,
.plan-action.subscribe-page {
  background: linear-gradient(90deg, #b8860b 0%, #ffd700 50%, #b8860b 100%);
  color: #1a1a1a;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
}

/* Map Section */
.map-container {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
}

.main-map {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

.people-img {
  position: absolute;
  bottom: -6%;
  left: 11%;
  transform: translateX(-50%);
  width: 520px;
  z-index: 10;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

/* Map Pins */
.map-pin {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-wrapper {
  width: 150px;
  height: 105px;
  border-radius: 8px;
  padding: 3px;
  background: linear-gradient(135deg, #dfc168, #fff);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Pointers connecting images to map */
.pointer {
  width: 0;
  height: 0;
  position: absolute;
}

/* Precise positioning based on design */
.pin-1 {
  top: 11%;
  left: -1%;
}

.pin-1 .pointer-down {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 15px solid #fff;
  bottom: -15px;
  left: 60%;
}

.pin-2 {
  top: 13%;
  right: 18%;
}

.pin-2 .pointer-down-right {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 15px solid #fff;
  bottom: -15px;
  left: 20%;
}

.pin-3 {
  top: 42%;
  left: -5%;
}

.pin-3 .pointer-left {
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 15px solid #fff;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
}

.pin-4 {
  top: 40%;
  right: 4%;
}

.pin-4 .pointer-left {
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 15px solid #fff;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
}

.pin-5 {
  bottom: -3%;
  right: 30%;
}

.pin-5 .pointer-right {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 15px solid #fff;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.pin-6 {
  bottom: 18%;
  right: -6%;
}

.pin-6 .pointer-up {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 15px solid #fff;
  top: -15px;
  left: 30%;
}

/* Footer Links */
.site-footer {
  padding: 20px 15px;
  z-index: 10;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}


/* Mobile Responsive */
@media (max-width: 992px) {
  .hero-content-row {
    flex-direction: column;
    align-items: center;
  }

  .hero-left {
    flex: 1;
    width: 100%;
    max-width: 500px;
  }

  .hero-right {
    width: 100%;
    margin-top: 40px;
  }

  .footer-card {
    flex-direction: column;
    text-align: center;
  }

  .page-title {
    font-size: 10vw;
  }
  
  .people-img {
    width: 450px;
    bottom: 2%
  }
  
  .map-pin {
    
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    padding: 20px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .map-container {
    height: auto;
    min-height: 350px;
  }

  .main-map {
    width: 80%;
    margin: 0 auto;
  }

  .people-img {
    width: 85%;
    max-width: 360px;
    left: 14%;
  }

  .map-pin {
    transform: scale(0.85);
  }

  .pin-1 {
    top: 6%;
    left: 5%;
  }

  .pin-2 {
    top: 11%;
    right: 23%;
  }

  .pin-3 {
    top: 38%;
    left: -1%;
  }

  .pin-4 {
    top: 40%;
    right: 6%;
  }

  .pin-5 {
    bottom: -6%;
    right: 36%;
  }

  .pin-6 {
    bottom: 16%;
    right: 1%;
  }

  /* Footer Mobile Adjustments */
  .site-footer {
    padding: 40px 20px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}


@media (max-width: 620px) {
  .people-img {
    max-width: 300px;
    left: 16%;
  }

  .map-pin {
    transform: scale(0.78);
  }
}

@media (max-width: 537px) {
  .people-img {
    max-width: 300px;
    left: 18%;
  }

  .map-pin {
    transform: scale(0.65);
  }

  .pin-4 {
    top: 36%;
    right: 6%;
  }

  .pin-6 {
    right: -2%;
  }

  .pin-5 {
    bottom: -6%;
    right: 29%;
  }
}

@media (max-width: 467px) {
  .people-img {
    max-width: 260px;
    left: 18%;
  }

  .map-pin {
    transform: scale(0.55);
  }
}

@media (max-width: 467px) {
  .pin-1 {
    top: 5%;
    left: 2%;
  }

  .pin-2 {
    top: 9%;
    right: 17%;
  }

  .pin-3 {
    top: 38%;
    left: -2.5%;
  }

  .pin-4 {
    top: 34%;
    right: 2%;
  }

  .pin-6 {
    right: -3%;
  }

  .pin-5 {
    bottom: -6%;
    right: 27%;
  }
}

@media (max-width: 400px) {
  .people-img {
    max-width: 220px;
    left: 18%;
  }
  .map-pin {
    transform: scale(0.45);
  }
}

@media (max-width: 360px) {
  .pin-1 {
    top: 3%;
    left: -3%;
  }

  .pin-2 {
    top: 5%;
    right: 12%;
  }

  .pin-3 {
    top: 36%;
    left: -7%;
  }

  .pin-4 {
    top: 30%;
    right: -2%;
  }

  .pin-6 {
    right: -8%;
  }

  .pin-5 {
    bottom: -8%;
    right: 21%;
  }
}

/* Subscription Page */
.subscription-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding-bottom: 40px;
  z-index: 5;
}

.subscription-card {
  width: 100%;
  max-width: 900px;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  gap: 35px;
  position: relative;
  /* Glowing border light effect */
  box-shadow: 0 0 25px rgba(218, 165, 32, 0.15), inset 0 0 15px rgba(218, 165, 32, 0.1), 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(218, 165, 32, 0.6);
}

.subs-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

.subs-key-benefits {
  display: flex;
  align-items: center;
  gap: 30px;
}

.benefits-label {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
}

.benefits-list li {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.plans-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.plan-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(218, 165, 32, 0.5);
  border-radius: 15px;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.plan-details {
  /* flex: 1;
  min-width: 250px; */
}

.plan-details h3 {
  font-size: 22px;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 8px;
}

.plan-details p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.plan-price {
  text-align: center;
  position: relative;
  min-width: 180px;
}

.plan-price .currency {
  font-size: 24px;
  font-weight: 500;
  margin-right: 5px;
}

.plan-price .amount {
  font-size: 38px;
  font-weight: 700;
}

.plan-price .period {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.discount-price {
  position: relative;
}

.discount-badge {
  position: absolute;
  top: -22px;
  right: 15px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  white-space: nowrap;
}

.plan-action {
  min-width: 160px;
  text-align: right;
}

.plan-action .btn-gold {
  padding: 14px 30px;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
  width: 100%;
}

.subs-why-choose {
  margin-top: 15px;
}

.why-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
  color: #fff;
}

.why-list-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.why-list-row p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 900px) {
  .subscription-card {
    padding: 40px 30px;
  }

  .subs-key-benefits {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .plan-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 20px;
  }

  .plan-price {
    text-align: left;
    margin: 15px 0;
  }

  .discount-badge {
    left: 0;
    right: auto;
  }

  .plan-action {
    width: 100%;
  }

  .why-list-row {
    flex-direction: column;
    gap: 15px;
  }

  .v-divider {
    display: none;
  }

  .h-divider {
    margin: 5px 0;
  }
}

.h-divider {
  width: 100%;
  height: 1px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 80%);
  margin: -5px 0;
}

.v-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
}

/* Chat Page */
.chat-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding-bottom: 30px;
  max-width: 1100px;
  width: 100%;
}

.chat-glass-panel {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(240, 225, 203, 0.95), rgba(225, 205, 175, 0.85));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 2px solid rgba(218, 165, 32, 0.6);
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 5;
}

.chat-history {
  flex: 1;
  overflow-y: auto;
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Custom Scrollbar for Chat */
.chat-history::-webkit-scrollbar {
  width: 8px;
}

.chat-history::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.chat-history::-webkit-scrollbar-thumb {
  background: rgba(218, 165, 32, 0.5);
  border-radius: 4px;
}

.chat-history::-webkit-scrollbar-thumb:hover {
  background: rgba(218, 165, 32, 0.8);
}

.chat-msg {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  max-width: 85%;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.user-msg {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ai-msg {
  align-self: flex-start;
}

.ai-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #B38B36;
  /* gold-ish */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.msg-bubble {
  padding: 18px 22px;
  border-radius: 15px;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.ai-bubble {
  background: #fdf5e6;
  color: #333;
  border: 1px solid rgba(218, 165, 32, 0.3);
  border-top-left-radius: 0;
}

.user-bubble {
  background: #4a3b32;
  color: #fff;
  border-top-right-radius: 0;
}

/* Split layout for text and image side-by-side */
.ai-bubble-split {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 800px;
}

.ai-bubble-text {
  flex: 1;
}

.ai-bubble-media {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.media-caption {
  font-size: 14px;
  color: #555;
  font-weight: 600;
  text-align: center;
}

/* Grid layout for multiple images */
.ai-bubble-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.landscape-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(218, 165, 32, 0.5);
  transition: transform 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.landscape-img:hover {
  transform: scale(1.02);
}

/* Input Area */
.chat-input-area {
  background: #0f1c1a;
  /* dark greenish black */
  padding: 20px 30px;
  border-top: 1px solid rgba(218, 165, 32, 0.3);
  border-bottom-left-radius: 23px;
  border-bottom-right-radius: 23px;
}

.input-glass {
  display: flex;
  align-items: center;
  gap: 15px;
}

.chat-input-field {
  flex: 1;
  background: rgba(40, 40, 40, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 15px 25px;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

.chat-input-field::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.chat-input-field:focus {
  border-color: rgba(218, 165, 32, 0.8);
}

.chat-send-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700, #b8860b);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: scale(1.05);
}

.chat-send-btn svg {
  width: 22px;
  height: 22px;
  fill: #1a1a1a;
  margin-left: 2px;
}

/* Mobile Adjustments for Chat */
@media (max-width: 900px) {
  .ai-bubble-split {
    flex-direction: column;
  }

  .ai-bubble-media {
    flex: 1;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .chat-glass-panel {
    height: calc(100vh - 180px);
    border-radius: 15px;
  }

  .chat-history {
    padding: 20px;
  }

  .chat-msg {
    max-width: 95%;
  }

  .chat-input-area {
    padding: 15px;
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
  }

  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .msg-bubble {
    padding: 13px 16px;
  }

  .ai-avatar {
    display: none;
  }
}

/* Policy Page Template Styles */
/* 1. Background Gradient Override */
.page-template-page-policy .bg-image {
  background-image: none !important;
  background: linear-gradient(180deg, #0d1b1e 0%, #050a0f 100%) !important;
}

.page-template-page-policy .bg-overlay {
  background: transparent; /* Rely on the new gradient */
}

/* 2. Policy Card Layout */
.premium-policy-layout {
  max-width: 1000px;
  margin: 40px auto 80px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(218, 165, 32, 0.5); /* Golden border */
  border-radius: 25px;
  padding: 60px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(218, 165, 32, 0.1);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  position: relative;
  z-index: 5;
}

.policy-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
  border-bottom: 2px solid rgba(218, 165, 32, 0.3);
  padding-bottom: 20px;
}

.policy-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 45px 0 20px;
  color: #fff;
  letter-spacing: 0.5px;
}

.policy-content h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 25px 0 15px;
  color: #fff;
}

.policy-content p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

.policy-content hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(218, 165, 32, 0.4) 50%, transparent 100%);
  margin: 40px 0;
}

.policy-content ul {
  list-style-type: none;
  margin-bottom: 25px;
  padding-left: 0;
}

.policy-content li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 25px;
  color: rgba(255, 255, 255, 0.85);
}

.policy-content li::before {
  content: "•";
  color: #dfc168;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Mobile Adjustments for Policy Page */
@media (max-width: 768px) {
  .premium-policy-layout {
    padding: 30px 20px;
    margin: 20px 10px;
    border-radius: 15px;
  }

  .policy-title {
    font-size: 28px;
  }

  .policy-content h2 {
    font-size: 20px;
    margin-top: 30px;
  }
}

/* 
 * -----------------------------------------------------------------------------
 * 12. LUXURY PAGE & BREADCRUMB STYLES
 * -----------------------------------------------------------------------------
 */

/* Breadcrumb Navigation */
.breadcrumb-nav {
  margin-bottom: 25px;
  padding: 0 5px;
}

.breadcrumbs-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.breadcrumb-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-link:hover {
  color: #dfc168;
}

.breadcrumb-sep {
  color: #dfc168;
  opacity: 0.7;
}

.breadcrumb-current {
  color: rgba(255, 255, 255, 0.9);
}

/* Page Article (Glass Card) */
.page-article {
  padding: 60px 80px;
  margin-bottom: 60px;
  box-shadow: 0 0 25px rgba(218, 165, 32, 0.15), inset 0 0 15px rgba(218, 165, 32, 0.1), 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.lhs-account-page .page-article {
  box-shadow: none;
}

.page-article .page-title-container {
  margin-bottom: 30px;
  text-align: left; /* Better for reading formal pages */
}

.page-article .page-title {
  font-size: 38px;
  letter-spacing: 0.05em;
  white-space: normal; /* Allow wrapping on long titles */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.entry-content p {
  margin-bottom: 25px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 45px 0 20px 0;
  color: #dfc168;
  font-weight: 600;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child {
  margin-top: 0;
}

/* Lists and Blockquotes */
.entry-content ul,
.entry-content ol {
  margin-bottom: 30px;
  padding-left: 20px;
}

.entry-content li {
  margin-bottom: 12px;
}

.entry-content blockquote {
  margin: 40px 0;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid #dfc168;
  font-style: italic;
  font-size: 19px;
  border-radius: 0 10px 10px 0;
}

/* Mobile Adjustments for General Pages */
@media (max-width: 992px) {
  .page-article {
    padding: 40px 30px;
  }
  
  .page-content-wrapper {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .page-article {
    padding: 30px 20px;
    margin-bottom: 40px;
  }
  
  .page-title {
    font-size: 8vw;
  }
  
  .breadcrumbs-container {
    font-size: 11px;
    gap: 8px;
  }
}

/* Images and Media inside content */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tables */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.entry-content th,
.entry-content td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

.entry-content th {
  background: rgba(218, 165, 32, 0.1);
  color: #dfc168;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}

/* checkout page */
.wc-blocks-components-select .wc-blocks-components-select__container {
  background-color: rgba(0, 0, 0, 0.5) !important;
  
}

.wc-blocks-components-select .wc-blocks-components-select__select {
  color: rgba(255, 255, 255, 0.9) !important;
}

.wc-block-components-address-form #email {
  padding-top: 24px !important;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form input {
  padding-top: 25px !important;
  font-size: 15px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option input {
  padding-top:0 !important;
}

.wc-block-components-form .wc-block-components-text-input input:-webkit-autofill+label, .wc-block-components-form .wc-block-components-text-input.is-active label, .wc-block-components-text-input input:-webkit-autofill+label, .wc-block-components-text-input.is-active label {
  transform: scale(0.78);
}

.wc-block-checkout__terms a {
  color: #00f;
}

.wc-block-checkout__actions button {
  background: linear-gradient(90deg, #b8860b 0%, #ffd700 50%, #b8860b 100%);
  color: #1a1a1a;
  padding: 12px 28px;
  border: none;
}
.wc-block-checkout__actions button:hover {
  transform: translateY(-2px);
}

.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-components-totals-wrapper
 {
  border-color: rgba(255, 255, 255, 0.2);
}

.wc-block-components-address-card address .wc-block-components-address-card__address-section--secondary {
  color: rgba(255, 255, 255, 0.85);
}

.wc-block-components-address-card {
  border-color: rgba(255, 255, 255, 0.2);;
}

/* order confirmation */

.woocommerce-order-details .woocommerce-table th {
  background-color: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.woocommerce-order-details .woocommerce-table td {
  font-size: 16px;
}
.woocommerce table.shop_table td a {
  color: #fff;
}

/* 
 * -----------------------------------------------------------------------------
 * 13. CONTACT PAGE & PREMIUM FORM STYLES
 * -----------------------------------------------------------------------------
 */

.premium-contact-layout {
  padding: 60px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

/* Info Side */
.contact-heading {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.contact-subheading {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-details-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-details-list li {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(218, 165, 32, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #dfc168;
  border: 1px solid rgba(218, 165, 32, 0.3);
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 22px;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-text span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-text strong {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 5px;
}

.social-links a {
  color: #dfc168;
  text-decoration: none;
  font-size: 18px;
  transition: opacity 0.3s, transform 0.3s;
  display: inline-flex;
}

.social-links a:hover {
  opacity: 1;
  color: #fff;
  transform: translateY(-2px);
}

/* Form Side */
.premium-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.form-group label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px 20px;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(218, 165, 32, 0.5);
  box-shadow: 0 0 15px rgba(218, 165, 32, 0.1);
}

.form-submit {
  margin-top: 30px;
}

.form-submit .btn-gold {
  min-width: 200px;
  height: 55px;
}

/* Contact Form 7 specific adjustments */
.wpcf7-spinner {
  margin-left: 15px;
}

.wpcf7-not-valid-tip {
  font-size: 13px;
  color: #ff4d4d;
  margin-top: 5px;
}

.wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 15px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .premium-contact-layout {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .premium-form-wrapper {
    padding: 30px 20px;
  }

  .contact-heading {
    font-size: 28px;
  }

  .premium-contact-layout {
    padding: 30px 20px;
  }
}