/* Ammonly Main CSS - Premium Glassmorphism */
body {
  margin: 0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  background: linear-gradient(-45deg, #0f172a, #1e1b4b, #312e81, #172554);
  background-size: 400% 400%;
  animation: gradient-bg 15s ease infinite;
  min-height: 100vh;
  color: #f8fafc;
}

.auth-body {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes gradient-bg {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.auth-card {
  background: rgb(255 255 255 / 3%);
  backdrop-filter: blur(20px);
  border: 1px solid rgb(255 255 255 / 5%);
  border-radius: 24px;
  box-shadow:
    0 25px 50px -12px rgb(0 0 0 / 50%),
    inset 0 1px 0 rgb(255 255 255 / 10%);
  padding: 3.5rem;
  width: 100%;
  max-width: 480px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.auth-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 35px 60px -15px rgb(0 0 0 / 60%),
    inset 0 1px 0 rgb(255 255 255 / 20%);
}

/* Custom inputs for Glassmorphism */
.form-control,
.form-control:focus {
  background: rgb(0 0 0 / 20%);
  border: 1px solid rgb(255 255 255 / 10%);
  color: #fff;
  border-radius: 12px;
  box-shadow: inset 0 2px 4px rgb(0 0 0 / 10%);
}

.form-control:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 0.25rem rgb(99 102 241 / 25%);
}

.form-floating label {
  color: rgb(255 255 255 / 60%);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: rgb(255 255 255 / 90%);
}

.form-floating > .form-control {
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 14px 0 rgb(99 102 241 / 39%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  box-shadow: 0 6px 20px rgb(99 102 241 / 23%);
  transform: translateY(-2px);
}

.navbar-custom {
  background: rgb(15 23 42 / 80%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.sidebar {
  min-height: calc(100vh - 60px);
  background: rgb(15 23 42 / 70%);
  backdrop-filter: blur(16px);
  border-right: 1px solid rgb(255 255 255 / 10%);
}

.sidebar .nav-link {
  color: rgb(255 255 255 / 75%);
  border-radius: 8px;
  margin-bottom: 4px;
  padding: 0.6rem 1rem;
  transition: all 0.2s ease;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  color: #fff;
  background: rgb(99 102 241 / 25%);
  border: 1px solid rgb(99 102 241 / 40%);
}

.content {
  padding: 2rem;
}

.card-glass {
  background: rgb(255 255 255 / 4%);
  backdrop-filter: blur(16px);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 16px;
  color: #f8fafc;
}

.text-muted-light {
  color: rgb(255 255 255 / 70%);
}

.btn-outline-light-custom {
  color: #f8fafc;
  border-color: rgb(255 255 255 / 20%);
  background: rgb(255 255 255 / 5%);
}

.btn-outline-light-custom:hover {
  background: rgb(255 255 255 / 15%);
  color: #fff;
}

.footer {
  background: rgb(15 23 42 / 90%);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid rgb(255 255 255 / 5%);
  color: rgb(255 255 255 / 60%);
}

.header svg {
  max-width: 200px;
  height: auto;
}

.footer-icons svg {
  width: 24px;
  height: 24px;
  fill: currentcolor;
}
