@import url("https://fonts.googleapis.com/css?family=Arvo:700|Open+Sans");
html {
  overflow-x: hidden;
}

body {
  background: #f9f9f9;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: subpixel-antialiased;
  color: #abacae;
  line-height: 25px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow-x: hidden;
}

h1, h2 {
  font-size: 38px;
  color: #A18CD1;
  font-weight: 700;
  font-family: 'Helvetica', 'Arial', sans-serif;

}

h3, h4 {

  font-size: 18px;
  color: #222222;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;

}


a {
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

a:hover {
  text-decoration: none;
}

a a:focus {
  outline: none;
}

p {
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  margin: 0px;
  font-size: 14px;
}

ul, ol {
  list-style: outside none none;
  margin: 0;
  padding-left: 1.5rem; /* gives room for bullets */
}

ul li, ol li {
  list-style: disc;
}

a:not([href]):not([tabindex]) {
  color: #222222;
}

/* for topnav */
@media (max-width: 768px) {
  .navbar-nav .collapse ul {
    margin-top: 0.5rem;
  }
  .navbar-nav .collapse .nav-link {
    padding-left: 1.5rem;
  }
}


.section-header {
  margin-bottom: 30px;
}

.section-header p {
  text: center;
  font-weight: 400;
  line-height: 26px;
}

.section-title {
  font-size: 30px;
  color: #222222;
  display: inline-block;
  font-weight: 700;
  position: relative;
}

.shape {
  height: 1px;
  margin: 0 auto 30px;
  position: relative;
  width: 60px;
  background-color: #A18CD1;
}

.padding-none {
  padding: 0px;
}

.bg-gray {
  background: #f9f9f9;
}

.bg-white {
  background: #ffffff;
}


.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: rgba(61, 96, 244, 0.3);
}

.btn {
  font-size: 14px;
  padding: 10px 30px;
  cursor: pointer;
  font-weight: 400;
  color: #fff;
  border-radius: 30px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  display: inline-block;
}

.btn-success {
background-color: transparent;
border-color: #198754;
color: #198754;
}



.btn-danger {
background-color: transparent;
border-color: #dc3545;
color: #dc3545;
}

.btn-link {
color: #a18cd1;
text-decoration: none;
padding: 4px 12px;

}

.btn-link:hover {
color: #c0afea;
/* background-color: #f3f3f3; */
}

.btn-group {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .btn-group{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    /* border-radius: 0px !important; */
  }

  .btn-group .btn {
    width: 100%;
    text-align: left;
    border-radius: 30px !important;
    /* border-radius: 30px; */
  }
}


.btn-group .btn {
  color: #A18CD1;
}

.btn-group .btn:hover {
  color: #ffffff;
}


.btn:focus,
.btn:active {
  box-shadow: none;
  outline: none;
  color: #fff;
}

.btn-common {
  background-color: #A18CD1;
  position: relative;
  z-index: 1;
  /* text-transform: uppercase; */
}

.btn-common:hover {
  color: #fff;
  background: #c0afea;
  border: 1px dotted #c0afea;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
  transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -webkit-transition: all .2s ease-in-out;
}

.btn-outline-light {
  color: #A18CD1;
}

.btn-outline-light:hover {
  color: #A18CD1;
  background-color: #f1f1f1;
}


.btn-border {
  color: #A18CD1;
  background-color: transparent;
  border: 1px solid #A18CD1;
  border-radius: 30px;
  /* text-transform: uppercase; */
}

.btn-border:hover {
  color: #fff;
  border-color: #c0afea;
  background-color: #c0afea;
}

.btn-border:focus {
  color: #fff;
  border-color: #A18CD1;
  background-color: #A18CD1;
}

.btn-link.disabled, .btn-link:disabled {
  pointer-events: none;
  color: #6c757d !important; /* Bootstrap disabled text color */
  opacity: 0.65 !important;
  text-decoration: none;
  cursor: default;
}


.icon-button {
 color: #9c9c9c;
 border-radius: 30px;
 width: 40px;
 height: 40px;
 display: block;
 text-align: center;
 border: 0;
 background-color: transparent;
}

.icon-button:hover {
  background-color: #A18CD1;
  color: #ffffff;
}

.icon-button.danger {
 color: #9c9c9c;
 border-radius: 30px;
 width: 40px;
 height: 40px;
 display: block;
 text-align: center;
 border: 0;
 background-color: transparent;
}

.icon-button.danger:hover {
  background-color: #ff2f2f;
  color: #ffffff;
}


.btn-lg {
  padding: 14px 33px;
  /* text-transform: uppercase; */
  font-size: 16px;
}

.btn-rm {
  padding: 7px 0px;
  color: #A18CD1;
  text-transform: capitalize;
}

.btn-rm:hover {
  color: #A18CD1;
}

button:focus {
  outline: none !important;
}


.reset-btn:hover {
  color: rgb(249, 93, 93) !important;
}

.icon-close, .icon-check {
  color: #A18CD1;
}


.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #a6a6a6; /* Light gray for guest */
  color: white;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}

.social-icon a {
  color: #666;
  background: #fff;
  width: 32px;
  height: 32px;
  line-height: 34px;
  display: inline-block;
  text-align: center;
  border-radius: 100%;
  font-size: 16px;
  margin: 15px 6px 12px 4px;
  transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
}

.social-icon a:hover {
  color: #fff !important;
}

.social-icon .facebook:hover {
  background: #3b5999;
}

.social-icon .twitter:hover {
  background: #4A9CEC;
}

.social-icon .instagram:hover {
  background: #D6274D;
}

.social-icon .linkedin:hover {
  background: #1260A2;
}

.social-icon .google:hover {
  background: #CE332A;
}

/* ScrollToTop */
a.back-to-top {
  display: none;
  position: fixed;
  bottom: 18px;
  right: 15px;
  text-decoration: none;
}

a.back-to-top i {
  display: block;
  font-size: 22px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  color: #fff;
  background: #A18CD1;
  border-radius: 30px;
  text-align: center;
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
}

a.back-to-top:hover, a.back-to-top:focus {
  text-decoration: none;
}

/* Modal container covers full viewport with dark overlay */
#resultsModal {
  display: none; /* Hide by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modal content box centered */
#resultsModal .modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 80%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin: 0; /* override any margin like 10% auto */
}

/* Close button on top-right inside modal */
#resultsModal #closeModal {
  position: absolute;
  top: 6px;
  right: 12px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  line-height: 1;
}

/* Optional: hover effect for close button */
#resultsModal #closeModal:hover {
  color: #000;
}

/* Scale for results */
.result-scale-container {
  position: relative;
  margin: 3px 0 20px;
}

.result-scale {
  display: flex;
  justify-content: space-between;
  text-align: center;
  font-size: 13px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #0000002b;
}

.scale-segment {
  flex: 1;
  padding: 10px 5px;
  color: #696969;
  font-weight: 500;
}

.scale-segment.none { 
  background-color: #A8DADC ; }   

.scale-segment.mild { 
  background-color: #CDE7B0  ; }     
 
.scale-segment.mild-attention{ 
  background-color: #FFF3B0  ; } 

.scale-segment.phq9-moderate{ 
  background-color: #FFF3B0  ; } 

.scale-segment.dass21-moderate{ 
  background-color: #FFF3B0  ; } 

.scale-segment.moderate  { 
  background-color: #FFD6A5  ; }  

.scale-segment.phq9-moderatelysevere { 
  background-color: #FFD6A5  ; }  

.scale-segment.dass21-severe { 
  background-color: #FFD6A5  ; }  

.scale-segment.severe { 
  background-color: #FFADAD ; }

.scale-segment.phq9-extremelysevere{ 
  background-color: #FFADAD ; }

.scale-segment.dass21-extremelysevere{ 
  background-color: #FFADAD ; }

.scale-pointer {
  position: absolute;
  top: 100%;
  font-size: 13px;
  transform: translateX(-50%);
  margin-top: 5px;
  font-weight: bold;
  color: #abacae;
  white-space: nowrap;
  transition: left 0.3s ease;
} 


/* Beachwalk */
  .video-embed-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    border-radius: 12px;
    background: black;
  }

  .video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
  }

  .video-bg.visible {
    opacity: 1;
  }

  .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

  .start-screen {
    position: absolute;
    z-index: 2;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .start-button {
    margin-top: 20px;
    background: white;
    color: black;
    font-size: 1.2em;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .breathing-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
  }

  .breathing-text {
    font-size: 1.2em;
    color: white;
    text-shadow: 1px 1px 4px #000;
    margin-bottom: 12px;
  }

  .circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: none;
  }

  @keyframes pulse-in {
    from { transform: scale(1); }
    to   { transform: scale(1.4); }
  }

  @keyframes pulse-out {
    from { transform: scale(1.4); }
    to   { transform: scale(1); }
  }

  #fullscreenBtn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    z-index: 3;
    display: none;
  }


/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 9999999;
}

.loader {
  top: 50%;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  position: relative;
  margin: 0 auto;
}

#loader-1:before, #loader-1:after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border: 7px solid transparent;
  border-top-color: #A18CD1;
}

#loader-1:before {
  z-index: 100;
  animation: spin 1s infinite;
}

#loader-1:after {
  border: 7px solid #f2f2f2;
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.section-padding {
  padding: 60px 0;
}

hr {
  border-top: 1px dotted #ddd;
}

/* ==========================================================================
  Features Section Style
   ========================================================================== */
#features {
  background: #fff;
}

#features .icon {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 4px;
  text-align: center;
  position: relative;
  z-index: 1;
}

#features .content-left span {
  float: right;
}

#features .content-left .text {
  text-align: right;
}

#features .content-right span {
  float: left;
}

#features .box-item {
  box-shadow: 0 0 12px #F4F4F4;
  padding: 15px;
  line-height: 22px;
  margin-top: 30px;
  border-radius: 3px;
  background-color: #fff;
  -webkit-transition: all .3s ease-in-out;
  -mox-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  position: relative;
  top: 0;
  
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

#features .box-item .icon {
  text-align: center;
  margin: 12px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;

  
}

/* flip direction depending on side */
#features .box-item.left {
  flex-direction: row;         /* text first, icon after */
  text-align: right;
}

#features .box-item.right {
  /* flex-direction: row-reverse; icon first, text after */
  text-align: left;
}

#features .box-item .icon i {
  color: #A18CD1;
  font-size: 30px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

#features .box-item .text h4 {
  cursor: pointer;
  font-size: 18px;
  color: #a18cd1;
  font-weight: 500;
  line-height: 22px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

#features .box-item .text p {
  font-size: 14px;
  line-height: 26px;
}

#features .box-item:hover {
  box-shadow: 0 10px 22px 10px rgba(27, 38, 49, 0.1);
}

#features .box-item:hover h4 {
  color: #A18CD1;
}

#features .show-box {
  margin-top: 50px;
}

#features .show-box img {
  width: 100%;
}

/* Services Item */
.services-item {
  padding: 20px;
  border-radius: 4px;
  text-align: center;
  margin: 15px 0;
  box-shadow: 0 0 12px #dadada;
  transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
}

.services-item .icon {
  border: 1px solid #f1f1f1;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto;
  transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
}

.services-item .icon i {
  font-size: 30px;
  color: #A18CD1;
  line-height: 70px;
  transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
}

.services-item .services-content h3 {
  margin-top: 10px;
  font-weight: 500;
  /* text-transform: uppercase; */
  margin-bottom: 10px;
}

.services-item .services-content h3 a {
  font-size: 16px;
  color: #585b60;
}

.services-item .services-content h3 a:hover {
  color: #A18CD1;
}

.services-item:hover {
  box-shadow: 0 10px 22px 10px rgba(27, 38, 49, 0.1);
}

.services-item:hover .icon {
  background: #A18CD1;
}

.services-item:hover .icon i {
  color: #fff;
}

#service {
  position: relative;
}

.about-area .about-wrapper {
  height: 100%;
  width: 100%;
  display: table;
}

.about-area .about-wrapper > div {
  vertical-align: middle;
  display: table-cell;
}

.about-area img {
  border-radius: 4px;
}

.about-area .content {
  margin-top: 15px;
}

.about-area .content p {
  margin-bottom: 30px;
}

#cta {
  padding: 30px 0;
}

.navbar-brand {
  position: relative;
  padding: 0px;
}

.top-nav-collapse {
  background: #fff;
  z-index: 999999;
  padding: 5px !important;
  top: 0px !important;
  box-shadow: 0px 3px 6px 3px rgba(0, 0, 0, 0.06);
  background: #fff !important;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}

.top-nav-collapse .navbar-brand {
  top: 0px;
}

.top-nav-collapse .navbar-brand img {
  width: 120px;
}

.top-nav-collapse .navbar-nav .nav-link {
  color: #585b60 !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.top-nav-collapse .navbar-nav .nav-link:hover {
  cursor: pointer;
  color: #A18CD1 !important;
  border-color: #A18CD1 !important;
}

.top-nav-collapse .navbar-nav .nav-link:hover {
  color: #A18CD1 !important;
}

.navbar-expand-md .navbar-toggler {
  background: transparent;
  border: 1px solid #A18CD1;
  color: #A18CD1;
  border-radius: 4px;
  cursor: pointer;
}

.navbar-brand img {
  width: 120px;
}

.top-nav-collapse .navbar-nav li.active a.nav-link {
  color: #A18CD1 !important;
  border-color: #A18CD1;
}

.indigo {
  background: transparent;
}

.menu-bg {
  background: transparent;
}

.navbar-expand-md .navbar-nav .nav-link i {
  font-size: 14px;
  margin-left: 5px;
  vertical-align: middle;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.navbar-expand-md .navbar-nav .nav-item {
  padding-left: 25px;
}

.navbar-expand-md .navbar-nav .nav-link {
  /* color: #c3c3c3; */
  color: #585b60;
  font-weight: 400;
  padding: 7px 0;
  cursor: pointer;
  position: relative;
  background: transparent;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.navbar-expand-md .navbar-nav .nav-link:before {
  background-color: #A18CD1;
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  margin: 0 auto;
  width: 0;
  top: 35px;
  left: 0;
  right: 0;
  bottom: 0;
  transition: width 1s;
  -ms-transition: width 1s;
  -webkit-transition: width 1s;
}

.navbar-expand-md .navbar-nav li a:hover,
.navbar-expand-md .navbar-nav li .active > a,
.navbar-expand-md .navbar-nav li a:focus {
  color: #A18CD1;
  outline: none;
}


.navbar-expand-md .navbar-nav .active > .nav-link,
.navbar-expand-md .navbar-nav .nav-link.active,
.navbar-expand-md .navbar-nav .nav-link.open,
.navbar-expand-md .navbar-nav .open > .nav-link {
  color: #A18CD1 !important;
  width: 100%;
}

.navbar-expand-md .navbar-nav .nav-link:hover,
.navbar-expand-md .navbar-nav .nav-link:hover::before,
.navbar-expand-md .navbar-nav .nav-link:focus {
  color: #A18CD1;
  width: 100%;
  transition: width 1s;
  -webkit-transition: width 1s;
  -ms-transition: width 1s;
}

.navbar {
  padding: 10px 0;
}

.navbar li {
  list-style: none;
}

.navbar li.active a.nav-link {
  color: #A18CD1;
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-menu {
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  z-index: 99;
  min-width: 210px;
  background-color: #fff;
  white-space: nowrap;
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  animation: fadeIn 0.4s;
  -webkit-animation: fadeIn 0.4s;
  -moz-animation: fadeIn 0.4s;
  -o-animation: fadeIn 0.4s;
  -ms-animation: fadeIn 0.4s;
}

.dropdown-menu:before {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: 100%;
  left: 20%;
  margin-left: -5px;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  border-bottom: 10px solid #fff;
}

.dropdown:hover .dropdown-menu {
  display: block;
  position: absolute;
  text-align: left;
  top: 100%;
  border: none;
  animation: fadeIn 0.4s;
  -webkit-animation: fadeIn 0.4s;
  -moz-animation: fadeIn 0.4s;
  -o-animation: fadeIn 0.4s;
  -ms-animation: fadeIn 0.4s;
}

.dropdown .dropdown-menu .dropdown-item {
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f1f1f1;
  text-decoration: none;
  display: inline-block;
  float: left;
  clear: both;
  position: relative;
  outline: 0;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}

.dropdown .dropdown-menu .dropdown-item:last-child {
  border-bottom: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.dropdown .dropdown-menu .dropdown-item:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.dropdown .dropdown-item:focus,
.dropdown .dropdown-item:hover,
.dropdown .dropdown-item.active {
  color: #A18CD1;
  background: #f7f7f7;
}

.dropdown-item.active, .dropdown-item:active {
  background: transparent;
}

.fadeInUpMenu {
  -webkit-animation-name: fadeInUpMenu;
  animation-name: fadeInUpMenu;
}

/* ==========================================================================
3. Hero Area
========================================================================== */
#hero-area {
  /* background-image: url(../img/hero-area_1.jpg); */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /* min-height: 650px; */
  height: auto;
  position: relative;
  overflow: hidden;
  padding: 180px 0 0 0;
}

/* #hero-area .contents .head-title {
  color: #222222;
  font-size: 42px;
  font-weight: 700;
  line-height: 60px;
  margin-bottom: 10px;
} */

#hero-area .contents .head-title {
  color: #222222;
  font-size: 42px;
  font-weight: 700;
  line-height: 60px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  #hero-area .contents .head-title {
    font-size: 32px;
    line-height: 40px;
  }
}

@media (max-width: 480px) {
  #hero-area .contents .head-title {
    font-size: 24px;
    line-height: 32px;
  }
}

/* default desktop style */
.andang-title {
  color: #A18CD1 !important;
  font-size: 100px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

/* tablet and smaller */
@media (max-width: 768px) {
  .andang-title {
    font-size: 80px !important;
  }
}

/* phones */
@media (max-width: 480px) {
  .andang-title {
    font-size: 60px !important;
  }
}


#hero-area .contents .header-button {
  margin-top: 20px;
  color: #222222;
}

#hero-area .contents .header-button .btn {
  margin-right: 10px;
}

.sloder-img {
  background: #34363a;
}

/* Team Item */
.team-item:hover {
  box-shadow: 0 10px 22px 10px rgba(27, 38, 49, 0.1);
}

.team-item {
  margin: 15px 0;
  border-radius: 0px;
  box-shadow: 0px 2px 18px 0px rgba(198, 198, 198, 0.3);
  transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  background: #fff;
}

.team-item .team-img {
  float: left;
  width: 200px;
  margin-right: 30px;
}

.team-item .contetn {
  padding: 15px 50px;
  height: 200px;
}

.team-item .social-icons {
  padding-top: 11px;
  transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
}

.team-item .social-icons li {
  display: inline-block;
  margin-right: 10px;
}

.team-item .social-icons li a {
  letter-spacing: 0px;
  outline: 0 !important;
}

.team-item .social-icons li a i {
  font-size: 18px;
  display: block;
  transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
}

.team-item .social-icons li .lni-facebook-filled {
  color: #3b5998;
}

.team-item .social-icons li .lni-twitter-filled {
  color: #00aced;
}

.team-item .social-icons li .lni-instagram-filled {
  color: #fb3958;
}

.team-item .info-text {
  margin-bottom: 10px;
}

.team-item .info-text h3 {
  font-size: 16px;
  /* text-transform: uppercase; */
  font-weight: 500;
  margin-bottom: 5px;
}

.team-item .info-text h3 a {
  color: #333;
}

.team-item .info-text h3 a:hover {
  color: #A18CD1;
}

.team-item .info-text p {
  margin: 0;
  color: #888;
}

.team-item:hover .team-overlay {
  opacity: 1;
}

/* ==========================================================================
   Pricing Table Style
   ========================================================================== */
#pricing {
  text-align: center;
}

#pricing .title {
  padding-top: 20px;
}

#pricing .title h3 {
  /* text-transform: uppercase; */
  color: #333;
  font-size: 18px;
}

#pricing .title .month-plan {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

#pricing .table {
  margin-top: 15px;
  padding: 30px;
  border-radius: 4px;
  border: none !important;
  box-shadow: 0px 2px 18px 0px rgba(198, 198, 198, 0.3);
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -ms-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
}

#pricing .table .icon-box {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  background-color: #EBEDEF;
  margin-bottom: 20px;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -ms-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
}

#pricing .table .icon-box i {
  color: #A18CD1;
  line-height: 80px;
  font-size: 30px;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -ms-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
}

#pricing .table .pricing-header {
  position: relative;
  text-align: center;
}

#pricing .table .pricing-header .price-value {
  font-size: 24px;
  color: #A18CD1;
  position: relative;
  text-align: center;
  font-weight: 700;
}

#pricing .table .pricing-header .price-value sup {
  font-size: 16px;
  font-weight: 500;
  top: -18px;
}

#pricing .table .pricing-header .price-value span {
  font-size: 15px;
  color: #abacae;
  font-weight: 400;
}

#pricing .table .description {
  text-align: center;
  padding: 0px 50px;
  margin-bottom: 20px;
}

#pricing .table .description li {
  font-size: 14px;
  font-weight: 400;
  color: #abacae;
  padding: 4px 0;
}

#pricing .table .description li:last-child {
  border-bottom: none;
}

#pricing .table:hover {
  background: #ffffff;
  box-shadow: 0 10px 22px 10px rgba(27, 38, 49, 0.1);
}

#pricing .table:hover .icon-box {
  background: #A18CD1;
}

#pricing .table:hover .icon-box i {
  color: #fff;
}

#pricing #active-tb {
  background: #ffffff;
  box-shadow: 0 10px 22px 10px rgba(27, 38, 49, 0.1);
}

#pricing #active-tb .icon-box {
  background: #A18CD1;
}

#pricing #active-tb .icon-box i {
  color: #fff;
}

#pricing .active {
  z-index: 99999;
}

.testimonial {
  position: relative;
  background-color: #A18CD1;
}

.testimonial-item {
  background: #fff;
  border-radius: 4px;
  text-align: center;
  padding: 30px 20px;
}

.testimonial-item .img-thumb {
  position: relative;
  margin: 15px 15px 15px 0;
}

.testimonial-item .img-thumb img {
  border-radius: 50%;
  display: inline-block;
  width: inherit;
  padding: 7px;
}

.testimonial-item .content {
  overflow: hidden;
}

.testimonial-item .content .description {
  width: 100%;
  color: #333;
}

.testimonial-item .content .star-icon i {
  color: #A18CD1;
}

.testimonial-item .info h2 {
  font-size: 16px;
  font-weight: 700;
  /* text-transform: uppercase; */
  line-height: 30px;
  margin: 0;
}

.testimonial-item .info h2 a {
  color: #333;
}

.testimonial-item .info h3 {
  margin: 0;
  clear: both;
  font-size: 14px;
  font-weight: 500;
  line-height: 26px;
  margin-bottom: 10px;
}

.testimonial-item .info h3 a {
  color: #333;
}

.testimonial-item .info .indicator {
  font-size: 26px;
  font-weight: 700;
  color: #A18CD1;
}

.testimonial-item .icon-social {
  margin-top: 30px;
}

.testimonial-item .icon-social a {
  color: #666;
  background: #fff;
  width: 32px;
  height: 32px;
  line-height: 34px;
  display: inline-block;
  text-align: center;
  border-radius: 100%;
  font-size: 15px;
  margin: 15px 6px 12px 4px;
  transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
}

.testimonial-item .icon-social a:hover {
  color: #fff;
}

.testimonial-item .icon-social .facebook:hover {
  background: #3b5999;
}

.testimonial-item .icon-social .twitter:hover {
  background: #4A9CEC;
}

.testimonial-item .icon-social .instagram:hover {
  background: #D6274D;
}

.testimonial-item .icon-social .linkedin:hover {
  background: #1260A2;
}

.testimonial-item .icon-social .google:hover {
  background: #CE332A;
}

.owl-pagination {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -40px;
}

.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}

.owl-carousel button.owl-dot {
  display: inline-block;
  zoom: 1;
  display: inline;
  text-align: center;
}

.owl-carousel button.owl-dot span {
  display: block;
  width: 12px;
  height: 12px;
  margin: 2px 4px;
  filter: alpha(opacity=50);
  opacity: 1;
  border-radius: 30px;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

.owl-carousel button.owl-dot.active span, .owl-carousel button.owl-dot.clickable, .owl-carousel button.owl-dot:hover span {
  background: #A18CD1;
}

.slick-slider {
  padding: 80px 0;
}

.slider-center img {
  opacity: 0.7;
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  padding: 63px 63px;
  position: relative;
  text-align: center;
}

.slider-center .slick-center img {
  -moz-transform: scale(1.9);
  -ms-transform: scale(1.9);
  -o-transform: scale(1.9);
  -webkit-transform: scale(1.9);
  opacity: 1;
  transform: scale(1.9);
}

.form-control {
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
  border-radius: 4px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  padding: 10px;
  border: 1px solid #f1f1f1;
}

.form-control:focus {
  border-color: #A18CD1;
  box-shadow: none;
  outline: none;
}

textarea {
  border-radius: 4px !important;
}

.form-control:focus {
  box-shadow: none;
  outline: none;
}

.btn.disabled, .btn:disabled {
  opacity: 1;
}

.contact-form-area h2 {
  font-size: 18px;
  /* text-transform: uppercase; */
}

.contact-right-area {
  margin-left: 50px;
}

.contact-right-area .contact-title {
  margin-bottom: 20px;
}

.contact-right-area .contact-title h1 {
  font-size: 22px;
}

.contact-right {
  padding: 4px;
}

.contact-right .single-contact {
  margin: 30px 0px;
  padding: 3px 55px;
  position: relative;
  color: #abacae;
}

.contact-right .single-contact p {
  margin-bottom: 0px;
}

.contact-right .single-contact p a {
  color: #abacae;
}

.contact-right .contact-icon {
  background: #A18CD1;
  color: #fff;
  border-radius: 4px;
  font-size: 20px;
  height: 40px;
  left: 0;
  padding-top: 8px;
  position: absolute;
  text-align: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 40px;
}

.h3 {
  float: right;
  font-size: 16px;
}


/* Footer Area Start */
.footer-area {
  position: relative;
  padding: 150px 0px 0px;
  background: #fff;
}

.footer-area .footer-titel {
  font-size: 18px;
  color: #333333;
  font-weight: 500;
  padding-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-area .footer-titel span {
  color: #ccc;
  font-weight: 400;
}

.footer-area .textwidget p {
  color: #333;
}

.footer-area .footer-link li {
  margin-bottom: 10px;
}

.footer-area .footer-link li a {
  color: #333;
  font-size: 14px;
  font-weight: 400;
  position: relative;
}

.footer-area .footer-link li a:hover {
  color: #A18CD1;
}

.footer-area .address li {
  margin-bottom: 20px;
}

.footer-area .address li a {
  color: #666666;
  font-size: 14px;
  line-height: 30px;
  font-weight: 400;
}

.footer-area .address li a i {
  font-size: 22px;
  width: 32px;
  vertical-align: middle;
  height: 36px;
  text-align: center;
  display: inline-block;
  float: left;
  margin-right: 5px;
  line-height: 32px;
}

.footer-area #subscribe-form {
  margin-top: 10px;
}

.footer-area #subscribe-form .form-group {
  position: relative;
}

.footer-area #subscribe-form .form-group .btn-common {
  position: absolute;
  top: 0;
  right: 0;
  padding: 7px 15px;
  height: 52px;
  border-radius: 0;
  background: transparent;
  color: #A18CD1;
}

#copyright .copyright-content {
  border-top: 1px solid #d5d4e9;
  padding: 15px 0;
  margin: 45px 0 0px;
}

#copyright p {
  line-height: 42px;
  color: #333;
  text-align: center;
  margin: 0;
}

#copyright p a {
  color: #A18CD1;
}

.social-icon a {
  color: #272727;
  background: #fff;
  width: 32px;
  height: 32px;
  line-height: 34px;
  display: inline-block;
  text-align: center;
  border-radius: 4px;
  font-size: 16px;
  margin: 15px 6px 12px 4px;
  transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
}

.social-icon a:hover {
  color: #fff !important;
}

.social-icon .facebook:hover {
  background: #3b5999;
}

.social-icon .twitter:hover {
  background: #4A9CEC;
}

.social-icon .instagram:hover {
  background: #D6274D;
}

.social-icon .linkedin:hover {
  background: #1260A2;
}

.social-icon .google:hover {
  background: #CE332A;
}



/* ==========================================================================
   Specific Page Items
   ========================================================================== */


.page-header {
  /* background-color: #f9f9f9; */
  padding: 100px 0 30px 0;

}

.page-container {
  min-height: 100vh;
  padding-bottom:100px;
}

.content_box {
  padding: 30px;
  border-radius: 6px;
  background-color: #ffffff;
}

.content-title {
  color: #a18cd1;
  display: inline-block;
  position: relative;
  margin-bottom: 14px;
}

.content.odd {
  background-color:#faf8ff;
  padding: 20px; 
  border-radius: 6px;
  margin-top: 16px;
}

.content.even {
  background-color:#f2ecff;
  padding: 20px; 
  border-radius: 3px;
  margin-top: 16px;
}

/* ==========================================================================
  Print
   ========================================================================== */


@media print {
  .page-container{
    page-break-inside: avoid;
    break-inside: avoid;
  }
    body {
    margin: 0;
    padding: 0;
  }

  .page-container {
    padding: 1rem; /* Or 0 if you want tighter spacing */
  }

  /* Optional: hide headers, footers, buttons */
  header, footer, .btn {
    display: none !important;
  }

}


/* ==========================================================================
 Login
   ========================================================================== */

   .form_container {
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 50px 40px 20px 40px;
  background-color: #ffffff;
  box-shadow: 0px 106px 42px rgba(0, 0, 0, 0.01),
    0px 59px 36px rgba(0, 0, 0, 0.05), 0px 26px 26px rgba(0, 0, 0, 0.09),
    0px 7px 15px rgba(0, 0, 0, 0.1), 0px 0px 0px rgba(0, 0, 0, 0.1);
  border-radius: 11px;
  font-family: "Inter", sans-serif;
}

.logo_container {
  box-sizing: border-box;
  width: 80px;
  height: 80px;
  background:  url('../img/Andang_icon.svg');
  /* border: 1px solid #F7F7F8;
  filter: drop-shadow(0px 0.5px 0.5px #EFEFEF) drop-shadow(0px 1px 0.5px rgba(239, 239, 239, 0.5));
  border-radius: 11px; */
}

.title_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #212121;
}

.subtitle {
  font-size: 0.725rem;
  max-width: 80%;
  text-align: center;
  line-height: 1.1rem;
  color: #8B8E98
}

.input_container {
  width: 100%;
  height: fit-content;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.icon {
  width: 20px;
  /* position: absolute; */
  z-index: 99;
  left: 12px;
  bottom: 9px;
}

.input_label {
  font-size: 0.75rem;
  color: #8B8E98;
  font-weight: 600;
}

.input_field {
  width: auto;
  height: 40px;
  padding: 0 0 0 12px;
  border-radius: 7px;
  outline: none;
  border: 1px solid #e5e5e5;
  filter: drop-shadow(0px 1px 0px #efefef)
    drop-shadow(0px 1px 0.5px rgba(239, 239, 239, 0.5));
  transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
}

.input_field:focus {
  border: 1px solid transparent;
  box-shadow: 0px 0px 0px 2px #242424;
  background-color: transparent;
}

.sign-in_btn {
  width: 100%;
  height: 40px;
  border: 0;
  background: #115DFC;
  border-radius: 7px;
  outline: none;
  color: #ffffff;
  cursor: pointer;
}

.sign-in_ggl {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 7px;
  outline: none;
  color: #242424;
  border: 1px solid #e5e5e5;
  filter: drop-shadow(0px 1px 0px #efefef)
    drop-shadow(0px 1px 0.5px rgba(239, 239, 239, 0.5));
  cursor: pointer;
}

.sign-in_apl {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #212121;
  border-radius: 7px;
  outline: none;
  color: #ffffff;
  border: 1px solid #e5e5e5;
  filter: drop-shadow(0px 1px 0px #efefef)
    drop-shadow(0px 1px 0.5px rgba(239, 239, 239, 0.5));
  cursor: pointer;
}

.separator {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: #8B8E98;
}

.separator .line {
  display: block;
  width: 100%;
  height: 1px;
  border: 0;
  background-color: #8B8E98;
}

.note {
  font-size: 0.75rem;
  color: #8B8E98;
  text-decoration: underline;
}


/* ==========================================================================
Daily Journal
   ========================================================================== */


#calendar {
    width: 100%;
    margin: 40px auto;
    height: 500px;
  }


.fc-today-button {
  display: none !important;
}


.task-indicator {
  width: 6px;
  height: 6px;
  background-color: #4a90e2;
  border-radius: 50%;
  margin: 2px auto 0;
  position: relative;
  top: 2px;
}




.selected-date {
  background-color: #d6c4ff !important;
  color: white !important;
  border-radius: 5px;
}

.mood-option {
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}
input[type="radio"]:checked + .mood-option {
  background-color: #007bff;
  color: white;
  border-color: #0056b3;
}

.list-group-item {
  margin-bottom: 0.75rem; /* adds space below each item */
  border-radius: 6px;
  border: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)!important;
}

.italic-text {
  font-style: italic;
}

.fc-daygrid-day.selected-date {
  background-color: #b9acd8 !important;
  border-radius: 4px;
}





/* ==========================================================================
Sleep tracker
   ========================================================================== */


canvas {
  max-width: 100%;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.situation-box {
  background: #f8f5ff;
  padding: 12px 16px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.situation-box h3 {

  font-size: 18px;
  color: #312f2f;
  font-weight: 800 !important;
}

.situation-box p {

  font-size: 14px;
}

.thought-box {
  /* background-color: #fcdde5; */
  padding: 1rem 2rem;
  border-radius: 16px;
  width: fit-content;
  /* box-shadow: 4px 4px 0 #ccc; */

   border: 1px solid #d9d9d9;
  border-radius: 8px;
}

.thought-box h5 {
  font-size: 14px;
  color: #312f2f;
  font-weight: 800 !important;
 
}

.feeling-box, .behavior-box {
  /* background-color: #ede0ff; */
  padding: 1rem 2rem;
  border-radius: 16px;
  width: 220px;
  /* box-shadow: 4px 4px 0 #ccc; */

   border:1px solid #d9d9d9;
  border-radius: 3px;
}

.behavior-box {
  /* background-color: #d2f4f2; */
}

.feeling-box h5, .behavior-box h5 {
 font-size: 14px;
  color: #312f2f;
  font-weight: 800 !important;
}


.healthy-meals-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px 0;
}

.healthy-tip {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom:20px;
}

.tip-img {
  width: 100px;
  height: auto;
  border-radius: 8px;
}

.tip-text {
  background-color: #f3f3f3;
  padding: 20px;
  border-radius: 0 30px 30px 0;
  flex: 1;
}

.tip-title {
  font-size: 14px;
  color: #312f2f;
  font-weight: 800 !important;
  /* margin-bottom: 10px; */
}


.mindful-plate-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #f9f9fb;
}

.mindful-plate {
  position: relative;
  width: 500px;
  height: 500px;
  background-size: cover;
  border-radius: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  padding: 50px;
}

.quadrant {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5);
}

.quadrant h4 {

  font-size: 14px;
  padding-top: 12px;
  color: #312f2f;
  font-weight: 800 !important;
}

.plate-line {
  position: absolute;
  background-color: #999;
  z-index: 1;
  opacity: 0.6;
}

.vertical {
  width: 8px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.horizontal {
  width: 100%;
  height: 8px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.corner-label {
  position: absolute;
  font-size: 0.9rem;
  font-style: italic;
  color: #333;
}

.top-right-corner {
  top: 10px;
  right: 20px;
}

.bottom-left-corner {
  bottom: 10px;
  left: 20px;
}

.gallery-info {
  padding-top: 12px;
}

.gallery-item {
  margin:5px 0;
  padding: 10px 5px;
  border-radius: 6px;
border: 1px solid #D9D9D9;
}


input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 10px;
  cursor: pointer;
}


td.text-center .text-muted {
  background-color: #f8f9fa;
  border-radius: 4px;
  padding: 5px;
  display: inline-block;
}

/* ##### MANDALA PAGE ##### */
/* Helper container */
.page-helper {
  margin: 28px auto 0;
  padding: 20px 24px;
  max-width: 720px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  background: #fafafe;
  border: 1px solid rgba(120, 110, 255, 0.12);
  border-radius: 16px;
}

/* Text */
.helper-title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #2b2f36;
}

.helper-desc {
  margin: 4px 0 0;
  font-size: 14px;
  color: #6b7280;
}

/* Button */
.helper-btn {
  padding: 10px 18px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 500;
  text-decoration: none;

  background: linear-gradient(
    135deg,
    #e6e3ff,
    #f1f0ff
  );
  color: #3a3f55;

  border: 1px solid rgba(120, 110, 255, 0.18);
  white-space: nowrap;

  transition: all 0.25s ease;
}

.helper-btn:hover {
  background: linear-gradient(
    135deg,
    #dcd7ff,
    #ebe9ff
  );
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .page-helper {
    flex-direction: column;
    text-align: center;
  }
}


/* ===== Mandala Analysis Page ===== */
.mandala-page {
  background: #f6f8fb;
}

/* Header */
.mandala-header {
  margin-bottom: 32px;
}
.mandala-header h1 {
  font-size: 28px;
  font-weight: 600;
}
.mandala-header p {
  color: #6b7280;
}

/* Grid layouts */
.mandala-upload-grid,
.mandala-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mandala-image-wrap{
  position: relative;
  display: inline-block;
  width: 100%;
}

.template-chip{
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
}


/* Cards */
.soft-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

/* Upload */
.upload-drop {
  border: 2px dashed #dbe3ee;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  position: relative;
}
.upload-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-box {
  border: 2px dashed #d6e2f1;
  border-radius: 14px;
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  background: #fafcff;

  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;

  transition: border-color 0.2s ease, background 0.2s ease;
}

/* .upload-box {
  border: 1px dashed #d7e0ee;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  position: relative;
  background: #fafcff;
} */


/* Center text + icon vertically */
.upload-placeholder {
 pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.upload-preview {
  position: relative;
}

.upload-preview img {
  max-width: 100%;
  border-radius: 12px;
}

.remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.remove-btn:hover {
  background: #f2f4f8;
}

.hidden {
  display: none;
}

.upload-success {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #cfeee3;
  color: #1b5e4b;
  font-size: 14px;
}




.upload-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f1ff;
  color: #4b7cff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  margin-bottom: 12px;
}

.upload-box strong {
  font-weight: 600;
  color: #1f2937;
}

.upload-box p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #6b7280;
}

/* ===== Template badge ===== */
.template-badge { display: flex; justify-content: flex-start; }
.template-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
}

/* Optional: hide badge during export mode */
.export-mode .template-badge { display: none !important; }


/* Form */
.demographic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  gap: 18px;
  padding: 16px 0;
}

.full-span {
  grid-column: 1 / -1; /* take full width */
}

.nested-field {
  margin-top: 12px;
}

/* Mobile */
@media (max-width: 768px){
  .demographic-grid{ grid-template-columns: 1fr; }
  .demographic-grid .full-span{ grid-column: auto; }
}



/* Analysis */
.analysis-summary {
  background: #f1f5f9;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.analysis-point {
  margin-bottom: 12px;
}

.analyze-again-wrapper {
  margin-top: 24px;
}

.analyze-again-btn {
  width: 100%;
}


.analysis-loading {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.analysis-loading.hidden { display: none; }

.loading-card {
  width: min(420px, 92vw);
  background: #fff;
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.10);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
}

.spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(0,0,0,0.10);
  border-top-color: rgba(120, 92, 200, 0.9); /* close to your purple */
  margin: 0 auto 14px auto;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-title {
  margin: 0;
  font-weight: 700;
}

.loading-subtitle {
  margin: 6px 0 0 0;
  color: #6b7280;
  font-size: 0.92rem;
}

/* Plan */
.plan-list {
  max-height: 180px;
  overflow: hidden;
}
.plan-list.expanded {
  max-height: none;
}
.plan-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* ===== Layout ===== */
.analysis-container {
  max-width: 1200px;
  margin: 0 auto;
}

.analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 992px) {
  .analysis-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Cards ===== */
.analysis-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.analysis-card h5 {
  margin-bottom: 8px;
}

.muted {
  color: #868686;
  font-size: 14px;
}


/* ===== Form ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.form-grid select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* ===== Buttons ===== */
.btn-primary {
  background: linear-gradient(135deg, #6f7cff, #8e6bff);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 999px;
  font-weight: 600;
}

.btn-secondary {
  background: #eef1ff;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
}

.btn-ghost {
  background: transparent;
  border: none;
  color: #666;
  margin-left: 12px;
}

/* ===== Analysis ===== */
.analysis-summary {
  background: #f6f9ff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.key-observations .obs-item {
  margin-bottom: 12px;
}

/* ===== Plan ===== */
.plan-item {
  display: flex;
  gap: 12px;
  background: #f9fafc;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.plan-icon {
  font-size: 20px;
}


/* ### LATEST MANDALA ANALYSIS OUTPUT PAGE 23 JSN 1:14 AM ### */
.panel {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title { margin-bottom: 4px; }
.panel-subtitle { color: #6b7280; font-size: 14px; }

.helper-text { color: #6b7280; }

.analysis-highlight {
  background: #eef4fb;
  border-radius: 10px;
  padding: 16px;
  margin-top: 12px;
}

.observation-item {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
}
.dot-0 { background: #f59e9e; }
.dot-1 { background: #6ee7b7; }
.dot-2 { background: #c4b5fd; }

.care-plan.collapsed .care-item:nth-child(n+4) {
  display: none;
}


.link-button {
  background: none;
  border: none;
  color: #2563eb;
  padding: 0;
}

.accordion-item {
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 16px;
  border: none;
  background: none;
  text-align: left;
  font-weight: 600;
}

.accordion-body {
  display: none;
  padding: 0 16px 16px;
  color: #6b7280;
}

.accordion-item.active .accordion-body {
  display: block;
}


/* ===== TOP ANALYSIS CARDS ===== */

.analysis-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Titles */
.card-title,
.analysis-header h5 {
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 14px;
  color: #6b7280;
}

/* Header row (right card) */
.analysis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.analysis-link {
  font-size: 14px;
  color: #7aa2d6;
  text-decoration: none;
}

/* Mandala preview fills height */
.mandala-preview-wrapper {
  flex: 1;
  display: flex;
}

.mandala-preview {
  width: 100%;
  background: #f8fafc;
  border-radius: 16px;
}

.mandala-preview-img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
  background: #fafafa;
}


/* Highlight box */
.analysis-highlight {
  display: flex;
  gap: 16px;
  background: #dbeaf5;
  padding: 20px;
  border-radius: 16px;
  margin-top: 20px;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Supporting section */
.supporting-section {
  margin-top: 28px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin-bottom: 16px;
}

.supporting-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.supporting-item p {
  margin-bottom: 0;
  color: #4b5563;
}

/* Dots */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
}

.dot-pink   { background: #d6a1a1; }
.dot-green  { background: #8fbfa8; }
.dot-purple { background: #b6a6d8; }


/* ===== SELF CARE PLAN ===== */

.selfcare-wrapper {
  background: #f8fafc;
  border-radius: 20px;
  padding: 24px;
}

.section-meta {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin-bottom: 4px;
}

.section-helper {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

/* Card */
.selfcare-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5eff8;
  overflow: hidden;
}

/* Header */
.selfcare-header {
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.selfcare-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.selfcare-icon {
  width: 36px;
  height: 36px;
  background: #eef4fb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.selfcare-icon::before {
  content: "🍃";
  font-size: 18px;
  line-height: 1;
}


.selfcare-title h5 {
  margin: 0;
}

.selfcare-title p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* Chevron */
.chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

/* Content */
.selfcare-content {
  padding: 0 20px 20px;
}

.selfcare-card.collapsed .selfcare-content {
  display: none;
}

.selfcare-card.collapsed .chevron {
  transform: rotate(-135deg);
}

/* Items */
.selfcare-item {
  display: flex;
  gap: 14px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.item-icon {
  font-size: 18px;
  line-height: 1;
}

.item-body strong {
  display: block;
  margin-bottom: 2px;
}

.item-day {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 2px;
}

.item-body p {
  margin: 0;
  color: #4b5563;
}

/* ===== NEXT STEPS CONTAINER ===== */

.nextsteps-container {
  background: #f8fafc;
  border: 1px solid #e5eff8;
  border-radius: 20px;
  padding: 20px;
}

/* Meta section inside the box */
.nextsteps-meta {
  margin-bottom: 16px;
}

.section-meta {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin-bottom: 4px;
}

.section-helper {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* ===== INNER SELF CARE CARD ===== */

.selfcare-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef2f7;
  overflow: hidden;
}

/* ===== ANALYSIS DISCLAIMER ===== */

.analysis-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  background: #f8fafc;
  border: 1px solid #e5eff8;
  border-radius: 16px;

  padding: 14px 18px;
  margin-top: 24px;

  font-size: 14px;
  color: #4b5563;
}

.analysis-disclaimer p {
  margin: 0;
}

/* Info icon */
.info-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8eff6;
  color: #5b7dbb;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ===== SAVED PRIVATELY (SUBTLER) ===== */

.saved-privacy-hint {
  display: flex;
  align-items: center;
  gap: 10px;

  background: #f8fafc;
  border: 1px solid #e5eff8;
  border-radius: 14px;

  padding: 10px 14px;   /* less than disclaimer */
  margin-top: 12px;

  font-size: 14px;
  color: #4b5563;
}

.privacy-dot {
  width: 18px;
  height: 18px;
  background: #e8eff6;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== DEEPER MANDALA INSIGHTS ===== */

.deeper-section {
  max-width: 100%;
}

.deeper-title {
  margin-bottom: 6px;
}

.deeper-subtitle {
  color: #6b7280;
  max-width: 720px;
  margin-bottom: 24px;
}

/* Accordion container */
.deeper-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Individual item */
.deeper-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5eff8;
  overflow: hidden;
}

/* Header */
.deeper-header {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

/* Chevron (reuse style, but smaller) */
.deeper-header .chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

/* Body */
.deeper-body {
  display: none;
  padding: 0 20px 18px;
}

.deeper-body p {
  margin: 0 0 10px;
  color: #4b5563;
}

.deeper-body p:last-child {
  margin-bottom: 0;
}

/* Open state */
.deeper-body.open {
  display: block;
}

.deeper-item.active .chevron {
  transform: rotate(-135deg);
}

/* ===== Emotional Patterns Box ===== */

.deeper-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Soft circular indicator */
.soft-indicator {
  width: 28px;
  height: 28px;
  background: #f1e4e1;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Body text */
.insight-subtitle {
  font-weight: 600;
  margin-bottom: 6px;
}

.insight-text {
  color: #4b5563;
  margin-bottom: 8px;
}

/* List */
.insight-list {
  padding-left: 18px;
  margin: 0;
}

.insight-list li {
  margin-bottom: 6px;
  color: #4b5563;
}

.insight-list li strong {
  font-weight: 600;
}

/* ===== Reflection Prompts Box ===== */

.indicator-green {
  background: #e3efe8;
}

/* Intro text */
.reflection-intro {
  margin-bottom: 14px;
  color: #4b5563;
}

/* Prompt cards */
.reflection-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reflection-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 14px 16px;
  border-left: 4px solid #9fbfaf;
  position: relative;
}

.reflection-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.reflection-card-title {
  flex: 1;
  min-width: 0;
  color: #6b7280;
}

.reflection-card strong {
  display: block;
  margin-bottom: 4px;
}

.reflection-card p {
  margin: 0;
  color: #6b7280;
}

.copy-prompt-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid #d9e5f2;
  border-radius: 999px;
  background: #ffffff;
  color: #6887ab;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-prompt-btn:hover {
  background: #f6faff;
  border-color: #bfd5ea;
}

.copy-prompt-btn.copied {
  background: #eef7f1;
  border-color: #b8d8c2;
  color: #4c8b63;
}

.copy-prompt-btn:focus-visible,
.reflection-chat-btn:focus-visible {
  outline: 2px solid #9dbfe4;
  outline-offset: 2px;
}

.copy-prompt-icon {
  font-size: 0.92rem;
  line-height: 1;
}

.reflection-cta {
  text-align: center;
  padding: 12px 2px 20px 2px;
}

.reflection-cta-title {
  margin: 0 0 14px;
  color: #5f6779;
  font-size: 1rem;
  font-weight: 600;
}

.reflection-chat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  margin: 10px 0 16px 0;
  border-radius: 14px;
  border: 1px solid #cfe0f2;
  background: #f8fbff;
  color: #6c8fb6;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(91, 130, 173, 0.08);
  transition: all 0.2s ease;
}

.reflection-chat-btn:hover {
  background: #f1f7ff;
  border-color: #b9d0ea;
  color: #577da8;
  transform: translateY(-1px);
}

.reflection-chat-btn:active {
  transform: translateY(0);
}

.reflection-chat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.reflection-chat-note {
  margin: 12px 0 0;
  color: #7b8495;
  font-size: 0.94rem;
}

@media (max-width: 767.98px) {
  .reflection-card-top {
    flex-direction: column;
    align-items: stretch;
  }

  .copy-prompt-btn {
    align-self: flex-start;
  }

  .reflection-chat-btn {
    width: 100%;
  }
}
/* Divider */
.reflection-divider {
  border: none;
  border-top: 1px solid #e5eff8;
  margin: 24px 0 20px;
}


.cta-text {
  margin-bottom: 12px;
}

.cta-helper {
  margin-top: 10px;
  font-size: 13px;
  color: #6b7280;
}

/* ===== PAGE CLOSURE ===== */

.page-closure {
  margin: 80px auto 40px;
  max-width: 640px;
  text-align: center;
}

.closure-quote {
  margin: 0;
  padding: 0;
}

.closure-quote p {
  font-size: 18px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 12px;
}

.closure-quote footer {
  font-size: 14px;
  color: #9ca3af;
}


/* =========== EXPORT MANDALA REPORT ============== */
.export-mode .exclude-from-export {
  display: none !important;
}

.export-mode .analysis-card,
.export-mode .selfcare-card,
.export-mode .deeper-section {
  box-shadow: none !important;
}


/* ===== ANALYSIS PROTOTYPE STYLE ===== */

.analysis-prototype {
  border-radius: 16px;
}

/* Highlighted insight box */
.analysis-insight-box {
  display: flex;
  gap: 14px;
  background: #dbeaf5;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 16px 0 20px;
}

.insight-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #9bbcd3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.insight-text {
  color: #445b6e;
  line-height: 1.55;
  font-size: 0.95rem;
}

/* Supporting observations */
.analysis-supporting .section-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #7b8a99;
  margin-bottom: 12px;
}

.supporting-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.support-text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.support-text p {
  margin: 0;
  color: #5f6f7e;
  font-size: 0.9rem;
}

/* Dots */
.support-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.dot-pink { background: #e6a6a6; }
.dot-green { background: #9ec8b2; }
.dot-purple { background: #c3b4e6; }


/* =========== CHATSPACE ============== */
/* =========================
   CHATSPACE PAGE
========================= */

.page-chatspace {
  --chatspace-topnav-h: 84px;
  margin: 0;
  background: #f7f6f4;
}

.page-chatspace .chatspace-page {
  height: 100vh;
  padding-top: var(--chatspace-topnav-h);
  box-sizing: border-box;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f6f4 0%, #ffffff 55%, #f7f6f4 100%);
}

.page-chatspace .chatspace-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-chatspace .chatspace-container {
  width: 100%;
  max-width: 1080px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-top: 22px;
}

.page-chatspace .chatspace-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 18px auto;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
  flex-shrink: 0;
}

.page-chatspace .chatspace-banner-icon {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 2px;
}

.page-chatspace .chatspace-banner-text {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(0,0,0,0.62);
}

.page-chatspace .chatspace-banner-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  text-decoration: underline;
  color: rgba(0,0,0,0.68);
}

.page-chatspace .chatspace-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 8px 24px 8px;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

.page-chatspace .chatspace-body.is-empty {
  justify-content: center;
}

.page-chatspace .chatspace-body.has-chat {
  justify-content: flex-start;
}

.page-chatspace .chatspace-empty {
  text-align: center;
  max-width: 720px;
  margin: auto;
  padding: 22px 10px;
}

.page-chatspace .chatspace-title {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
  color: rgba(0,0,0,0.72);
  font-weight: 650;
}

.page-chatspace .chatspace-subtitle {
  margin: 0;
  font-size: 14px;
  color: rgba(0,0,0,0.48);
  line-height: 1.6;
}

.page-chatspace .chatspace-messages {
  width: 100%;
}

.page-chatspace .chat-bottom-anchor {
  width: 100%;
  height: 1px;
  flex-shrink: 0;
}

.page-chatspace .chat-msg {
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 14px 0;
}

.page-chatspace .chat-msg.user {
  justify-content: flex-end;
}

.page-chatspace .chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: 0 0 28px;
  background: rgba(0,0,0,0.08);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: rgba(0,0,0,0.58);
}

.page-chatspace .chat-bubble {
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.88);
  color: rgba(0,0,0,0.76);
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.55;
  font-size: 14px;
}

.page-chatspace .chat-msg.assistant .chat-bubble {
  width: calc(100% - 38px);
  max-width: none;
}

.page-chatspace .chat-msg.user .chat-bubble {
  background: rgba(0,0,0,0.045);
  max-width: 520px;
}

.page-chatspace .chatspace-composer {
  flex-shrink: 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  background: rgba(247,246,244,0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0 14px 0;
}

.page-chatspace .chatspace-composer-inner {
  max-width: 1080px;
}

.page-chatspace .chatspace-guest-card {
  max-width: 760px;
  margin: 0 auto 12px auto;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.page-chatspace .chatspace-guest-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.page-chatspace .chatspace-guest-icon {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(0,0,0,0.52);
  margin-top: 1px;
}

.page-chatspace .chatspace-guest-text {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(0,0,0,0.66);
}

.page-chatspace .chatspace-guest-link {
  color: rgba(0,0,0,0.78);
  text-decoration: underline;
  white-space: nowrap;
}

.page-chatspace .chatspace-guest-dismiss {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(0,0,0,0.5);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  margin-top: -2px;
}

.page-chatspace .chatspace-guest-dismiss:hover {
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.72);
}

.page-chatspace .chatspace-form {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.page-chatspace .chatspace-meta {
  max-width: 760px;
  margin: 8px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}




.page-chatspace .chatspace-input {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.92);
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  box-shadow: none;
}

.page-chatspace .chatspace-input:focus {
  border-color: rgba(130, 99, 212, 0.35);
  box-shadow: 0 0 0 3px rgba(130, 99, 212, 0.08);
}

.page-chatspace .chatspace-send {
  height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.46);
  font-size: 14px;
  font-weight: 600;
  cursor: not-allowed;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.page-chatspace .chatspace-send.enabled {
  background: rgba(125, 103, 197, 0.95);
  color: #fff;
  cursor: pointer;
  border-color: rgba(125, 103, 197, 0.95);
}

.page-chatspace .chatspace-send.enabled:hover {
  background: rgba(113, 91, 186, 1);
  border-color: rgba(113, 91, 186, 1);
}

.page-chatspace .chatspace-helper {
  max-width: 760px;
  margin: 8px auto 0 auto;
  display: flex;
  justify-content: flex-end;
}

.page-chatspace .chatspace-clear {
  align-self: flex-end;
  border: none;
  background: transparent;
  padding: 4px 2px;
  font-size: 13px;
  color: rgba(0,0,0,0.48);
  text-decoration: underline;
  cursor: pointer;
}

.page-chatspace .chatspace-disclaimer {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: rgba(0,0,0,0.44);
  padding: 0 8px;
}


@media (max-width: 768px) {
  .page-chatspace {
    --chatspace-topnav-h: 72px;
  }

  .page-chatspace .chat-bubble {
    max-width: 78vw;
  }
}

@media (max-width: 576px) {
  .page-chatspace .chatspace-guest-card {
    border-radius: 18px;
    padding: 12px 14px;
    margin-bottom: 10px;
  }

  .page-chatspace .chatspace-guest-text {
    display: block;
  }

  .page-chatspace .chatspace-guest-link {
    display: inline-block;
    margin-top: 4px;
  }

  .page-chatspace .chatspace-meta {
    gap: 6px;
  }

  .page-chatspace .chatspace-disclaimer {
    font-size: 11px;
  }
}


/* =========== RESEARCHER'S DASHBOARD ============== */
/* Insight Card */
.insight-card {
  border-radius: 16px;
}

/* Icon */
.insight-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(168, 132, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Confidence chip */
.confidence-chip {
  background: #e6f7f1;
  color: #1a9c74;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

/* Factor chips */
.factor-chip {
  background: #f2f3f5;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 6px;
  display: inline-block;
}

/* Section labels */
.section-label {
  font-size: 12px;
  color: #8a8f98;
  display: block;
  margin-bottom: 4px;
}

/* =========================================
   AI LOADING STATE
========================================= */

.ai-loading-card {

  overflow: hidden;

}


.loading-text {

  font-weight: 500;

  animation: pulseText 1.5s infinite;

}


.loading-dot {

  width: 14px;

  height: 14px;

  border-radius: 50%;

  background: #AFA0D8;

  animation: pulseDot 1.2s infinite;

}


@keyframes pulseText {

  0% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.4;
  }

}


@keyframes pulseDot {

  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.5;
  }

}

/* =========================================
   AI CHAT BUTTON
========================================= */

.ai-chat-btn {

  position: relative;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 6px 12px;

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      #A18CD1,
      #7BC4B2
    );

  color: white !important;

  font-weight: 600;

  font-size: 14px;

  text-decoration: none !important;

  overflow: hidden;

  transition: all 0.3s ease;

  box-shadow:
    0 6px 20px rgba(161,140,209,0.28);

}


/* HOVER */
.ai-chat-btn:hover {

  transform: translateY(-2px);

  box-shadow:
    0 10px 28px rgba(161,140,209,0.38);

}


/* ICON */
.ai-icon {

  position: relative;

  z-index: 2;

  font-size: 14px;

  animation:
    aiSparkleIntro 1.5s ease;

}


/* TEXT */
.ai-text {

  position: relative;

  z-index: 2;

}


/* ONE-TIME SHIMMER */
.ai-glow {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,0),
      rgba(255,255,255,0.35),
      rgba(255,255,255,0)
    );

  transform: translateX(-120%);

  animation:
    aiShimmerIntro 1.8s ease-out;

}


/* SHIMMER */
@keyframes aiShimmerIntro {

  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }

}


/* ICON SPARKLE */
@keyframes aiSparkleIntro {

  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  40% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }

}

.research-tag {

  font-size: 10px;

  font-weight: 600;

  padding: 3px 8px;

  border-radius: 999px;

  background:
    rgba(161,140,209,0.15);

  color:
    #8B6FD6;

  letter-spacing: 0.4px;

}

.auth-loading{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#fff;

    z-index:9999;

}