:root {
  --blue: rgb(33, 49, 90);
  --gold: rgb(187, 148, 71);
  --white: #ffffff;
  --gray: rgb(212, 212, 212);
  --button-bg: rgb(33, 49, 90);
  --background-degrade: linear-gradient(to right, rgb(14, 25, 51) 10%, rgb(23, 39, 77) 50%);
}

/* Reset básico */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-degrade);
  overflow: hidden;
  position: relative;
  z-index: 0;
}

body::before,
body::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
}

body::before {
  width: 400px;
  height: 400px;
  background: #ffffff33;
  top: -100px;
  left: -100px;
}

body::after {
  width: 500px;
  height: 500px;
  background: #ffffff22;
  bottom: -150px;
  right: -150px;
}

/* Container genérico para formulários/login/painéis */
.container-centered {
  position: relative;
  z-index: 1;
  background-color: var(--gold);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
  max-width: 400px;
  width: 90%;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo e imagens dentro do container */
.container-centered img {
  max-width: 160px;
  margin-bottom: 20px;
}

/* Títulos */
.title-main {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--white);
}

.title-sub {
  font-size: 15px;
  color: var(--blue);
  margin-bottom: 20px;
}

/* Inputs e formulários */
.input-default {
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Botões padrão */
.btn-primary {
  background-color: var(--button-bg);
  border: none;
  color: var(--white);
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  margin-top: 15px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: rgb(21, 35, 70);
}

.link-secondary {
  display: inline-block;
  margin-top: 15px;
  font-size: 14px;
  color: var(--button-bg);
  text-decoration: none;
  cursor: pointer;
}

.link-secondary:hover {
  text-decoration: underline;
}

/* 🔽 Ajustes para telas menores (mobile) */
@media (max-width: 576px) {
  .container-centered {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .container-centered img {
    max-width: 140px;
    margin-bottom: 15px;
  }

  .title-main {
    font-size: 20px;
  }

  .title-sub {
    font-size: 14px;
  }

  .input-default {
    font-size: 15px;
  }

  .btn-primary {
    font-size: 15px;
    padding: 10px;
  }

  .link-secondary {
    font-size: 13px;
  }
}
