* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(to right, #7100c9, #9162be, #a813a4);
    display: flex
;
    align-items: center;
    justify-content: center;
    height: 100vh;
    animation: fadeIn 1sease-in-out;
}

.auth-container {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 400px;
  width: 90%;
  animation: slideUp 0.8s ease;
  transition: all 0.3s ease-in-out;
}

.form-box {
  text-align: center;
}

h2 {
  color: #fff;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input {
  padding: 12px;
  border: none;
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: 0.3s;
}

input::placeholder {
  color: #ccc;
}

input:focus {
  background: rgba(255, 255, 255, 0.2);
}

.toggle-pass {
  text-align: left;
  color: #ccc;
  font-size: 14px;
}

.btn-primary,
.btn-google {
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary {
  background-color: #003cff;
  color: white;
}

.btn-primary:hover {
  background-color: #f60000;
}

.btn-google {
  background-color: #fcfcfc;
  /* color: white; */
}

.btn-google:hover {
  background-color: #c23321;
}

.toggle-text {
  margin-top: 16px;
  color: #ccc;
  font-size: 14px;
}

.toggle-text span {
  color: #1abc9c;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.toggle-text span:hover {
  text-decoration: underline;
}

@keyframes slideUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    background-color: #000;
  }
  to {
    background-color: #2c5364;
  }
}

@media screen and (max-width: 480px) {
  .auth-container {
    padding: 30px 20px;
  }

  input,
  .btn-primary,
  .btn-google {
    font-size: 14px;
    padding: 10px;
  }
}
