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

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

* {
    box-sizing: border-box;
}

.ps-card {
    background: #fff;
    width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* LEFT PANEL */
.ps-left {
    background: linear-gradient(160deg, #1a3a6e 0%, #0d2545 100%);
    color: #fff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 60%;
    flex-shrink: 0;
}

.ps-logo-box {
    width: 128px;
    height: 128px;
    background: #fff;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ps-logo-box img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    color: #fff;
}

.ps-title {
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 6px;
}

.ps-subtitle-small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 28px;
}

/* RIGHT PANEL */
.ps-right {
    flex: 1;
    padding: 50px 42px;
}

/* TABS */
.ps-tab-row {
    display: flex;
    border-bottom: 2px solid #e8ecf0;
    margin-bottom: 30px;
}

.ps-tab {
    font-size: 13px;
    font-weight: 500;
    color: #8fa0b5;
    padding: 0 0 12px;
    margin-right: 24px;
    cursor: pointer;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    background: none;
    letter-spacing: .02em;
    transition: color .2s, border-color .2s;
}

.ps-tab.active {
    color: #1a3a6e;
    border-bottom-color: #1a3a6e;
}

.ps-section {
    display: none;
}

.ps-section.active {
    display: block;
}

/* SECTION HEADER */
.ps-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2840;
    margin: 0 0 6px;
}

.ps-section-desc {
    font-size: 13px;
    color: #8fa0b5;
    margin: 0 0 24px;
}

/* FIELDS */
.ps-field {
    margin-bottom: 16px;
}

.ps-field label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #5a6a7a;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ps-field .form-control {
    height: 44px;
    border: 1.5px solid #dde3ea;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    color: #1a2840;
    background: #f7f9fc;
    font-family: 'DM Sans', sans-serif;
    box-shadow: none;
    transition: border-color .2s, background .2s;
}

.ps-field .form-control:focus {
    border-color: #3a8eff;
    background: #fff;
    outline: none;
    box-shadow: none;
}

.ps-field-row {
    position: relative;
}

.ps-field-row .form-control {
    padding-right: 42px;
}

.ps-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #8fa0b5;
    background: none;
    border: none;
    padding: 0;
    font-size: 15px;
    line-height: 1;
}

/* FORGOT */
.ps-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
    margin-top: 2px;
}

.ps-forgot {
    font-size: 12px;
    color: #3a8eff;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
}

/* BUTTONS */
.ps-btn {
    width: 100%;
    height: 46px;
    background: #1a3a6e;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .03em;
    font-family: 'DM Sans', sans-serif;
    transition: background .2s;
    display: block;
}

.ps-btn:hover {
    background: #224a8a;
    color: #fff;
}

.ps-btn-success {
    background: #1a6e3a;
    margin-bottom: 12px;
}

.ps-btn-success:hover {
    background: #1f8045;
}

.ps-btn-secondary {
    width: 100%;
    height: 46px;
    background: transparent;
    color: #1a3a6e;
    border: 1.5px solid #dde3ea;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background .2s, border-color .2s;
    display: block;
}

.ps-btn-secondary:hover {
    background: #f0f4f8;
    border-color: #b5c2d0;
}

/* BADGE */
.ps-badge {
    display: inline-block;
    font-size: 10px;
    background: #e6f1fb;
    color: #185fa5;
    border-radius: 20px;
    padding: 3px 12px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ALERTS */
.ps-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
    display: none;
}
.ps-alert a{
  color: inherit;
}

.ps-alert.danger {
    background: #fff0f0;
    color: #a32d2d;
    border: 1px solid #f7c1c1;
    display: block;
}

.ps-alert.success {
    background: #eaf3de;
    color: #3b6d11;
    border: 1px solid #c0dd97;
    display: block;
}

.ps-alert.info {
    background: #e6f1fb;
    color: #185fa5;
    border: 1px solid #b5d4f4;
    display: block;
}

/* STEPS */
.ps-step {
    display: none;
}

.ps-step.active {
    display: block;
}

/* BACK */
.ps-back {
    font-size: 12px;
    color: #8fa0b5;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 16px;
    font-family: 'DM Sans', sans-serif;
}

.ps-back:hover {
    color: #1a3a6e;
}

/* RESPONSIVE */
@media (max-width: 650px) {
    .ps-card {
        flex-direction: column;
    }

    .ps-left {
        width: 100%;
        padding: 30px 24px;
    }

    .ps-right {
        padding: 30px 24px;
    }

    .ps-tab {
        font-size: 12px;
        margin-right: 14px;
    }
}

.app-navbar {
  background: #ffffff;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-navbar a, .app-navbar a:hover {
  text-decoration: none;
  color: inherit;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-icon img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

/* Caso queira usar PNG: substitua o SVG por <img src="icone.png" alt="Logo" width="20" height="20"> */

.brand-name {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

/* ── Avatar Dropdown ── */
.avatar-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.avatar-dropdown .dropdown-toggle:hover {
  background: #f1efe8;
}

.avatar-dropdown .dropdown-toggle::after {
  display: none;
}

.avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e6f1fb;
  color: #185fa5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  flex-shrink: 0;
}

.avatar-label {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar-chevron {
  width: 14px;
  height: 14px;
  stroke: #888780;
  flex-shrink: 0;
}

.avatar-dropdown .dropdown-menu {
  min-width: 180px;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 6px;
  background: #ffffff;
  margin-top: 6px;
}

.avatar-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #1a1a1a;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
}

.avatar-dropdown .dropdown-item:hover {
  background: #f1efe8;
  color: #1a1a1a;
}

.avatar-dropdown .dropdown-item.text-danger {
  color: #a32d2d !important;
}

.avatar-dropdown .dropdown-item.text-danger:hover {
  background: #fcebeb;
}

.avatar-dropdown .dropdown-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.avatar-dropdown .dropdown-divider {
  border-color: rgba(0,0,0,0.08);
  margin: 4px 0;
}

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: #fff;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  padding: 0 1.5rem;
  height: 40px;
  display: flex;
  align-items: center;
}

.breadcrumb {
  background: none;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #5f5e5a;
}

.breadcrumb-item a {
  color: #5f5e5a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.12s;
}

.breadcrumb-item a:hover {
  color: #1a1a1a;
}

.breadcrumb-item.active {
  color: #1a1a1a;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: none;
}

.bc-sep {
  width: 13px;
  height: 13px;
  stroke: #888780;
  opacity: 0.5;
  flex-shrink: 0;
}

.bc-icon {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  flex-shrink: 0;
}

.app-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #111;
}
.app-link:hover { text-decoration: none; color: #111; }
.app-link:hover .app-icon { border-color: rgba(0,0,0,0.25); background: #f0f0f0; }
.app-link:active .app-icon { transform: scale(0.95); }
.app-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 0.5px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  background-color: transparent;
}
.app-icon svg { width: 60%; height: 60%; }
.app-name {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  color: #555;
}
.col-app { margin-bottom: 1.25rem; }

footer{
  padding: 2rem 0;
  background-color: #f0f0f0;
  border-top: 1px solid rgba(0,0,0,0.12);
  text-align: center;
}

footer .cc-primary {
  color: #111;
  font-size: 1rem;
  font-weight: 500;
}
footer .cc-secondary {
  color: #555;
  font-size: .875rem;
  margin-top: 0.25rem;
}

.container.box{
  background-color: #fff;
  border: 0.5px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  margin-top: 1rem;
  padding: 0;
  padding-bottom: 1rem;
}
.container.box .info{
  font-size: 1.25rem;
  color: #1a1a1a;
  padding: .5rem 1rem;
  border-bottom: 0.5px solid rgba(0,0,0,0.12);
  margin-bottom: .5rem;
}

.rc-header {
  background: linear-gradient(160deg, #1a3a6e 0%, #0d2545 100%);
  color: #fff;
  padding: 36px 40px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.rc-logo-box {
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rc-logo-box img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.rc-header-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #fff;
}

.rc-header-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0;
}

/* ── NOTICE BANNER ── */
.rc-notice {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #854f0b;
  margin-bottom: 6px;
  line-height: 1.55;
}

.rc-notice strong { color: #7c3500; }
.rc-notice a { color: #185fa5; font-weight: 500; }

/* ── OUTER WRAPPER ── */
.rc-wrap {
  max-width: 900px;
  margin: 28px auto 48px;
  padding: 0 16px;
}

/* ── SECTION CARDS ── */
.rc-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #e8ecf0;
  margin-bottom: 20px;
  overflow: hidden;
}

.rc-card-header {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rc-card-header.blue  { background: #1a3a6e; color: #fff; }
.rc-card-header.dark  { background: #1a2840; color: #fff; }
.rc-card-header.gray  { background: #4a5568; color: #fff; }

.rc-card-header svg {
  width: 15px;
  height: 15px;
  opacity: .8;
}

.rc-card-body {
  padding: 22px 20px 16px;
}

/* ── FIELDS ── */
.ps-field {
  margin-bottom: 16px;
}

.ps-field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #5a6a7a;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ps-field label .req {
  color: #e24b4a;
  margin-left: 2px;
}

.ps-field .form-control,
.ps-field .form-select {
  height: 44px;
  border: 1.5px solid #dde3ea;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  color: #1a2840;
  background: #f7f9fc;
  font-family: 'DM Sans', sans-serif;
  box-shadow: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}

.ps-field .form-control:focus,
.ps-field .form-select:focus {
  border-color: #3a8eff;
  background: #fff;
  outline: none;
  box-shadow: none;
}

.ps-field textarea.form-control {
  height: auto;
  padding: 10px 14px;
  resize: vertical;
}

/* password eye */
.ps-field-row { position: relative; }
.ps-field-row .form-control { padding-right: 42px; }
.ps-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #8fa0b5;
  background: none;
  border: none;
  padding: 0;
  font-size: 15px;
  line-height: 1;
}

/* ── BADGE / TAG ── */
.rc-badge {
  display: inline-block;
  font-size: 10px;
  background: #e6f1fb;
  color: #185fa5;
  border-radius: 20px;
  padding: 3px 12px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ── ALERTS ── */
.ps-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
}
.ps-alert.danger  { background: #fff0f0; color: #a32d2d; border: 1px solid #f7c1c1; }
.ps-alert.success { background: #eaf3de; color: #3b6d11; border: 1px solid #c0dd97; }
.ps-alert.info    { background: #e6f1fb; color: #185fa5; border: 1px solid #b5d4f4; }

/* ── DIVIDER ── */
.rc-divider {
  border: none;
  border-top: 1.5px solid #e8ecf0;
  margin: 6px 0 20px;
}

/* ── SUBMIT BUTTON ── */
.ps-btn {
  height: 46px;
  background: #1a3a6e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .03em;
  font-family: 'DM Sans', sans-serif;
  transition: background .2s;
  padding: 0 28px;
}
.ps-btn:hover { background: #224a8a; }
.ps-btn:active { background: #16306b; }

/* ── LINKS ── */
a.rc-link { color: #185fa5; font-weight: 500; }
a.rc-link:hover { text-decoration: underline; }

/* ── HELPER TEXT ── */
.rc-helper {
  font-size: 11.5px;
  color: #8fa0b5;
  margin-top: 4px;
}

/* ── CONDITIONAL SECTIONS ── */
.rc-conditional { display: none; }
.rc-conditional.visible { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .rc-header { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .rc-card-body { padding: 18px 14px 12px; }
  .rc-wrap { padding: 0 10px; }
}

#cpf_feedback{
  margin-top: 0 !important;
  padding: 0 !important;
}