@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@200;300;400;500;600;700&display=swap');

:root {
  --theme-yellow-color: #fbbf24;
  --theme-blue-color: #24206d;
  --theme-blue-transparent-color: #24206dde;
  --theme-green-color: #96f786;
  --theme-red-color: #cd1313;
}

body {
  margin: 0;
  font-family: "Mitr", sans-serif;
  display: flex;
  min-height: 100vh;
}

.page-wrapper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.page-background {
  display: flex;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

header {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.header-left {
  display: flex;
  width: 90px;
}

.header-left > a, .header-left > a > img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header-right > ul {
  display: flex;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.header-right > a {
  display: flex;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-right > a.menu-btn {
  border: 2px solid #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
}

.header-mobile-menu {
  display: none;
}

.container-wrapper .container {
  max-width: 520px;
  width: 100%;
  position: relative;
  height: 100%;
}

.container-wrapper h1 {
  color: white;
  text-align: center;
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 400;
}

.subtitle {
  color: #fff;
  text-align: center;
  font-size: 13px;
  margin-bottom: 40px;
  line-height: 1.5;
  font-weight: 100;
}

.progress-bar {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  padding: 0 40px;
  flex-direction: unset;
}

.progress-step {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.progress-step.active {
  background: var(--theme-yellow-color);
}

.progress-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

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

.container-wrapper label {
  display: block;
  color: #fff;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: 400;
}

.container-wrapper input, select {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 15px;
}

.container-wrapper input:focus, select:focus {
  outline: none;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.container-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.phone-group {
  position: relative;
  display: flex;
  align-items: center;
}

.country-flag {
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2px;
}

.country-flag:hover {
  opacity: 0.8;
}

.country-flag::after {
  content: '▼';
  font-size: 10px;
  color: #fff;
}

.phone-input {
  width: 100% !important;
  padding-left: 45px !important;
}

.country-dropdown {
  position: absolute;
  left: 0;
  top: 40px;
  background: #2d2a5f;
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
  display: none;
  min-width: 200px;
}

.country-dropdown.show {
  display: block;
}

.country-option {
  padding: 10px 16px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  transition: background 0.2s;
}

.country-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.country-option .flag {
  font-size: 18px;
}

.name-group {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.dropdown select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  margin: 0;
  flex: 1;
  font-size: 12px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.social-login {
  display: flex;
  gap: 12px;
  margin: 35px 0;
}

.social-btn {
  flex: 1;
  padding: 11px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  transition: opacity 0.2s;
}

.social-btn > img {
  width: 90px;
}

.social-btn:hover {
  opacity: 0.9;
}

.social-logo {
  width: 20px;
  height: 20px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--theme-yellow-color);
  color: #1e1b4b;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover {
  background: #f59e0b;
}

.footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  margin-top: 40px;
  line-height: 1.6;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid;
  padding: 1rem;
  padding-bottom: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 12px;
  font-weight: 200;
}

.container-wrapper {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background-color: var(--theme-blue-color);
  flex-direction: column;
  padding: 1rem;
}

.footer > p {
  font-size: 12px;
  font-weight: 200;
}

.page-tab-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.page-tab-contain {
  display: flex;
  width: 100%;
}

.container-wrapper .container.profil-container {
  max-width: 700px;
}

.page-tab-btn {
  width: 40%;
  padding-right: 2rem;
  border-right: 2px solid rgba(255, 255, 255, 0.15);
}

.page-tab-content {
  width: 60%;
  padding-left: 2rem;
}

.page-tab-btn > ul > li .page-tab-btn-content > span {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

.page-tab-btn > ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.page-tab-btn-content > img {
  width: 25px;
}

.page-tab-btn > ul > li .page-tab-btn-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.page-tab-btn > ul > li .page-tab-btn-content.profil {
  background-color: #71f975;
  border-radius: 25px;
  padding: .5rem;
}

.page-tab-btn > ul > li .page-tab-btn-content.profil > span {
  color: #000;
}

.page-tab-content-title > span {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  padding-left: 1rem;
}

.page-tab-content-title {
  display: flex;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.page-tab-info-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.page-tab-info-content-label {
  width: 40%;
}

.page-tab-info-content-group {
  width: 60%;
}

.page-tab-info-content-group .form-group {
  margin: 0;
}

.page-tab-info-content-label > label {
  margin: 0;
  font-size: 13px;
  font-weight: 200;
  color: #ddd;
}

.page-tab-info-content-group .form-group select {
  border: none;
  font-size: 13px;
  font-weight: 200;
  color: #ddd;
  padding: 0;
}

.page-tab-info-contain {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: 100%;
}

.page-tab-info {
  display: flex;
  width: 100%;
  margin-top: 40px;
}

.page-tab-btn > ul > li .page-tab-btn-content.active > span {
  color: #71f975;
}

.page-tab-btn > ul > li .page-tab-btn-content > i {
  color: #ddd;
  font-size: 18px;
}


.page-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  height: 100vh;
  flex-direction: column;
}

.page-center-content {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.chat-wrapper {
  display: flex;
  width: 55%;
  margin-bottom: 30px;
}

.chat-contain {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.chat-contain-text {
  display: flex;
  width: 100%;
  gap: 30px;
  align-items: stretch;
}

.chat-text-content {
  width: calc(50% - (30px) / 2);
  border: 7px solid var(--theme-yellow-color);
  border-radius: 25px;
  overflow: hidden;
}

.chat-contain-image {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.chat-character {
  width: 250px;
  position: relative;
  animation: bounce 2s linear infinite alternate;
}

.chat-character > img {
  width: 100%;
}

.chat-text {
  background-color: var(--theme-blue-transparent-color);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: calc(100% - 50px);
  min-height: 110px;
}

.chat-text > span {
  color: #fff;
  font-size: 19px;
  font-weight: 400;
  width: 80%;
  text-align: center;
}

.chat-text-content .subscription-contain-title {
  border-radius: 20px 20px 0 0;
  height: 50px;
  transition: all 0.8s ease;
}

.chat-text-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  cursor: pointer;
}

.chat-text-content.show {
  opacity: 1;
  transform: translateY(0);
}

.chat-text-content.clicked,
.chat-text-content:hover {
  border-color: var(--theme-green-color) !important;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.chat-text-content.clicked .subscription-contain-title,
.chat-text-content:hover .subscription-contain-title {
  background-color: var(--theme-green-color);
  transition: all 0.3s ease;
}

.chat-text-content.fade-out {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.6s ease;
}

.upgrade-wrapper {
  position: fixed;
  z-index: 9999;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  top: -100%;
  width: 100%;
  height: 100%;
  transition: .5s ease-in-out;
}

.chat-text-content.show:hover {
  transform: scale(1.05);
}

.youtube-gif {
  position: fixed;
  bottom: 60px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.youtube-gif > a {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: var(--theme-blue-color);
}

.youtube-gif-image {
  display: flex;
  width: 80px;
}

.youtube-gif-image > img {
  width: 100%;
}

.youtube-gif-text {
  background-color: var(--theme-yellow-color);
  width: 190px;
  padding: 20px;
  text-align: center;
  border-radius: 25px;
  position: relative;
}

.youtube-gif-text > span {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  display: block;
}

.youtube-gif-text > span > b {
  color: var(--theme-red-color);
  text-decoration: none;
  margin: 0;
  font-weight: 600;
}

.youtube-gif-text::before {
  content: "";
  position: absolute;
  border-color: var(--theme-yellow-color) transparent transparent transparent;
  border-style: solid;
  border-width: 12px;
  width: 0px;
  height: 0px;
  bottom: -20px;
  right: 30px;
}

.page-meenu-btn {
  position: fixed;
  top: 30px;
  right: 10px;
  background-color: var(--theme-yellow-color);
  border-radius: 10px;
  padding: 0.5rem;
  cursor: pointer;
}

.page-meenu-btn-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
}

.page-meenu-btn-image > img {
  width: 100%;
}

.page-logo-wrapper {
  position: fixed;
  top: 30px;
  left: 10px;
}

.page-logo {
  display: flex;
  width: 65px;
  align-items: center;
  justify-content: center;
}

.page-logo > a, .page-logo > a > img {
  display: flex;
  width: 100%;
}

.chat-contain-change-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--theme-yellow-color);
  border-radius: 10px;
  padding: .5rem;
}

.chat-contain-change-btn > img {
  width: 25px;
}

.chat-contain-change {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}

@media screen and (min-width: 2560px){
  .page-tab-contain {
    transform: scale(1.6);
  }

  .login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: scale(1.1);
  }
}

@media screen and (max-width: 993px){
  .chat-wrapper {
    width: 80%;
  }
}

@media screen and (max-width: 769px){
  .footer {
    flex-direction: column;
  }

  .page-tab-contain {
    flex-direction: column;
  }

  .page-tab-btn {
    width: 100%;
    padding: 0;
    border: none;
  }

  .page-tab-content {
    width: 100%;
    padding: 0;
    margin-top: 40px;
  }
}

@media screen and (max-width: 650px){
  .header-wrapper {
    flex-direction: column;
  }

  .header-right > a.menu-btn {
    padding: 0.5rem 0.5rem;
  }

  .header-right > a {
    font-size: 12px;
  }

  .header-right {
    margin-top: 1rem;
  }

  .chat-wrapper {
    width: 95%;
  }

  .youtube-gif {
    display: none;
  }
}

@media screen and (max-width: 553px) {
  #chat-responses {
    flex-direction: column;
  }
  
  .chat-text-content {
    width: 100%;
  }

  .chat-character {
    width: 150px;
  }
  
  .chat-contain-image {
    margin-bottom: 20px;
  }
  
  .chat-text-content .subscription-contain-title {
    height: 35px;
  }
  
  .chat-text {
    height: calc(100% - 35px);
    min-height: 100px;
  }
  
  .chat-text > span {
    font-size: 16px;
  }
  
  .chat-wrapper {
    margin-bottom: 50px;
  }
}