:root{
  --height-field: 3rem;
  --winfo: 5rem;
}

#authRoot {
  width: min(100%, 500px);
  transition: all .3s ease;
}

.auth-card {
  width: 100%;
 }

.form__panel {
  /* display: flex; */
  /* flex-direction: column; */
  /* align-items: center; */
  gap: var(--padding-24-48);
}

.form__header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form__title {
  text-align: center;
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
}

.form__subtitle {
  text-align: center;
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
}

.form__body {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.form-group {
  min-width: min(100%, 500px);
  height: var(--height-field);
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-radius: .25rem;
  background: linear-gradient(90deg, #fff2, transparent);
}

.form-group input {
  width: calc(100% - var(--winfo) - 1rem);
  height: 100%;
  flex-grow: 1;
  padding-left: 1rem;
  color: #fff;
  font-size: var(--h4-font-size);
  border: none;
  background-color: #0000;
  outline: none;
  transition: all ease 0.2s;
  border-radius: .25rem;
  color: var(--text-color);
}

.form-group input:focus::placeholder {
  color: transparent;
}

.form-group input::placeholder {
  font-size: inherit;
  color: var(--first-color-light);
  font-size: var(--normal-font-size);
}

.form-group .error {
  height: 100%;
  width: var(--winfo);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .25rem;
  background-color: #fff2;
  overflow: hidden;
  color: #f44;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  pointer-events: none;
  user-select: none;
}

.form-group span div{
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 50%;
}

.form__error {
  text-align: center;
  color: #f88;
}

/* === DropDown === */

.dropdown-choice { 
  width: calc(100% - var(--winfo) - 1rem);
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  font-size: var(--h4-font-size);
  cursor: pointer;
}
.dropdown-choice::before {
  user-select: none;
  pointer-events: none;
  font-family: 'zen' !important;
  content: '\e914';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.dc-display {
  /* pointer-events: none; */
  height: 100%;
  width: calc(100% - 2rem);
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  outline: none;
  color: var(--text-color);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dc-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  /* border: 1px solid #ccc; */
  border-top: none;
  background: #222;
  display: none;
  z-index: 10;
}
.dropdown-choice.open .dc-list { display: block; }

.dc-list li {
  color: var(--first-color-light);
  font-size: var(--normal-font-size);
  line-height: 3rem;
  padding-inline: 1rem;
  cursor: pointer;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dc-list li:hover, .dc-list li.highlight {
  background: #47d4 !important;
}
.dc-list li:hover p, .dc-list li.highlight p {
  color: var(--title-color);
}

.dc-list li {
  transition: background 0.15s ease;
}

.dc-list li:nth-child(even) {
  background-color: #0002;
  box-shadow: 0 1px #333, 0 -1px #333;
}

.dc-list li p {
  pointer-events: none;
}

.country{
  width: calc(100% - 6rem);
  height: 100%;
  padding-left: 1rem;
	color: #fff;
	position: relative;
	-webkit-appearance: none;
  appearance: none;
	border: none;
	outline: none;
	text-indent: 0;
	border-radius: 4px;
	background-color: transparent;
	font-weight: 300;
  cursor: pointer;
}

.investnow {
  margin: auto;
  min-width: 15rem;
  height: var(--height-field);
  padding-inline: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #2fedbf;
  letter-spacing: 0.125em;
  font-size: var(--normal-font-size);
  font-weight: 700;
  line-height: 1;
  outline: none;
  border: 1px solid hsla(0,0%,100%,.021);
  border-radius: .5rem;
  cursor: pointer;
  background: hsla(0,0%,100%,.08);
  transition: box-shadow .2s, background-color .2s, border-color .2s, color .2s;
}

.investnow:hover {
  box-shadow: 0 0 10px #2fedbf, 0 0 20px #f4daff,0 0 30px #2fedbf;
  transition-delay: .6s
}

.investnow span {
  position: absolute;
}

.investnow span:first-child {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,transparent,#2fedbf)
}

.investnow:hover span:first-child {
  left: 100%;
  transition: .7s;
}

.investnow span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,transparent,#f4daff)
}

.investnow:hover span:nth-child(3) {
  right: 100%;
  transition: .7s;
  transition-delay: .35s
}

.investnow span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg,transparent,#2fedbf)
}

.investnow:hover span:nth-child(2) {
  top: 100%;
  transition: .7s;
  transition-delay: .17s
}

.investnow span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(1turn,transparent,#f4daff)
}

.investnow:hover span:nth-child(4) {
  bottom: 100%;
  transition: .7s;
  transition-delay: .52s
}

/* .investnow:active {
  background: #2fedbf;
  background: linear-gradient(to top right,#2fedbf,#f4daff);
  color: #fff;
  box-shadow: 0 0 8px #2fedbf,0 0 8px #f4daff,0 0 8px #2fedbf;
  transition: .1s
} */

/* .investnow:active span:first-child span:nth-child(2) span:nth-child(2) span:nth-child(2) {
  transition: none;
  transition-delay: none
} */


@media screen and (min-width: 768px) {

  #authRoot {
    width: auto;
  }

  .form__body__block {
    grid-template: repeat(3, 1fr) / repeat(2, 1fr);
    row-gap: 1rem;
  }

  .form-group {
    width: var(--width-300-400);
  }

}

@media screen and (min-width: 968px) {

  :root {
    --height-field: 3.5rem;
  }

  .form-group {
    width: var(--width-300-500);
  }
}