@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html, body {
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

* {
  box-sizing: border-box;
  outline-color: #00062B;
}

body {
  background-image: url('../img/background.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 60px 42px;
}

header a {
  font-size: 16px;
  font-weight: 600;
  color: #4EFFCD;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

header a:hover {
  text-decoration: underline;
}

header h1 {
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

#kc-locale-dropdown {
  position: absolute;
  background: #7F687733;
  backdrop-filter: blur(13px);
  color: #FFFFFF;
  top: 32px;
  border-radius: 4px;
  min-width: 100%;
}

#kc-locale-dropdown.hidden {
  display: none;
  opacity: 0;
}

#kc-locale-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}

#kc-locale-dropdown ul li {
  display: flex;
}

#kc-locale-dropdown ul li a {
  color: #FFFFFF;
  font-size: 14px;
  width: 100%;
  padding: 8px 16px;
  justify-content: start;
  gap: 16px;
}

#kc-locale-dropdown ul li a.active {
  color: #4EFFCD;
}

#kc-locale-dropdown ul li img {
  max-height: 20px;
}

.panels-wrapper {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 0 42px 60px 42px;
}

.panels-wrapper .left-panel,
.panels-wrapper .right-panel {
  width: 100%;
  max-width: 551px;
}

.panels-wrapper .right-panel {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0px 2px 6px -1px #1C375A1F;
  box-shadow: 0px 8px 24px -4px #1C324F30;
}

.panels-wrapper .right-panel #kc-page-title {
  margin: 0;
  text-align: center;
}

.panels-wrapper .left-panel {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.panels-wrapper .left-panel .box {
  display: flex;
  gap: 12px;
  padding: 12px 24px;
  background: #7F687733;
  backdrop-filter: blur(13px);
  margin-right: auto;
  align-items: center;
}

.panels-wrapper .left-panel h1 {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 36px;
  margin: 0;
}

.panels-wrapper .left-panel .box img {
  height: 48px;
  width: 48px;
  max-height: 48px;
  max-width: 48px;
}

.panels-wrapper .left-panel .box h2 {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 18px;
}

h1 {
  font-weight: 600;
  font-size: 28px;
  line-height: 125%;
  color: #192434;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group label {
  font-weight: 500;
  font-size: 14px;
  color: #1B2B41B8;
}

.form-group .input {
  height: 36px;
  border-radius: 4px;
  width: 100%;
  border: none;
  background: #1A38601A;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 500;
}

.form-group .input::placeholder {
  color: #1C304A85;
}


.input[aria-invalid="true"] {
  background: #E71D131A !important;
  outline-color: #C24D09 !important;
}

.input-error {
  color: #CA150C;
  font-size: 12px;
  line-height: 125%;
}

.btn {
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  color: #00062B;
  border: 1px solid #00062B;
  height: 39px;
  font-size: 'Barlow', sans-serif;
  width: 100%;
  background: #FFFFFF;
}

.btn:hover {
  transition: all 0.2s ease;
  background: #00062b10;;
  cursor: pointer;
}

.btn-primary {
  background: #00062B;
  color: #FFFFFF;
  border: none;
}

.btn-primary:hover {
  opacity: 0.85;
  transition: all 0.2s ease;
  cursor: pointer;
  background: #00062B;
}

a {
  font-weight: 500;
  font-size: 14px;
  color: #00062B;
  text-decoration: underline;
}

.password-visibility-btn {
  display: none;
}

#kc-form-buttons {
  padding-top: 8px;
}

.checkbox label {
  display: flex;
  align-items: center;
  color: #000000;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  padding-left: 26px;
}

.checkbox label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox label .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #1A38601A;
  border: none;
  border-radius: 4px;
}

.checkbox label .checkmark:after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  content: "";
  position: absolute;
  display: none;
}

.checkbox label input:checked ~ .checkmark {
  background-color: #00062B;
}

.checkbox label input:checked ~ .checkmark:after {
  display: block;
}

#kc-info {
  font-size: 16px;
  font-weight: 400;
}

#kc-info #kc-registration {
  margin-top: 16px;
}

#kc-info #kc-registration a {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

#kc-info #kc-registration a:hover {
  text-decoration: underline;
}

#kc-info .instruction a {
  font-size: 16px !important; 
}

#kc-info #kc-registration span {
  display: flex;
  align-items: center;
  justify-content: center;
}

#kc-info #kc-registration a {
  margin-left: 12px;
  display: flex;
  align-items: center;
}

#kc-info #kc-registration a img {
  margin-left: 12px;
}

#kc-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alert {
  min-height: 52px;
  border-radius: 4px;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 400;
}

.alert::before {
  margin-right: 12px;
  height: 24px;
}

.alert-success {
  color: #000000;
  background: #4effcd40;
  border: 1px solid #4effcd;
}

.alert-success::before,
.alert-error::before,
.alert-warning::before {
  content: url('../img/error_outline.svg');
}

.alert-error {
  color: #000000;
  background: #E71D131A !important;
  border: 1px solid #C24D09 !important;
}

.alert-warning {
  color: #000000;
  background: #F9C94D1A !important;
  border: 1px solid #F9C94D !important;
}

.subtitle {
  color: #707070;
  font-weight: 400;
  font-size: 14px;
}

#kc-social-providers {
  position: relative;
}

#social-providers-dropdown {
  position: absolute;
  box-shadow: 0px 2px 6px -1px #1c375a60;
  top: 42px;
  border-radius: 4px;
  min-width: 100%;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(13px);
  background: #7F687733;
}

#social-providers-dropdown.hidden {
  display: none;
}

#social-providers-dropdown a {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00062B;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}

#social-providers-dropdown a:hover {
  cursor: pointer;
  text-decoration: underline;
}

@media screen and (max-width: 860px) {
  .panels-wrapper {
    flex-direction: column;
    padding: 0 24px 60px 24px;
  }

  .panels-wrapper .left-panel,
  .panels-wrapper .right-panel {
    max-width: 100%;
    width: 100%;
  }

  .panels-wrapper .left-panel {
    gap: 24px;
  }

  .panels-wrapper .left-panel .box {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 660px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }

  .panels-wrapper {
    padding: 24px;
    padding-top: 0;
  }
}
