* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Century Gothic", sans-serif;
}
body {
  overflow-y: scroll;
  height: 100vh;
}
section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}
.box_login {
  position: relative;
}
.container_acc {
  position: relative;
  width: 400px;
  min-height: 400px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.form {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 40px;
}
.form a {
  color: #4e51ff;
}
.form a:hover {
  color: #8385ff;
}
.form h2 {
  position: relative;
  color: #575757;
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 60px;
}
.form h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 160px;
  height: 4px;
  background: #575757;
}
.form .inputBox {
  width: 100%;
  margin-top: 10px;
}
.form .inputBox input {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  outline: none;
  padding: 10px 20px;
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  resize: none;
}
.form .inputBox textarea {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  outline: none;
  padding: 10px 20px;
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Анимация текста в input */
.container_acc .inputBox {
  position: relative;
  width: 300px;
  height: 66px;
}
.container_acc .inputBox span {
  position: absolute;
  top: 1px;
  left: 1px;
  padding: 10px;
  display: inline-block;
  font-size: 16px;
  color: #575757;
  font-weight: 600;
  transition: 0.5s;
  pointer-events: none;
  background-color: #fefbfb;
  border-radius: 35px;
}
.container_acc .inputBox input:valid ~ span,
.container_acc .inputBox input:focus ~ span {
  transform: translateX(-10px) translateY(-32px);
  font-size: 12px;
  font-weight: 600;
}

/* Кнопки входа и регистрация */
.form .inputBox input[type="submit"] {
  background: #eeeeee;
  color: #666;
  font-weight: 600;
  cursor: pointer;
}
.form .inputBox input[type="submit"]:hover {
  color: black;
  background: #ffeeee;
}
.regist {
  color: #585858;
  margin-top: 15px;
  font-weight: 600;
}
.regs {
  max-width: 210px;
}
.log {
  max-width: 100px;
}
/* Иконки шапки (корректировка) */
.icon_link::after:hover {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60%;
  height: 2px;
  margin-left: -5%;
  background: #fff;
}
.icon_acc::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60%;
  height: 2px;
  margin-left: -5%;
  background: #fff;
}

/* Анимация шаров на фоне */
.box_login .square {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  animation: animate 10s linear infinite;
  animation-delay: calc(-1s * var(--i));
}
@keyframes animate {
  0%,
  100% {
    transform: translateY(-40px);
  }
  50% {
    transform: translateY(40px);
  }
}
.box_login .square:nth-child(1) {
  top: -50px;
  right: -60px;
  width: 100px;
  height: 100px;
}
.box_login .square:nth-child(2) {
  top: 150px;
  left: -100px;
  width: 120px;
  height: 120px;
  z-index: 2;
}
.box_login .square:nth-child(3) {
  bottom: -50px;
  right: -60px;
  width: 80px;
  height: 80px;
  z-index: 2;
}
.box_login .square:nth-child(4) {
  bottom: -80px;
  left: 100px;
  width: 50px;
  height: 50px;
}
.box_login .square:nth-child(5) {
  top: -80px;
  left: 140px;
  width: 60px;
  height: 60px;
}

/* Админ панель */
.container_table {
  min-width: 320px;
  max-width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
}

table td,
table th {
  padding: 10px;
  border: 1px solid #cbbdbd;
  text-align: center;
}

tr:nth-child(even) {
  background-color: #f0f4c3;
}
@media (max-width: 1590px) {
  .container_table table thead {
    display: none;
  }
  .container_table table tr {
    display: block;
  }
  .container_table table td {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    text-align: right;
  }
  table td {
    text-align: right;
  }
  .container_table table td::before {
    content: attr(data-label);
    font-weight: bold;
    text-align: right;
  }
}
