/* ============================================================
   TELAS PÚBLICAS DE AUTENTICAÇÃO
============================================================ */
html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #f2f3f1;
}

.navbar-custom,
  #sidebar,
  .sidebar,
  .sidebar-overlay,
  #toast-region,
  #toast-root,
  .messages-container {
    display: none !important;
  }

  html,
  body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
  }

  body {
    padding: 0 !important;
    background: #f2f3f1;
  }

  /* Remove margens reservadas para navbar e sidebar */
  #contentWrapper,
    .content-wrapper {
        width: 100% !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;

        margin: 0 !important;
        padding: 55px 20px 70px !important;

        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        background: #f2f3f1;
        box-sizing: border-box;
    }

  /* ============================================================
     CARD
  ============================================================ */
  .reset-card {
    width: 100%;
    max-width: 560px;
    flex-shrink: 0;
    margin: 0 auto;
   
    padding: 38px 34px 32px;

    background: #252525;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  }

  .reset-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-bottom: 28px;

    color: #38bdf8;
    font-size: 2rem;
    font-weight: 800;
  }

  /* ============================================================
     FORMULÁRIO
  ============================================================ */
  .reset-form .form-label {
    display: block;
    margin-bottom: 8px;

    color: #f8fafc !important;
    font-size: 0.9rem;
    font-weight: 700;
  }

  .reset-form input[type="password"],
  .reset-form input[type="text"] {
    width: 100%;
    height: 48px;
    padding: 0 14px;

    color: #fff !important;
    caret-color: #fff;

    background: #090c12 !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;

    outline: none;
    box-shadow: none;
  }

  .reset-form input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.15);
  }

  .reset-form .helptext,
  .reset-form .helptext ul {
    color: #d5deea !important;
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .reset-form .helptext {
    display: block;
    margin-top: 10px;
  }

  .reset-form .helptext ul {
    margin: 8px 0 0;
    padding-left: 20px;
  }

  .reset-form .helptext li::marker {
    color: #38bdf8;
  }

  .reset-form .errorlist {
    margin: 7px 0 0;
    padding-left: 18px;

    color: #f87171 !important;
    font-size: 0.82rem;
  }

  /* ============================================================
     BOTÃO E LINK
  ============================================================ */
  .reset-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 18px;

    border: 0;
    border-radius: 11px;

    color: #fff;
    background: linear-gradient(135deg, #2563eb, #38bdf8);

    font-size: 1rem;
    font-weight: 800;

    transition:
      transform 0.15s ease,
      filter 0.2s ease,
      box-shadow 0.2s ease;
  }

  .reset-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
  }

  .reset-login-link {
    display: block;
    margin-top: 20px;

    color: #38bdf8;
    text-align: center;
    text-decoration: underline;
  }

  .reset-login-link:hover {
    color: #7dd3fc;
  }

  /* ============================================================
     RESPONSIVO
  ============================================================ */
  @media (max-width: 576px) {
    #contentWrapper,
    .content-wrapper {
      padding: 20px 14px !important;
      align-items: flex-start !important;
    }

    .reset-card {
      margin-top: 20px;
      padding: 28px 20px;
    }

    .reset-title {
      font-size: 1.55rem;
    }
  }