/* Tunetact Authentication CSS - Refreshed */

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

body {
  overflow: hidden;
  background-color: #050505;
  /* Fallback */
  color: #cbd5e1;
}

/* Container for positioning */
.background {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  /* Above ambient mesh */
}

#authentication-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glassmorphism Card */
.form {
  width: 480px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  /*! background: rgba(255, 255, 255, 0.03); */
  /*! border: 1px solid rgba(255, 255, 255, 0.1); */
  /*! backdrop-filter: blur(20px); */
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  /*! box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); */
  z-index: 100;
  overflow: hidden;
  padding-bottom: 2rem;
}

/* Header */
.form-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  gap: 15px;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.form-header img {
  height: 32px;
}

.form-header p {
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Body */
.form-body {
  display: flex;
  flex-direction: column;
  padding: 0 2.5rem;
  width: 100%;
  align-items: stretch;
}

.form-body-entry {
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-body-entry b {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 0.95rem;
}

.form-body-entry-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.form-body-entry-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Footer & Actions */
.form-footer {
  display: flex;
  flex-direction: column;
  padding: 0 2.5rem;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.form-footer-save {
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
}

.form-footer-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4);
}

.form-footer-loginoptions {
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-footer-loginoptions a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  color: #fff;
  font-weight: 500;
}

.form-footer-loginoptions a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Utilities */
#response {
  color: #ef4444;
  /* Red error */
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.25rem;
}

.form-footer-actions a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.form-footer-actions a:hover {
  color: #fff;
}

/* Mobile Responsive */
@media screen and (max-width: 767px) {
  body {
    /* No scroll on mobile auth */
    overflow: hidden;
  }

  .form {
    /* Fullscreen on tiny screens, but centered card on most mobile */
    width: 100%;
    height: 100%;
    max-width: 100%;
    border-radius: 0;
    border: none;
    background: #000;
    /* Or keep glass if preferred, but user said 'fullscreen mittig' */
    background: rgba(5, 5, 5, 0.85);
    /* Dark transparent */
    justify-content: center;
    /* Center vertically */
    padding-top: 0;
    /* Removing the 10rem offset */
  }

  .form-header {
    padding-top: 0;
  }
}