/* ── Legacy login styles (login_old.html) ── */

.font-color-wh {
    color: white;
}

.navigation-bar-2 {
    background-color: #352d2f;
    height: 70px;
    width: 100%;
}

.custom-ocupe-space {
  height: 50%;
  width: 50%;
}

.center-form {
  text-align: center;
  background-color: white;
  padding: 35px;
  border-radius: 15px;
  display: inline-block;
  justify-content: center;
  align-items: center;
}

.bem-vindo-card {
  background-color: white;
  padding: 25px;
  border-radius: 15px;
  display: inline-block;
  justify-content: center;
  width: 320px;
  font-size: 25px;
}

.text-a-center {
  text-align: center;
}

/* ── New login styles (login.html) ── */

html, body {
  height: 100%;
  margin: 0;
}

/* ── Brand panel (left) ── */
.brand-panel {
  background-color: #352d2f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  text-align: center;
}

.brand-panel .logo-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(200, 191, 193, 0.4);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.brand-panel h1 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  font-family: monospace;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.brand-panel p {
  color: rgba(200, 191, 193, 0.75);
  font-size: 0.95rem;
  margin: 0;
}

.brand-panel .brand-footer {
  position: absolute;
  bottom: 2rem;
  color: rgba(200, 191, 193, 0.35);
  font-size: 0.75rem;
}

/* ── Form panel (right) ── */
.form-panel {
  background-color: #f7f3f4;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.form-box {
  width: 100%;
  max-width: 380px;
}

.form-box h2 {
  color: #352d2f;
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.form-box .subtitle {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-box p {
  margin-bottom: 1.2rem;
}

.form-box label {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 0.35rem;
}

.form-box input {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-box input:focus {
  border-color: #352d2f;
  box-shadow: 0 0 0 3px rgba(53, 45, 47, 0.1);
}

.btn-login {
  background-color: #352d2f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-login:hover {
  background-color: #4a3e40;
}

.btn-login:active {
  transform: scale(0.99);
}

/* ── Mobile: compact header bar + form fills remaining height ── */
@media (max-width: 767.98px) {
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .container-fluid {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .container-fluid > .row {
    flex: 1;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  /* Collapse brand panel into a slim horizontal bar */
  .brand-panel {
    min-height: auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.25rem;
    gap: 0.75rem;
    flex-shrink: 0;
  }

  .brand-panel .logo-ring {
    width: 38px;
    height: 38px;
    margin-bottom: 0;
  }

  .brand-panel h1 {
    font-size: 1.05rem;
    margin-bottom: 0;
  }

  /* Hide subtitle and footer on mobile */
  .brand-panel p,
  .brand-panel .brand-footer {
    display: none;
  }

  /* Form panel fills remaining viewport */
  .form-panel {
    flex: 1;
    min-height: 0;
  }
}