:root{--c:#1e3a8a;--a:#2563eb;--t:#111;--m:#666;--bg:#fff;--g:#f5f5f7}
/* brand palette */
:root{--green:#739C6F;--beige:#F5F5F2;--text:#707070;--white:#FFFFFF;--black:#222222;--e-global-color-primary:#59A52C}
*{box-sizing:border-box}
body{margin:0;font-family:"Open Sans",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Helvetica,Arial,sans-serif;color:#000000;background:#FFFFFF}
/* Secțiunile full-bleed folosesc 100vw, care include bara de scroll verticală și iese
   cu ~15px în afara paginii. 'clip' taie surplusul fără a crea un container de scroll,
   deci position:sticky și scroll-snap continuă să funcționeze (spre deosebire de 'hidden'). */
html,body{overflow-x:clip}
.section p,p{color:var(--text-color);font-size:var(--p-font-size);font-weight:500}
.hero-copy h1,h1{font-family:"Playfair Display", sans-serif;color:#000000}
.section-title,h2{font-family:"Playfair Display", Sans-serif;font-size:39px;font-weight:600;line-height:44px;color:#000000;min-width:100px;width:100%;box-sizing:content-box;margin:0 auto;margin-bottom:60px;text-align:center;display:flex;justify-content:center;flex-wrap:wrap;vertical-align:top}
#testimonials-title{flex-direction:column;flex-wrap:nowrap;max-width:1063px;text-align:center}
#tarife-title{flex-direction:column;flex-wrap:nowrap;width:100%;min-width:100px;margin-bottom:30px}
h3{font-family:"Playfair Display", Sans-serif;font-size:28px;font-weight:600;line-height:1.2em;color:#000000}
h3 a{color:#000000;text-decoration:none}
@media (hover: hover) and (pointer: fine) {
  h3 a:hover{color:var(--e-global-color-primary)}
}
.container{max-width:1360px;margin:0 auto;padding:0 1rem 1rem 1rem}
.site-header{background:var(--white);border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;padding:0 1rem;max-width:1360px;margin:0 auto;position:sticky;top:0;z-index:1000;transition:opacity 0.3s ease-in-out, transform 0.3s ease-in-out, top 0.3s ease-in-out, max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);border-radius:16px}

.site-header.sticky{top:20px;box-shadow:0px 0px 15px -2px rgba(0,0,0,0.15);-webkit-box-shadow:0px 0px 15px -2px rgba(0,0,0,0.15);-moz-box-shadow:0px 0px 15px -2px rgba(0,0,0,0.15);display:flex;justify-content:space-between;align-items:center;background:rgba(255,255,255,0.5);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.site-header.hidden{opacity:0;transform:translateY(-20px)}
.site-header.visible{opacity:1;transform:translateY(0)}
.brand{font-weight:700;color:var(--green);text-decoration:none;font-family:"Playfair Display",serif}

/* Header phone */
.header-phone {
  display: none;
}

.site-header.sticky .header-phone {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 50px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 22px;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .phone-link:hover {
    color: #74AB28;
    text-decoration: underline;
  }
}

.phone-link i {
  font-size: 20px;
}

/* Navigation */
.nav{display:flex;align-items:center;justify-content:flex-end}
.nav a{margin-right:1rem;color:var(--t);text-decoration:none;font-size:18px;font-weight:600}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover{color:var(--green)}
}

/* Hamburger menu */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Full-screen menu overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  width: 90%;
}

.menu-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
}

.menu-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.menu-column-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  text-align: left;
}

.full-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.full-nav a {
  color: white;
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: 600;
  font-family: "Playfair Display", serif;
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.menu-overlay.active .full-nav a {
  transform: translateY(0);
  opacity: 1;
}

.menu-overlay.active .full-nav a:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .full-nav a:nth-child(2) { transition-delay: 0.2s; }
.menu-overlay.active .full-nav a:nth-child(3) { transition-delay: 0.3s; }
.menu-overlay.active .full-nav a:nth-child(4) { transition-delay: 0.4s; }
.menu-overlay.active .full-nav a:nth-child(5) { transition-delay: 0.5s; }

@media (hover: hover) and (pointer: fine) {
  .full-nav a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
  }
}

.menu-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.menu-overlay.active .menu-info {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.6s;
}

.menu-admin-info {
  text-align: left;
  color: white;
}

.menu-admin-info h4 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.menu-admin-info .menu-name {
  color: #59A52C;
  font-size: 3.4rem;
  margin: 0.25rem 0;
  font-weight: 600;
  font-family: "Playfair Display", serif;
}

@media (hover: hover) and (pointer: fine) {
  .menu-admin-info .menu-name:hover {
    color: var(--primary-color);
    transition: color 0.3s ease;
  }
}

.menu-phone-link {
  color: #59A52C;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .menu-phone-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
  }
}

.menu-admin-info p {
  color: #ccc;
  font-size: 1rem;
  margin: 0.25rem 0;
  font-weight: 500;
}

.menu-social-media {
  display: flex;
  gap: 1rem;
}

.menu-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: white;
  color: black;
  text-decoration: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .menu-social-link:hover {
    background: #f0f0f0;
    color: black;
    transform: translateY(-2px);
  }
}
.hero h1{margin:0 0 .25rem;font-size:var(--h1-font-size);font-weight:500}
.hero .btn{display:inline-block;background:var(--green);color:#fff;padding:.5rem .75rem;border-radius:9999px;text-decoration:none}
.btn{display:inline-block;background:var(--a);color:#fff;padding:.4rem .7rem;border:0;border-radius:.25rem;text-decoration:none;cursor:pointer}
.btn-danger{background:#dc2626}
.btn-green{background-color:var(--e-global-color-primary);color:#ffffff;border-radius:50px;padding:14px 40px 14px 40px;border:0;display:inline-block;text-decoration:none;font-size:18px}
button.btn-green{margin-top:20px}
@media (hover: hover) and (pointer: fine) {
  .btn-green:hover{background-color:#74AB28}
}
.site-footer{background:var(--beige);border-top:1px solid #e5e7eb;margin-top:2rem;color:#333;padding:2rem 0}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: center;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-nav a:hover {
    color: var(--green);
  }
}

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

.admin-info h4 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.admin-info p {
  color: #666;
  font-size: 14px;
  margin: 0.25rem 0;
  font-weight: 500;
}

.social-media {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-block;
  padding: 8px 12px;
  background: var(--green);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .social-link:hover {
    background: #74AB28;
    transform: translateY(-2px);
  }
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover {
    color: var(--green);
  }
}

.copyright {
  color: #666;
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}
label{display:block;margin:.5rem 0 .25rem; margin-bottom:6px;font-weight:500}
input,textarea,select{width:100%;padding:18px 20px 18px 20px;border:1px solid #C9C9C9;border-radius:.25rem;font-size:16px;margin-bottom:6px;font-weight:500}
/* ensure selects are full width in all contexts */
.form select{width:100% !important}
table{width:100%;border-collapse:collapse}
th,td{padding:.5rem;border-bottom:1px solid #e5e7eb;text-align:left}
.error{color:#dc2626}
.fine-print{color:var(--m);font-size:var(--small-font-size);font-weight:500}
#consent{width:16px;margin-bottom:0;padding-bottom:0}
.posts{list-style:none;padding:0}
.posts li{margin:.75rem 0}

/* homepage hero */
.full-bleed{position:relative;left:50%;right:50%;margin-left:calc(-50vw + 50px);margin-right:calc(-50vw + 50px);width:calc(100vw - 100px);min-height:600px;border-radius:16px;background-image:url('/uploads/29835-1760438636888.jpg');background-size:cover;background-position:center;background-attachment:fixed;background-blend-mode:overlay;background-repeat:no-repeat}
.full-bleed::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(46deg, #eaf5df 20%, transparent 100%);border-radius:16px;z-index:1}
.full-bleed .hero-wrap{position:relative;z-index:2}
.hero-wrap{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:2rem;width:1360px;max-width:100%;margin:0 auto;padding:5rem 2rem;min-height:720px}
.hero-wrap.single{grid-template-columns:1fr}
.hero-copy h1{font-size:var(--h1-font-size);line-height:1.3;letter-spacing:-.02em}
.hero-copy .lead{font-size:1.2em;color:#222;max-width:60ch; line-height:1.6;margin-bottom:52px;font-weight:600}
.hero-copy .exp{font-weight:700}
/* pe mobil coloana de text se îngustează, ca să nu treacă peste persoana din poză */
@media (max-width: 768px){.hero-copy .lead{max-width:26ch}}
.btn-cta{background-color:var(--e-global-color-primary);font-size:18px;font-weight:600;fill:#FFFFFF;color:#FFFFFF;border-style:solid;border-width:1px;border-color:#59A52C;border-radius:100px;padding:14px 40px;transition:background-color .2s ease,border-color .2s ease}
@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover{background-color:#74AB28;border-color:#74AB28;color:#FFFFFF}
}
.hero .btn.btn-cta{background-color:var(--e-global-color-primary);color:#FFFFFF;border:1px solid #59A52C;border-radius:100px;padding:14px 40px;font-size:18px;font-weight:600}
.hero-media{position:relative}
.hero-media img{width:100%;height:auto;display:block;transform:rotate(-10deg);box-shadow:0 12px 40px rgba(0,0,0,.2);border-radius:4px}

/* layout utilities */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem 2rem}
@media (max-width: 900px){
  .site-header {
    grid-template-columns: 1fr auto;
  }
  
  .header-phone {
    display: none;
  }
  
  .grid-2{grid-template-columns:1fr}
}

/* cards layout */
.cards{display:grid;gap:1.25rem}
.cards-3{grid-template-columns:repeat(3,1fr)}
@media (max-width: 900px){
  .cards-3{grid-template-columns:1fr}
}

/* article card appearance */
.card.shadow{background:#e6f2e0;border-radius:20px }
.cards-3 .card.shadow{display:flex;flex-direction:column}
.cards-3 .card .card-title{margin-bottom:0;margin-top:0}
.card-body{display:flex;flex-direction:column;flex:1}
.card-body .btn-green{margin-top:auto;align-self:flex-start}

/* about clamp */
.about-content.clamp-10{display:-webkit-box;-webkit-line-clamp:10;line-clamp:10;-webkit-box-orient:vertical;overflow:hidden}
#aboutContent{line-height:28px}

/* forms */
.form{max-width:650px;margin:0 auto}

/* admin login */
.login-container {
  max-width: 500px;
  margin: 2rem auto;
  padding: 4rem;
  background: #f9f9f9;
  border-radius: 12px;
}

.login-container h1 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 2rem;
  color: #000000;
  font-size: 2.8em;
}

.login-container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-container .btn {
  align-self: center;
  padding: 12px 24px;
  font-size: 16px;
}

.login-actions {
  text-align: center;
  margin-top: 1.5rem;
}

.btn-reset {
  color: #666;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn-reset:hover {
    color: var(--green);
    text-decoration: underline;
  }
}

.success {
  color: #059669;
  background: #d1fae5;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  margin-top: 1rem;
}

.login-container input {
  border: none;
  background: #ffffff;
  border-radius: 8px;
}

.login-container label {
  margin-top: 0.5rem;
  margin-bottom: -7px;
}

/* 2FA Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #f9f9f9;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #000000;
  font-size: 1.5em;
}

.code-display {
  font-size: 2rem;
  font-weight: bold;
  color: var(--green);
  background: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  letter-spacing: 0.2em;
  font-family: 'Courier New', monospace;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn-secondary {
  background: #666;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    background: #555;
  }
}

@media (max-width: 900px){
  .hero-wrap{grid-template-columns:1fr;gap:1.5rem;padding:3rem 1rem}
  .hero-copy h1{font-size:var(--h1-font-size);}
  .hero-media img{transform:none}
  
  /* Service cards mobile - unul sub altul */
  .cards.cards-3 {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Service cards text font-weight */
  .service-cards .card-text {
    font-weight: 500;
  }
  
  /* Footer mobile */
  .footer-content {
    gap: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .social-media {
    justify-content: center;
  }
  
  /* Hamburger menu mobile */
  .menu-content {
    gap: 2rem;
  }
  
  .menu-columns {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .menu-column-title {
    font-size: 1.5rem;
  }
  
  .full-nav a {
    font-size: 2rem;
  }
  
  .menu-admin-info h4 {
    font-size: 1.5rem;
  }
  
  .menu-admin-info .menu-name {
    font-size: 2.8rem;
  }
  
  .menu-admin-info p {
    font-size: 1rem;
  }
  
  .menu-social-media {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .service-card {
    flex: none;
    margin-bottom: 1rem;
  }
}

.section.section-alt.booking-section {
  padding: 50px;
  overflow: hidden;
}

#programare-title {
  margin-top: 0;
}

.booking-section-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 80%) rotate(-5deg);
  font-size: 140px;
  font-weight: 900;
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
  pointer-events: none;
  text-align: center;
  line-height: 1.1;
  width: 95%;
  max-width: none;
  opacity: 0;
  transition: opacity 2.5s ease, transform 2.5s ease, filter 2.5s ease;
  filter: blur(2px);
}

.booking-section-text.show {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-5deg) scale(1);
  filter: blur(0px);
}

.booking-section-text.hide {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-5deg);
}

.booking-section-form {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.booking-section-form.show {
  opacity: 1;
  transform: translateY(0);
}

#type {
  background-color: #fff;
}

.booking-section label {
  margin-bottom: 0;
}

.booking-section input,
.booking-section select,
.booking-section textarea {
  border: 1px solid #fff;
}

.booking-section-title {
  opacity: 1;
  transform: translateY(0);
}

.service-cards {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-cards.show {
  opacity: 1;
  transform: translateY(0);
}

.about-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-section.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-copy.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-magnifier {
  position: fixed;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(89, 165, 44, 0.2) 100%);
  backdrop-filter: blur(5px);
  pointer-events: none;
  z-index: 1000;
  display: none;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.hero-magnifier.show {
  display: block;
}

.hero-magnifier-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  font-size: 40px;
  font-weight: 900;
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
  text-align: center;
  line-height: 1.1;
  opacity: 0.8;
  transition: font-size 0.3s ease, opacity 0.5s ease;
}

.hero-magnifier-text.fade-out {
  opacity: 0;
}

.hero-magnifier-text.small-text {
  font-size: 24px;
}

/* AI Chat Widget */
.chat-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(89, 165, 44, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

@media (hover: hover) and (pointer: fine) {
  .chat-toggle-btn:hover {
    background: #74AB28;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(89, 165, 44, 0.4);
  }
}

.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.chat-widget.active {
  display: flex;
  transform: translateY(0);
}

.chat-header {
  background: var(--primary-color);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
}

.chat-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .chat-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-message {
  display: flex;
  margin-bottom: 10px;
}

.user-message {
  justify-content: flex-end;
}

.bot-message {
  justify-content: flex-start;
}

.message-content {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
}

.user-message .message-content {
  background: var(--primary-color);
  color: white;
  border-bottom-right-radius: 5px;
}

.bot-message .message-content {
  background: #f0f0f0;
  color: #333;
  border-bottom-left-radius: 5px;
}

.chat-input-container {
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 10px;
}

.chat-input-container input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.chat-input-container input:focus {
  border-color: var(--primary-color);
}

.chat-input-container button {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .chat-input-container button:hover {
    background: #74AB28;
    transform: scale(1.05);
  }
}

/* Voice button styles */
.voice-btn {
  background: #ff6b6b !important;
}

@media (hover: hover) and (pointer: fine) {
  .voice-btn:hover {
    background: #ff5252 !important;
  }
}

.voice-btn.recording {
  background: #f44336 !important;
  animation: pulse 1s infinite;
}

/* Auto voice button styles */
.auto-voice-btn {
  background: #9c27b0 !important;
}

@media (hover: hover) and (pointer: fine) {
  .auto-voice-btn:hover {
    background: #8e24aa !important;
  }
}

.auto-voice-btn.active {
  background: #7b1fa2 !important;
  animation: pulse 1s infinite;
}

/* Inactive button styles */
.chat-input-container button.inactive {
  opacity: 0.3 !important;
  cursor: not-allowed;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .chat-input-container button.inactive:hover {
    transform: none !important;
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Speak button for messages */
.speak-btn {
  background: #4CAF50;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  font-size: 12px;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .speak-btn:hover {
    background: #45a049;
    transform: scale(1.1);
  }
}

.speak-btn.speaking {
  background: #ff9800;
  animation: pulse 1s infinite;
}

/* Browser warning styles */
.browser-warning {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 8px 12px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  margin-top: 8px;
}

.browser-warning i {
  color: #f39c12;
}

/* Responsive for chat */
@media (max-width: 480px) {
  .chat-widget {
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    bottom: 20px;
    right: 20px;
  }
  
  .chat-toggle-btn {
    bottom: 20px;
    right: 20px;
  }
}

/* Dynamic Form Layout */
.dynamic-form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0; /* Prevents flex items from overflowing */
}

.form-field-half {
  flex: 0 0 calc(50% - 8px);
}

.form-field-full {
  flex: 0 0 100%;
}

/* Ensure textarea fields always take full width */
.form-field-half textarea {
  flex: 0 0 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .site-header {
    margin: 15px;
  }
  .form-field-half {
    flex: 0 0 100%;
  }
  
  .dynamic-form-grid {
    flex-direction: column;
  }
}

/* Form styling improvements */
.form-field-container label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0;
}

.form-field-container input,
.form-field-container select,
.form-field-container textarea {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-field-container input:focus,
.form-field-container select:focus,
.form-field-container textarea:focus {
  outline: none;
  border-color: var(--e-global-color-primary);
  box-shadow: 0 0 0 3px rgba(89, 165, 44, 0.1);
}

.form-field-container textarea {
  resize: vertical;
  min-height: 100px;
}

/* Phone field with prefix */
.phone-field-container {
  position: relative;
  display: flex;
  align-items: center;
}

.phone-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-weight: 500;
  pointer-events: none;
  z-index: 10;
  font-size: 0.9rem;
}

.phone-field-container input[type="tel"] {
  padding-left: 50px;
  flex: 1;
}

/* Country selector */
.country-selector {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: white;
  border: 1px solid #d1d5db;
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  max-width: 65px;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 44px;
  line-height: 1.2;
  margin-top: -4px;
  margin-bottom: 0px;
}

.country-selector:hover {
  border-color: var(--e-global-color-primary);
  background-color: #f9fafb;
}

.country-selector:focus {
  outline: none;
  border-color: var(--e-global-color-primary);
  box-shadow: 0 0 0 3px rgba(89, 165, 44, 0.1);
  background-color: white;
}

.phone-field-container.with-country-selector {
  display: flex;
  align-items: stretch;
}

.phone-field-container.with-country-selector input[type="tel"] {
  padding-left: 75px;
  flex: 1;
  z-index: 0;
}

/* Responsive phone prefix */
@media (max-width: 768px) {
  .phone-prefix {
    font-size: 0.8rem;
  }
  
  .phone-field-container input[type="tel"] {
    padding-left: 45px;
  }
  
  .phone-field-container.with-country-selector input[type="tel"] {
    padding-left: 70px;
  }
  
  .country-selector {
    font-size: 0.75rem;
    max-width: 60px;
    padding: 6px 6px;
  }
}

/* Mood Theme Support - Doar butoane */
:root {
  --mood-theme-color: #59A52C; /* Default green */
  --mood-theme-light: #f0f9ff; /* Light variant */
  --mood-theme-dark: #0c4a6e; /* Dark variant */
}

/* Aplicare mood theme doar la butoane când mood theme este activ */
.mood-theme-active {
  /* Butoane */
  .btn,
  .btn-cta,
  .btn-green,
  .hero .btn,
  .book-button,
  button:not(.mood-close-btn):not(.mood-back-btn):not(.hamburger):not(.mood-reset-btn) {
    background-color: var(--mood-theme-color) !important;
    border-color: var(--mood-theme-color) !important;
    color: #1e293b !important;
    transition: all 0.3s ease !important;
  }

  .btn:hover,
  .btn-cta:hover,
  .btn-green:hover,
  .hero .btn:hover,
  button:not(.mood-close-btn):not(.mood-back-btn):not(.hamburger):not(.mood-reset-btn):hover {
    background-color: var(--mood-theme-dark) !important;
    border-color: var(--mood-theme-dark) !important;
    color: #ffffff !important;
    filter: brightness(0.9) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  }

  /* Link-uri care arată ca butoane */
  a.btn,
  a.btn-cta,
  a.btn-green,
  a.book-button {
    background-color: var(--mood-theme-color) !important;
    border-color: var(--mood-theme-color) !important;
    color: #1e293b !important;
  }

  a.btn:hover,
  a.btn-cta:hover,
  a.btn-green:hover {
    background-color: var(--mood-theme-dark) !important;
    border-color: var(--mood-theme-dark) !important;
    color: #ffffff !important;
    filter: brightness(0.9) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  }
}

/* AI Correction Button Styles */
.content-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.btn-ai {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-ai:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-ai:active {
  transform: translateY(0);
}

.btn-ai:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-ai i {
  font-size: 16px;
}

.ai-status {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  min-width: 120px;
}

.ai-status.processing {
  color: #667eea;
}

.ai-status.success {
  color: #059669;
}

.ai-status.error {
  color: #dc2626;
}

@keyframes ai-pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.btn-ai.processing {
  animation: ai-pulse 1.5s infinite;
}



