/* ===== BASE ===== */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: auto;
  overflow: auto;
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
}

body.scrollable {
  overflow: auto;
}

/* ==== SCROLL TO TOP ====*/
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: #efefef;
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: scale(1.05);
}

.scroll-to-top .arrow-up {
  color: #000;
  font-size: 20px;
  line-height: 1;
}

/* Header base */
header {
  width: 100%;
  height: var(--navbar-h);
}

/* Transición suave navbar */
#header {
  transition: transform 0.4s ease;
  position: fixed;
}

/* Utilidades */
.arrow-down {
  display: inline-block;
  font-size: 1.8rem;
  margin-top: 0.6rem;
  animation: blink 1.2s infinite;
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

/* Responsive utilidades */
@media (max-width: 480px) {
  .login-sec-bg p {
    font-size: 0.9rem;
    margin: 8px 0;
  }
}
