@import url('https://fonts.googleapis.com/css?family=Rubik:400,500i&display=swap');
@import 'https://cdn.jsdelivr.net/npm/bulma@0.9.1/css/bulma.min.css';

* {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #29798f #195566;
}

*::-webkit-scrollbar-track {
  background: #195566;
}

*::-webkit-scrollbar-thumb {
  background-color: #29798f;
  border-radius: 6px;
  border: 3px solid #195566;
}

html,
body {
  width: 100%;
  margin: 0;
  /* background: #0b323d; */
  background: radial-gradient(#143f4b, #061c22);
  font-family: 'Rubik', sans-serif;
  overflow-x: hidden;
}

.registration,
.login {
  overflow: hidden;
}

.registration body,
.login body,
.complete body {
  height: 100vh;
}

p,
a,
h2,
li,
span,
label,
input,
strong,
button {
  color: #ffffffb3;
  font-family: 'Rubik', sans-serif;
}

form {
  width: 700px;
  margin: 0 auto;
}

label.required:before {
  content: '⁎ ';
  color: #ffffffb3;
}

label.required.red:before {
  color: red;
}

.registration form,
.login form {
  width: 500px;
}

input {
  background-color: #24799149;
  border: 1px solid #195566;
  border-radius: 0 10px 10px 0;
  padding: 10px;
  width: 100%;
}

input:focus {
  outline: none;
  border: 1px solid #44bcdd;
}

input[type='radio'] {
  width: auto;
  margin-top: 0;
}

.hidden {
  display: none !important;
}

.relative {
  position: relative;
}

.message-success,
.message-error {
  width: 500px;
  margin: 20px auto 0;
}

.message-success p {
  margin-bottom: 20px;
}

.btn {
  background: #38a0bd;
  color: #000;
  transition: 150ms;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}

.btn:hover {
  background: #29798f;
}

.message-error a {
  text-decoration: underline;
  color: #38a0bd;
  transition: 150ms;
}

.registration .form-container {
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.form-container {
  margin: 0 auto;
  max-width: 960px;
  padding: 20px;
}

.messages .form-container {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.form-group-1,
.form-group-2 {
  margin-top: 20px;
}

.logo-form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.logo-form img {
  width: 300px;
}

.logo-form h2 {
  font-weight: 800;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

span.error {
  font-size: 12px;
  color: #ff7373;
}

/* Initial registration */
.modal-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000078;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.modal-loading .loading {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #195566;
  padding: 20px;
  border-radius: 15px;
  width: fit-content;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.modal-loading .loading .waiting {
  width: 30px;
  height: 30px;
  animation: rotate 1.5s infinite linear;
}

.modal-loading .loading .waiting i {
  font-size: 30px;
}

/* Complete registration */
.input-grid {
  display: grid;
  grid-template-areas: 'div div';
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.underage-warning {
  position: absolute;
  top: 5rem;
}

.socials {
  display: grid;
  grid-template-areas: 'A B' 'C D';
  gap: 12px;
  margin-top: 12px;
}

.socials .input-style {
  margin: 0;
}

.socials .instagram {
  grid-area: A;
}

.socials .facebook {
  grid-area: C;
}

.socials .twitter {
  grid-area: B;
}

.socials .tiktok {
  grid-area: D;
}

.input-style {
  display: flex;
  align-items: stretch;
  margin-top: 12px;
}

.input-style .icon {
  background-color: #44bcdd;
  border-radius: 10px 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 38px;
}
.input-style .input{
  width: 100%;
  padding: 10px 0;
  border: 0;
  outline: 0;
}
.input-style .inputWithEye{
  border-radius: 0 0 0 0;
  width: 100%;
  padding: 10px;
  border: 0;
  outline: 0;
}
.input-style img{
  background-color: #24799149;
  border-radius: 0 10px 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 38px;
  cursor: pointer;
}
.icon i {
  color: #000;
  font-size: 22px;
}

.genders label {
  width: fit-content;
}

.genders label:first-child {
  margin-bottom: 12px;
}

.genders label:not(:last-child) {
  margin-bottom: 10px;
}

.country-nationality,
.country-live {
  height: 200px;
  overflow-y: scroll;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-behavior: smooth;
}

.search-nationality,
.search-live {
  display: flex;
  align-items: center;
  border: 1px solid #195566;
  border-radius: 10px;
  padding: 0 10px;
  width: 200px;
  margin: 10px 0;
}

.search-nationality i,
.search-live i {
  font-size: 15px;
  color: #fff;
}

.search-nationality input,
.search-live input {
  margin: 0;
  background: none;
  border: none;
}

.country-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 150ms;
  padding: 0 10px;
  cursor: pointer;
}

.country-list-item input {
  margin: 0;
}

.country-list-item .country-name {
  width: 60%;
}

.country-flag {
  width: 35px;
  height: 35px;
  border-radius: 50px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.control-btn {
  padding: 10px 20px;
  background: #195566;
  border: 1px solid #44bcdd;
  border-radius: 50px;
  cursor: pointer;
  transition: 200ms ease-out;
}

.control-btn:hover {
  background: #44bcdd;
  color: #000;
}

.control-btn:active {
  background: #38a0bd;
  color: #000;
}

.form-group-2 h2 {
  margin-bottom: 12px;
  font-weight: bold;
}

.commitments-container {
  width: 500px;
  margin: 20px auto;
}

.commitment-list {
  padding-bottom: 20px;
  /* max-height: 650px;
    overflow-y: scroll;
    border: 1px solid #29798f;
    padding: 10px 20px; */
}

.commitment-list label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 12px 0;
  cursor: pointer;
  width: fit-content;
}

.commitment-list label .img-wrapper {
  width: 35px;
}

.commitment-list label img {
  width: 100%;
}

.commitment-list .read-more button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 120px;
  padding: 10px 15px;
  border: none;
  border-radius: 50px;
  background: none;
  margin-bottom: 20px;
  cursor: pointer;
}

.commitment-list .read-more button:hover {
  background: #24799149;
}

.commitment-list .read-more button img {
  width: 20px;
  filter: invert(75%);
  transition: transform 200ms ease-out;
}

.commitment-list .read-more button.active img {
  transform: rotate(180deg);
}

.commitment-list .read-more .read-more-content {
  max-height: 0;
  display: block;
  overflow: hidden;
  transition: max-height 200ms ease-out;
  padding: 0px 10px;
}

.underage-form-container {
  margin: 20px 0;
}

/* LOGIN screen */
.error-email {
  color: #fb2a2a;
  font-size: 13px;
  margin-left: 5px;
}

.register-cta {
  margin-top: 12px;
  font-size: 12px;
}

.register-cta span {
  display: flex;
  gap: 5px;
}

.register-cta p {
  margin-top: 14px;
}

.register-cta a {
  color: #44bcdd;
}

/* SELECT2 THEME */
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow,
.select2-selection.select2-selection--single {
  height: 38px;
}

#select2-profession-container {
  color: #ffffffb3;
  font-size: 13px;
}

.select2-selection.select2-selection--single {
  border-radius: 0 10px 10px 0;
  background-color: #24799149;
  border: 1px solid #195566;
  display: flex;
  align-items: center;
}

.select2-dropdown {
  background-color: #247991;
  border: 1px solid #195566;
  color: #ffffffb3 !important;
  font-size: 13px !important;
}

.select2-dropdown strong {
  font-size: 14px !important;
}

.select2-container--default .select2-results__option--disabled {
  color: #ffffff7c !important;
}

.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable,
.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable:hover {
  background-color: #195161;
}

.select2-container--default .select2-results__option--selected {
  background-color: #004456;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-radius: 5px;
}

@media screen and (max-width: 800px) {
  .registration .form-container {
    position: relative;
    transform: none;
    top: 0;
  }

  form,
  .registration form,
  .login form,
  .message-success,
  .message-error {
    width: auto;
  }

  .input-grid {
    display: block;
  }

  .underage-warning {
    position: relative;
    top: auto;
    margin: 12px 0 10px;
  }

  .socials {
    display: flex;
    flex-direction: column;
  }

  .commitments-container {
    width: auto;
  }
}
