*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --hover: #a78bfa;
  --color-text: #aaaaaa;
}

.wrapper-register{
  width: 500px;
  background: transparent;
  border: 2px solid rgb(255, 255, 255, .1);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  color: var(--color-text);
  border-radius: 15px;
  padding-bottom: 180px;
  padding-top: -30px;
  padding-right: 40px;
  padding-left: 40px;
}

.wrapper-register .logo{
  display: block;
  max-width: 300px;
  margin: 0 auto 20px;
}

.wrapper-register h1{
  font-size: 40px;
  text-align: right;
  margin: 0 0 55px;
  width: 25%;
}

.wrapper-register .input-box{
  height: 50px;
  margin: 22px 0 10px;
}

.input-box input{
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  border-bottom: 3px solid rgb(255, 255, 255, .2);
  border-radius: 40px;
  font-size: 16px;
  color: #aaaaaa;
  padding: 20px 45px 20px 20px;
}

.input-box input::placeholder{
  color: var(--color-text);
}

.input-field{
  position: relative;
  height: 50px;
}

.input-field input{
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  border-bottom: 3px solid rgba(255,255,255,.2);
  border-radius: 40px;
  font-size: 16px;
  color: #aaaaaa;
  padding: 20px 45px 20px 20px;
}

.input-field i{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  pointer-events: none;
  color: #cfcfcf;
}

.input-error{
  display: block;
  color: #ff6b6b;
  font-size: 13px;
  line-height: 1.2;
  margin: 6px 4px 0;
  min-height: 16px;
}

.input-box.has-error .input-field input{
  border-bottom-color: #ff6b6b;
}

.input-box.has-error .input-field i{
  color: #ff6b6b;
}

.wrapper-register .btn{
  width: 100%;
  height: 45px;
  background: var(--hover);
  border: none;
  border-radius: 40px;
  box-shadow: 0 0 15px rgb(0, 0, 0, .1);
  cursor: pointer;
  font-size: 16px;
  color: black;
  font-weight: 600;
  margin-top: 20px;
}

.wrapper-register .btn:hover {
  background: #7c3aed;
  transform: translateY(-2px);
  animation: glow 0.4s forwards ease;
}
@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.0);
  }
  100% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.8);
  }
}

.wrapper-register .register-link{
  font-size: 14.5px;
  text-align: center;
  margin-top: 20px;
}

.register-link p a{
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
}

.register-link p a:hover{
  color: var(--hover);
  text-decoration: underline;
}


.oauth-separator{
  position: relative;
  text-align: center;
  margin: 24px 0 14px;
  color: var(--color-text);
  font-size: 14px;
  user-select: none;
}
.oauth-separator::before,
.oauth-separator::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: rgba(255,255,255,0.16);
}
.oauth-separator::before{ left: 0; }
.oauth-separator::after{ right: 0; }
.oauth-separator span{
  padding: 0 10px;
  letter-spacing: .2px;
}

.oauth-buttons{
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 6px;
}

.oauth-btn{
  width: 120px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.35);
  box-shadow: 0 0 10px rgba(0,0,0,0.15) inset;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor: not-allowed;
}
.oauth-btn i{
  font-size: 22px;
  color: #cfcfcf;
}

.oauth-btn:hover{
  transform: translateY(-2px);
  background: rgba(20,20,20,0.55);
  border-color: rgba(124,58,237,0.35);
  box-shadow: 0 0 14px rgba(124,58,237,0.25);
}
.oauth-btn:active{
  transform: translateY(0);
  box-shadow: 0 0 6px rgba(124,58,237,0.25);
}




/* ------ Правая панель ------ */
.wrapper-board{
  width: 1350px;
  height: 900px;
  background: transparent;
  border: 2px solid rgb(255 255 255 / .1);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 10px rgba(0,0,0,.2);
  color: var(--color-text);
  border-radius: 15px;
  padding: 30px 40px 40px;
  display: flex;
  flex-direction: column;
  margin-left: 40px;
  margin-right: 40px;
}

.wrapper-board h2{
  font-size: 28px;
  margin: 0 0 10px;
  color: #e5e5e5;
  font-weight: 700;
}
.wrapper-board .board-text{
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 16px;
  white-space: pre-line;
}

.board-media{
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / .06);
  box-shadow: 0 0 10px rgba(0,0,0,.15) inset;
}

.wrapper-board .board{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
img{
  max-width: 100%;
  height: auto;
}

.terms-acceptance {
  margin: 20px 0;
  font-size: 13px;
  color: var(--color-text);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.checkbox-custom::after {
  content: '\2713';
  font-size: 14px;
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background-color: var(--hover);
  border-color: var(--hover);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  opacity: 1;
  transform: scale(1);
}

.checkbox-text a {
  color: var(--hover);
  text-decoration: none;
  font-weight: 600;
}

.checkbox-text a:hover {
  text-decoration: underline;
}
