::-webkit-scrollbar {
  width: 8px;
}
:root {
  --font-scale: 1;
  --font-family: 'Roboto', sans-serif;
  --blue: #42aa15;
}
::-webkit-scrollbar-track {
  background-color: #f0f2f5;
}
::-webkit-scrollbar-thumb {
  background-color: #bcc0c4;
  border-radius: 4px;
}
* {
  scrollbar-color: #bcc0c4 #f0f2f5;
}
*::-moz-scrollbar {
  width: 8px;
}
*::-moz-scrollbar-track {
  background-color: #f0f2f5;
}
*::-moz-scrollbar-thumb {
  background-color: #bcc0c4;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background: black;
  min-height: 100vh;
}
* {
  box-sizing: border-box;
}
.d-grid {
  display: grid;
}
.d-flex {
  display: flex;
  display: -webkit-flex;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
button,
input,
select {
  -webkit-appearance: none;
  outline: none;
}
button,
.btn,
select {
  cursor: pointer;
  background-color: #1877f2;
  color: #fff;
  border: none;
  padding: 14px 20px;
  font-size: calc(17px * var(--font-scale));
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
}
button:hover,
.btn:hover {
  background-color: #166fe5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}
a {
  text-decoration: none;
  color: #1877f2;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}
p {
  color: #b0b3b8;
}
.p-relative {
  position: relative;
}
.p-absolute {
  position: absolute;
}
.p-fixed {
  position: fixed;
}
.p-sticky {
  position: sticky;
}
.btn,
button,
.actionbg,
input,
.custom-selects {
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -o-border-radius: 6px;
  -ms-border-radius: 6px;
}
.btn:hover,
button:hover {
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
}
.wrapper {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .wrapper {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .wrapper {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .wrapper {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .wrapper {
    max-width: 1140px;
  }
}
.wrapper-full {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.forms23-block-hny h1 {
  margin-bottom: 16px;
  font-size: calc(56px * var(--font-scale));
  color: #fff;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.show-password-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: calc(14px * var(--font-scale));
  color: #b0b3b8;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 16px;
}
input[type='checkbox'] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  border: 2px solid white;
  background-color: rgb(79, 79, 79);
  accent-color: #1877f2;
}
.w3l-forms-23 {
  padding: 2rem 0;
  align-items: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  z-index: 0;
}
.w3l-forms-23:before {
  content: '';
  position: absolute;
  top: 0;
  min-height: 100%;
  left: 0;
  right: 0;
  z-index: -1;
}
.forms23-block-hny .main-bg {
  display: none;
}
.forms23-block-hny .form23 {
  background: #131314;
  border: 1px solid #3a3b3c;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
  max-width: 396px;
  text-align: center;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -o-border-radius: 8px;
  -moz-border-radius: 8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.forms23-block-hny .form23:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
@media (max-width: 796px) {
  .forms23-block-hny .form23 {
    background-color: #242526;
    border: 1px solid #3a3b3c;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin: 0 auto;
    margin-top: 0;
  }
  .w3l-forms-23 {
    min-height: 100vh;
    padding: 20px 10px;
  }
}
.forms23-block-hny .form23 form .input-form,
.custom-selects {
  background-color: #3a3b3c;
  border: 1px solid #4e4f50;
  color: #e4e6ea;
  font-size: calc(17px * var(--font-scale));
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  width: 100%;
  transition: all 0.2s ease;
}
.forms23-block-hny .form23 form .input-form::placeholder {
  color: #8a8d91;
}
.select-disabled {
  color: #8a8d91;
}
.forms23-block-hny .form23 form .input-form:focus {
  background: #4a4b4c;
  border: 1px solid #1877f2;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
  outline: none;
}
.forms23-block-hny .form23 p {
  margin-top: 20px;
  font-size: calc(14px * var(--font-scale));
  font-weight: normal;
  color: #b0b3b8;
}
.forms23-block-hny button.btn.loginhny-btn {
  background-color: var(--blue);
  color: #fff;
  border: none;
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  width: 100%;
  margin-top: 16px;
  font-size: calc(17px * var(--font-scale));
  font-weight: 600;
  transition: all 0.2s ease;
}
.forms23-block-hny button.btn.loginhny-btn:hover {
  background: #166fe5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
  text-decoration: none;
  transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}
.forms23-block-hny button.btn.loginhny-btn:active {
  transform: translateY(0);
}
.forms23-block-hny .form23 a {
  font-size: calc(14px * var(--font-scale));
  line-height: 20px;
  color: var(--blue);
}
.forms23-block-hny .form23 a:hover {
  text-decoration: underline;
  transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}
.forms23-block-hny .first-look {
  display: none;
}
.forms23-block-hny .first-look img {
  display: none;
}
.forms23-block-hny .bottom-content {
  padding: 24px;
  margin-top: 0;
}
.forms23-block-hny .speci-login {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
}
.forms23-block-hny .form23 h6 {
  font-size: calc(18px * var(--font-scale));
  line-height: 22px;
  color: #e4e6ea;
  padding-bottom: 8px;
  font-weight: 600;
  margin-bottom: 16px;
}
.forms23-block-hny .form23 h6.sec-one {
  padding-top: 0;
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.forms23-block-hny .form23 h6 img {
  height: 60px;
  margin-bottom: 16px;
}
/* Add Facebook-style branding section */
.facebook-branding {
  flex: 1;
  color: white;
  padding: 0 40px;
  display: none;
}
.facebook-branding .logo {
  font-size: calc(56px * var(--font-scale));
  font-weight: bold;
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.facebook-branding .tagline {
  font-size: calc(28px * var(--font-scale));
  font-weight: 300;
  line-height: 1.2;
  opacity: 0.95;
}
@media (min-width: 992px) {
  .w3l-forms-23 {
    display: flex;
    max-width: 980px;
    margin: 0 auto;
    gap: 40px;
  }
  .facebook-branding {
    display: block;
  }
  .forms23-block-hny {
    flex: none;
  }
}
.w3l-copy-right.text-center {
  margin-top: 50px;
  color: #fff;
  text-align: center;
}
.w3l-copy-right p {
  font-size: calc(14px * var(--font-scale));
  margin-top: 15px;
  opacity: 0.8;
}
.w3l-copy-right p a {
  color: #fff;
  text-decoration: underline;
}
.w3l-copy-right p a:hover {
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}
@media all and (max-width: 667px) {
  .forms23-block-hny h1 {
    font-size: calc(42px * var(--font-scale));
  }
}
@media all and (max-width: 440px) {
  .forms23-block-hny .form23 h6 {
    font-size: calc(16px * var(--font-scale));
  }
  .forms23-block-hny h1 {
    font-size: calc(36px * var(--font-scale));
  }
}
@media all and (max-width: 410px) {
  .forms23-block-hny .form23 h6.sec-one {
    padding-top: 0;
  }
  .forms23-block-hny .bottom-content {
    padding: 20px;
  }
}
.profile-picture-container {
  position: relative;
  display: inline-block;
}
#profile-picture {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}
#profile-picture-label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
#profile-picture-label:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
#notify {
  position: fixed;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: #fff;
  line-height: 1.3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 350px;
  margin: 20px;
  overflow: hidden;
  border-radius: 8px;
  font-weight: 500;
  visibility: hidden;
  opacity: 0;
}
@keyframes fade-in {
  from {
    visibility: hidden;
    opacity: 0;
  }
  to {
    visibility: visible;
    opacity: 1;
  }
}
#notify[data-notification-status='notice']:before,
#notify[data-notification-status='error']:before,
#notify[data-notification-status='warning']:before,
#notify[data-notification-status='success']:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-right: 12px;
}
/** top left **/
.top-left {
  top: 0;
  left: 0;
}
#notify[data-notification-status='success'] {
  background-color: #42b883;
}
#notify[data-notification-status='success']:before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.984c4.407 0 8.016 3.609 8.016 8.016 0 4.406-3.608 8.016-8.016 8.016S3.984 16.407 3.984 12 7.593 3.984 12 3.984m0-2C6.478 1.984 1.984 6.477 1.984 12c0 5.521 4.493 10.016 10.016 10.016S22.016 17.522 22.016 12c0-5.523-4.495-10.016-10.016-10.016zm0 2c4.407 0 8.016 3.609 8.016' fill='%23ffffff'/%3E%3Cpath d='M10.477,13.136l5.085-5.085l1.406,1.406l-6.492,6.492l-3.446-3.445l1.406-1.406L10.477,13.136z' fill='%23ffffff'/%3E%3C/svg%3E")
    center / cover no-repeat;
}
/**top right**/
.top-right {
  top: 0;
  right: 0;
}
.do-show {
  animation:
    fade-in 1s ease-in-out forwards,
    fade-in 2s ease-in-out reverse forwards 11s;
}
#notify[data-notification-status='warning'] {
  background-color: #ffca28;
  color: #1c1e21;
}
#notify[data-notification-status='warning']:before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.984c4.407 0 8.016 3.609 8.016 8.016 0 4.406-3.608 8.016-8.016 8.016S3.984 16.407 3.984 12 7.593 3.984 12 3.984m0-2C6.478 1.984 1.984 6.477 1.984 12c0 5.521 4.493 10.016 10.016 10.016S22.016 17.522 22.016 12c0-5.523-4.495-10.016-10.016-10.016zm0 2c4.407 0 8.016 3.609 8.016' fill='%23C19100'/%3E%3Cpath d='M11.016,17.016h1.968V15h-1.968V17.016z M11.016,6.983v6.001h1.968V6.983H11.016z' fill='%23C19100'/%3E%3C/svg%3E")
    center / cover no-repeat;
}
/** bottom-right**/
.bottom-right {
  bottom: 0;
  right: 0;
}
#notify[data-notification-status='error'] {
  background-color: #e74c3c;
}
#notify[data-notification-status='error']:before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.984c4.407 0 8.016 3.609 8.016 8.016 0 4.406-3.608 8.016-8.016 8.016S3.984 16.407 3.984 12 7.593 3.984 12 3.984m0-2C6.478 1.984 1.984 6.477 1.984 12c0 5.521 4.493 10.016 10.016 10.016S22.016 17.522 22.016 12c0-5.523-4.495-10.016-10.016-10.016zm0 2c4.407 0 8.016 3.609 8.016' fill='%23ffffff'/%3E%3Cpath d='M13.406,12l2.578,2.578l-1.406,1.406L12,13.406l-2.578,2.578l-1.406-1.406L10.594,12L8.016,9.421l1.406-1.405L12,10.593 l2.578-2.577l1.406,1.405L13.406,12z' fill='%23ffffff'/%3E%3C/svg%3E")
    center / cover no-repeat;
}
/** bottom-left **/
.bottom-left {
  bottom: 0;
  left: 0;
}
#notify[data-notification-status='notice'] {
  background-color: #1877f2;
}
#notify[data-notification-status='notice']:before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.984c4.407 0 8.016 3.609 8.016 8.016 0 4.406-3.608 8.016-8.016 8.016S3.984 16.407 3.984 12 7.593 3.984 12 3.984m0-2C6.478 1.984 1.984 6.477 1.984 12c0 5.521 4.493 10.016 10.016 10.016S22.016 17.522 22.016 12c0-5.523-4.495-10.016-10.016-10.016zm0 2c4.407 0 8.016 3.609 8.016' fill='%23ffffff'/%3E%3Cpath d='M11.016,6.984V9h1.968V6.984H11.016z M11.016,17.016h1.968v-6h-1.968V17.016z' fill='%23ffffff'/%3E%3C/svg%3E")
    center / cover no-repeat;
}
.anime {
}
@keyframes button {
  50% {
    transform: scale(1.1) rotate(3deg);
  }
}
/* Define the animation */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 12px 40px rgba(24, 242, 35, 0.3);
  }
  100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }
}
/* Apply the animation to an element */
.anime-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Register Form Specific Styles */
.forms23-block-hny .form23 {
  max-width: 432px; /* Slightly wider for register form */
}

.name-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.name-row .half-width {
  flex: 1;
  margin-bottom: 0;
}

.username-email-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.username-email-row .half-width {
  flex: 1;
  margin-bottom: 0;
}

.birth-gender-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.date-wrapper,
.gender-wrapper {
  flex: 1;
}

.field-label {
  display: block;
  font-size: calc(12px * var(--font-scale));
  color: #b0b3b8;
  margin-bottom: 4px;
  text-align: left;
}

.date-input {
  margin-bottom: 0;
}

.gender-select {
  margin-bottom: 0;
}

.terms-notice {
  margin: 16px 0;
  padding: 12px;
  background: rgba(53, 242, 24, 0.1);
  border-radius: 6px;
  border-left: 3px solid var(--blue);
}

.terms-notice p {
  font-size: calc(11px * var(--font-scale));
  line-height: 1.4;
  color: #b0b3b8;
  margin: 0;
  text-align: left;
}

.signup-btn {
  background: #42b883;
  font-size: calc(18px * var(--font-scale));
  font-weight: 600;
  padding: 16px;
}

.signup-btn:hover {
  background: #369870;
  box-shadow: 0 4px 12px rgba(66, 184, 131, 0.3);
}

/* Responsive adjustments for register form */
@media (max-width: 480px) {
  .name-row,
  .username-email-row {
    flex-direction: column;
    gap: 0;
  }

  .name-row .half-width,
  .username-email-row .half-width {
    margin-bottom: 16px;
  }

  .birth-gender-row {
    flex-direction: column;
    gap: 0;
  }

  .date-input,
  .gender-select {
    margin-bottom: 16px;
  }

  .forms23-block-hny .form23 {
    max-width: 100%;
  }
}

/* Enhanced select styling for better dark mode appearance */
.custom-selects {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23b0b3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  padding-right: 40px;
}

.custom-selects option {
  background-color: #242526;
  color: #e4e6ea;
}

/* Date input styling improvements */
input[type='date'] {
  position: relative;
  color-scheme: dark;
}

input[type='date']::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23b0b3b8'%3e%3cpath fill-rule='evenodd' d='M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z' clip-rule='evenodd'/%3e%3c/svg%3e");
  cursor: pointer;
}

/* Error message styling for dark mode */
.alert {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  color: #ff6b6b;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: calc(14px * var(--font-scale));
}

.alert ul {
  margin: 0;
  padding-left: 20px;
}

.alert li {
  margin-bottom: 4px;
}
