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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  background-color: #f0f4ff;
}

/* ── HEADER ── */
header {
  background: linear-gradient(135deg, #3056d3f2, #1b3fa3f2);
  height: 64px;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 36px;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.5rem;
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.2s;
}

nav a:hover {
  color: #fff;
}

.nav-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.nav-dropdown svg {
  width: 14px;
  height: 14px;
}

.btn-login-header {
  background: #0055d8;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 9px 22px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.btn-login-header:hover {
  background-color: #e8ecff;
}

/* ── PAGE TITLE ── */
.page-title-bar {
  background: linear-gradient(135deg, #3056d3f2, #1b3fa3f2);
  padding: 28px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title-bar::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  rotate: 180deg;
}

.page-title-bar h1 {
  font-size: 2.25rem;
  font-weight: 600;
  color: #fff;
}

/* ── LOGIN PAGE ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-delay: 0.15s;
}

.login-page {
  min-height: calc(85vh - 64px);
  background: linear-gradient(135deg, #eef2ff 0%, #e0e9ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.login-card {
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  max-width: 525px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.login-card-inner {
  padding: 32px 60px;
  text-align: center;
}

.login-logo {
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
}

.login-logo img {
  height: 40px;
  filter: brightness(0) saturate(100%) invert(27%) sepia(90%) saturate(800%)
    hue-rotate(210deg) brightness(90%);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #dde3f0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0d0d0d;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder {
  color: #aab0c4;
}

.form-input:focus {
  border-color: #3b7fef;
}

.btn-show-password {
  display: block;
  margin-left: auto;
  margin-top: 6px;
  background: none;
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3b7fef;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.btn-logar {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #3b52e0 0%, #2c3fcc 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.2s;
}

.btn-logar:hover {
  opacity: 0.9;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aab0c4;
  font-size: 0.88rem;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e8edf5;
}

.btn-retornar {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 32px;
  background: linear-gradient(135deg, #3b52e0 0%, #2c3fcc 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s;
}

.btn-retornar:hover {
  opacity: 0.9;
}

.login-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.login-links a {
  font-size: 0.9rem;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.login-links a:hover {
  color: #3b7fef;
}

.login-links p {
  font-size: 0.9rem;
  color: #888;
}

.login-links p a {
  color: #3b7fef;
  font-weight: 600;
}

/* decorative dots */
.dots {
  position: absolute;
  width: 64px;
  height: 64px;
  background-image: radial-gradient(circle, #c8d4f5 1.5px, transparent 1.5px);
  background-size: 10px 10px;
}

.dots-tr {
  top: 16px;
  right: 16px;
}

.dots-bl {
  bottom: 16px;
  left: 16px;
}

/* ── LOGIN FOOTER ── */
.login-footer {
  background-color: rgb(33 43 54);
  position: relative;
  z-index: 10;
  overflow: hidden;
  padding-top: 80px;
  animation-name: fadeInUp;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-delay: 0.15s;
}

@media (min-width: 960px) {
  .login-footer {
    padding-top: 120px;
  }
}

.footer-shape {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.footer-shape-tl {
  top: 0;
  left: 0;
  width: 200px;
  opacity: 0.8;
}

.footer-shape-br {
  bottom: 40px;
  right: 0;
  width: 160px;
  opacity: 0.6;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 20px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  height: 32px;
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 240px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

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

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #3b7fef;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-bottom-bar span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-bar a {
  color: #3b7fef;
  text-decoration: none;
  font-weight: 500;
}

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