/* RESET GERAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Arial Black", Arial, sans-serif;
  letter-spacing: 0.5px;
  background: radial-gradient(circle at top, #091235 0%, #091235 45%, #000000 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
}

/* CABEÇALHO COM LOGO */
.topo {
  background: rgba(0, 0, 0, 0.85);
  width: 100%;
  padding: 5px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 123, 255, 0.25);
}

.logo {
  width: 90px; /* aumenta só a logo */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* CONTAINER PRINCIPAL */
.container {
  margin-top: 18px;
  background: rgba(0, 0, 0, 0.55);
  padding: 28px 24px;
  border-radius: 18px;
  width: 95%;
  max-width: 430px;
  color: white;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.55);
  text-align: left;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 123, 255, 0.35);
}

/* TÍTULO */
h2 {
  text-align: center;
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 26px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-shadow: 0 0 10px rgba(0, 140, 255, 0.9);
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  margin: 10px auto 0 auto;
  border-radius: 20px;
  background: linear-gradient(90deg, transparent, #008cff, transparent);
  box-shadow: 0 0 10px rgba(0, 140, 255, 0.9);
}

/* LABELS */
label {
  font-size: 14px;
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
}

/* CAMPOS INPUT & SELECT */
input,
select {
  width: 100%;
  padding: 13px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  text-align: center;
  font-size: 15px;
  margin-bottom: 18px;
  font-family: "Arial Black", Arial, sans-serif;
  backdrop-filter: blur(6px);
  transition: 0.3s;
  outline: none;
}

input:focus,
select:focus {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid #009dff;
  box-shadow: 0 0 12px rgba(0, 157, 255, 0.65);
}

input:focus,
select:focus {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid #00d4ff;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

/* SELECT CUSTOMIZADO */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

select option {
  background: #0a0a4a;
  color: #fff;
  font-family: "Arial Black", Arial, sans-serif;
  padding: 10px;
}

/* BOTÃO CALCULAR */
button {
  display: block;
  margin: 18px auto 12px auto;
  width: 85%;
  padding: 14px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #000658, #0033cc, #000838);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 80, 255, 0.45);
  font-size: 15px;
}

button:hover {
  background: linear-gradient(90deg, #0033cc, #0066ff);
  transform: scale(1.04);
  box-shadow: 0 0 18px rgba(0, 123, 255, 0.8);
}

button:hover {
  background: linear-gradient(90deg, #0033cc, #0056b3);
  transform: scale(1.03);
}

/* RESULTADOS */
.caixa-resultado {
  margin-top: 20px;
}

.linha {
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 1px solid rgba(0, 123, 255, 0.55);
  border-radius: 25px;
  padding: 14px 18px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
}

/* RESPONSIVIDADE */
@media (max-width: 480px) {
  body {
    padding: 5px;
  }

  .container {
    width: 100%;
    margin-top: 10px;
    padding: 18px 14px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  }

  h2 {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.2;
  }

  label {
    font-size: 12.5px;
  }

  input,
  select {
    font-size: 13.5px;
    padding: 9px 8px;
    border-radius: 22px;
  }

  button {
    width: 100%;
    padding: 11px;
    font-size: 14px;
    border-radius: 22px;
    margin-top: 15px;
  }

  .linha {
    flex-direction: column;
    text-align: center;
    gap: 3px;
    font-size: 13.5px;
    padding: 8px 10px;
    border-radius: 20px;
  }

  .topo .logo {
    width: 55px;
  }
}
