
html, body {
    height: 100%;
}

.section.register::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(65, 84, 241, 0.8), rgba(65, 84, 241, 0.3));
  z-index: 1;
}

.section.register .container {
  position: relative;
  z-index: 2;
}

.bg-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;

  opacity: 0;
  transform: translateY(30px);
  animation: slideFadeIn 1s ease forwards;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-body {
  padding: 2rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid #fff; /* Optional: add your own border */
    border-radius: 8px;
    color: #fff;
}

label{
    color:white;
}

.form-control::placeholder {
  color: #eee;
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(65, 84, 241, 0.3), 0 4px 20px rgba(65, 84, 241, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-primary {
  background: #4154f1;
  border: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #2937d0;
}

h5.card-title, p.text-center {
  color: #fff;
}
