/* =========================
   Login Page Styles
   ========================= */

/* --- Base / layout --- */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
}

#main {
  flex: 1;
}

/* --- Particles background --- */
#particles-js {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #1db9de;
  z-index: -1;
}

/* --- Navbar alignment (top bar) --- */
.card-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: auto;
}

.navbar-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 30px;
}

.navbar-nav .nav-item:first-child {
  position: absolute;
  left: 0;
}

.navbar-nav .nav-item:last-child {
  position: absolute;
  right: 0;
}

/* --- Buttons --- */
.btn-custom {
  background-color: #23173d;
  color: #fff;
}

.btn-custom:hover {
  background-color: #1a1d2f;
}

@media (max-width: 576px) {
  .btn-custom {
    font-size: 0.75rem;
    white-space: nowrap;
  }
}

/* =========================
   Login Card (video background)
   ========================= */

.login-card {
  position: relative;
  overflow: hidden;
  background: transparent !important;
  border-radius: 12px;

  /* Frosted glass */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  /* Glow */
  box-shadow:
    0 0 25px rgba(29, 185, 222, 0.55),
    0 25px 60px rgba(0, 0, 0, 0.25);

  transition: box-shadow 0.3s ease;
}

.login-card:hover {
  box-shadow:
    0 0 35px rgba(29, 185, 222, 0.8),
    0 30px 70px rgba(0, 0, 0, 0.3);
}

/* Video layer */
.login-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* keeps the top area visible */
  z-index: 0;
}

/* Light overlay (keeps video bright) */
.login-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  z-index: 1;
}

/* Content sits above video */
.login-card-content {
  position: relative;
  z-index: 2;
}

/* Text on video */
.login-card-content,
.login-card-content label,
.login-card-content h5,
.login-card-content a {
  color: #fff !important;
}

/* Inputs readable */
.login-card-content .form-control {
  background: rgba(255, 255, 255, 0.92);
}

/* =========================
   Logo + magazines row
   ========================= */

.login-logo {
  display: block;
  width: calc((70px * 3) + (12px * 2));
  max-width: 100%;
  margin: 0 auto 12px;
}

.magazines {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 20px;
}

.magazines img {
  width: 70px !important;
  height: 95px !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 6px;
  display: block;

  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.magazines img:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* =========================
   Footer (if you use it)
   ========================= */

.footer {
  background-color: #ffffff;
  width: 100%;
  text-align: center;
  padding: 10px 0;
}

.footer-links a {
  text-decoration: none;
  color: #007bff;
}

.footer-links a:hover {
  text-decoration: underline;
}
