/* ==========================================
   GWALNET STUDENT FOOTER
   ========================================== */
:root {
  --footer-bg: #1f2a44;
  --footer-border: #2563eb;
  --footer-text: #ffffff;
  --footer-hover: #60a5fa;
  --sidebar-width: 260px;
}

.footer {
  position: fixed;
  left: var(--sidebar-width);
  right: 0;
  bottom: 0;
  height: 55px;
  background-color: var(--footer-bg);
  border-top: 3px solid var(--footer-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  z-index: 850;
  transition: left 0.3s ease;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.footer-left {
  color: var(--footer-text);
  font-size: 0.875rem;
  font-weight: 400;
  white-space: nowrap;
}

.footer-left strong {
  color: var(--footer-text);
  font-weight: 700;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-right a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.footer-right a i {
  font-size: 0.9rem;
}

.footer-right a:hover {
  color: var(--footer-hover);
  transform: translateY(-1px);
}

.footer-back-btn {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.footer-back-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

/* Laptop & Tablet (Under 992px) */
@media (max-width: 992px) {
  .footer {
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
    padding: 1rem 1.25rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    text-align: center;
  }

  .footer-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem 1.15rem;
  }

  .footer-right a {
    font-size: 0.825rem;
  }
}

/* Small Mobile Screens (Under 480px) */
@media (max-width: 480px) {
  .footer-right {
    gap: 0.6rem 0.85rem;
  }

  .footer-right a span {
    font-size: 0.8rem;
  }
}