@import url("https://fonts.googleapis.com/css2?family=Poppins: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&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #050717;
}

.container {
  inset: 4px;
  background: #23293a;
  border-radius: 15px;
}

.box {
  position: relative;
  width: 380px;
  height: 400px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.box::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -2px;
  margin: auto;
  width: 384px;
  height: 404px;
  border-radius: 14px;
  background: linear-gradient(-45deg, #3b82f6 0%, #8b5cf6 100%);
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.box::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #3b82f6 0%, #8b5cf6 100%);
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

.box:hover::after {
  filter: blur(30px);
}

.box:hover::before {
  transform: rotate(90deg) scaleX(1.05) scaleY(.95);
}

.box1 {
  position: relative;
  width: 480px;
  height: 650px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.box1::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -2px;
  margin: auto;
  width: 484px;
  height: 654px;
  border-radius: 14px;
  background: linear-gradient(-45deg, #3b82f6 0%, #8b5cf6 100%);
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.box1::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #3b82f6 0%, #8b5cf6 100%);
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

.inner-box {
  position: absolute;
  inset: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1000;
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transition: 0.5s;
  color: #fff;
  overflow: hidden;
}

.form, form {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  width: 90%;
  transition: 0.5s;
}



.form h2 {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: #1c6fff;
}

.form input {
  width: 100%;
  padding: 8px 10px;
  outline: none;
  font-size: .9em;
  color: #fff;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.form input::placeholder {
  color: #999;
}

.form input[type="submit"] {
  background: linear-gradient(-45deg, #3b82f6 0%, #8b5cf6 100%);
  border: none;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: 0.5s;
}

.form input[type="submit"]:hover {
  box-shadow: 0 0 5px #8b5cf6, 0 0 20px #3b82f6;
}

.btns {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.btns> {
  text-decoration: underline;
  color: rgb(0, 110, 255);
}

.btns a,
.btns span {
  font-size: 14px;
}

.btns span a {
  color: #1c6fff;
  font-weight: 600;
  margin-left: 3px;
  text-decoration: none;
}

.alert {
  position: relative;
  padding: 15px 20px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
}   
.alert-dismissible {
  padding-right: 35px;
}

.alert .btn-close {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;5;
  color: #000;
  cursor: pointer;
}

.alert-danger {
  background-color: #ff0015;
  color: #ffffff;
  border: 1px solid #f5c6cb;
}

.alert-success {
  color: #01ff78;
}

.opacity-75 {
  opacity: 0.75 !important;
}

.error-box {
  color: red;
  font-size: 0.9em;
  margin-top: -10px;
  margin-bottom: 10px;
  border-radius: 12px;
}