.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.card-container {
  position: relative;
  width: 400px;
  height: 450px;
  transform-style: preserve-3d;
  transition:
    transform 0.6s ease-in-out,
    width 0.6s ease-in-out,
    height 0.6s ease-in-out,
    opacity 0.3s ease;
  z-index: 1;
}

.card-container.flip .card-front {
  transform: rotateY(180deg);
}

.card-container.flip .card-back {
  transform: rotateY(0deg);
  z-index: 2;
}

.card-side {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.6s ease, z-index 0.6s ease;
}

.card-front {
  transform: rotateY(0deg);
  z-index: 2;
}

.card-back {
  transform: rotateY(180deg);
  z-index: 1;
}

.card-container.resize {
  transition:
    width 0.6s ease-in-out,
    height 0.6s ease-in-out;
}

.auth-logo img {
  height: 52px;
}

.btn-custom {
  background-color: #0984e3;
  color: #fff;
  border: none;
}

.btn-custom:hover {
  background-color: #000;
  color: #fff;
}

input::placeholder {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

@media (max-width: 768px) {
  .row.g-3,
  .row.row-cols-1.row-cols-md-2 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 15px;
  }

  .col-md-6,
  .col-md-7,
  .col-md-5 {
    width: calc(50% - 7.5px);
  }

  .input-group {
    flex-wrap: nowrap;
  }

  .input-group .form-control {
    flex: 1;
  }

  .btn-outline-secondary {
    min-width: 60px;
  }
}