:root {
  --ph-primary: #001442;
  --ph-primary-hover: #0b2c79;
  --ph-secondary: #FE5516;
  --ph-cream: #EDDABA;
  --ph-bg: #f5f2ed;
  --ph-soft: #fffaf2;
  --ph-border: rgba(0, 20, 66, .1);
  --ph-muted: #718096;
  --ph-success: #198754;
  --ph-warning: #d99000;
  --ph-danger: #dc3545;
  --ph-radius: 20px;
  --ph-shadow: 0 18px 45px rgba(0, 20, 66, .08);
}

body.candidate-panel-page {
  background: var(--ph-bg);
  color: #354052;
  font-family: var(--default-font, "Roboto", sans-serif);
}

.candidate-panel-page section, 
.candidate-panel-page .section {
  background-color: transparent;
}

.panel-header {
  border-bottom: 1px solid rgba(0, 20, 66, .08);
  box-shadow: 0 8px 22px rgba(0, 20, 66, .04);
}

.panel-toplink {
  color: var(--ph-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-panel-menu {
  color: var(--ph-primary);
  border: 1px solid var(--ph-border);
  font-size: 1.4rem;
  padding: .25rem .55rem;
}

.panel-shell {
  min-height: calc(100vh - 67px);
  display: flex;
}

.panel-sidebar {
  width: 290px;
  min-height: calc(100vh - 67px);
  position: sticky;
  top: 67px;
  align-self: flex-start;
  flex-direction: column;
  background: #ffffff;
  border-right: 1px solid rgba(0, 20, 66, .08);
  padding: 24px 18px;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(237, 218, 186, .65), rgba(255, 255, 255, .95));
  margin-bottom: 22px;
}

.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--ph-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.sidebar-profile strong,
.sidebar-profile span {
  display: block;
}

.sidebar-profile strong {
  color: var(--ph-primary);
}

.sidebar-profile span {
  color: var(--ph-muted);
  font-size: .85rem;
}

.panel-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.panel-nav a {
  color: #46556b;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
}

.panel-nav a i {
  font-size: 1.05rem;
}

.panel-nav a:hover,
.panel-nav a.active {
  color: #fff;
  background: var(--ph-primary);
}

.sidebar-help {
  margin-top: auto;
  padding: 18px;
  border-radius: 18px;
  background: var(--ph-soft);
  border: 1px solid var(--ph-border);
}

.sidebar-help i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--ph-secondary);
  background: rgba(254, 85, 22, .11);
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.sidebar-help strong {
  color: var(--ph-primary);
}

.sidebar-help p {
  margin: 6px 0 0;
  color: var(--ph-muted);
  font-size: .9rem;
  line-height: 1.5;
}

.panel-content {
  flex: 1;
  padding: 32px 26px 60px;
  overflow-x: hidden;
}

.panel-page-title {
  margin-bottom: 22px;
}

.panel-page-title h1 {
  color: var(--ph-primary);
  font-size: clamp(1.65rem, 2.2vw, 2.25rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -.03em;
}

.current-status-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 4px 0 24px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--ph-soft);
  border: 1px solid rgba(254, 85, 22, .14);
}

.current-status-inline .status-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--ph-secondary);
  background: rgba(254, 85, 22, .12);
  font-size: 1.15rem;
}

.current-status-inline span,
.current-status-inline small {
  display: block;
  color: #7a8497;
  font-size: .86rem;
}

.current-status-inline strong {
  display: block;
  color: var(--ph-primary);
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 2px 0;
}

.panel-section {
  display: none;
  animation: phFade .22s ease;
  padding: 0.5rem 0;
}

.panel-section.is-visible {
  display: block;
}

@keyframes phFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-card,
.metric-card {
  background: #fff;
  border: 1px solid rgba(0, 20, 66, .08);
  border-radius: var(--ph-radius);
  padding: 26px;
  
}

.card-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.card-heading h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ph-primary);
  margin: 5px 0 4px;
}

.card-heading p {
  color: var(--ph-muted);
  margin: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.warning {
  background: rgba(217, 144, 0, .12);
  color: #936200;
}

.status-pill.success {
  background: rgba(25, 135, 84, .12);
  color: var(--ph-success);
}

.status-pill.danger {
  background: rgba(220, 53, 69, .12);
  color: var(--ph-danger);
}

.status-pill.muted {
  background: rgba(113, 128, 150, .12);
  color: #5a6678;
}

.journey-progress {
  height: 14px;
  width: 100%;
  background: #f0eee9;
  border-radius: 999px;
  overflow: hidden;
  margin: 26px 0 20px;
}

.journey-progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ph-cream), var(--ph-secondary));
  transition: width .6s ease;
}

.journey-steps-mini {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.mini-step {
  text-align: center;
  color: var(--ph-muted);
  font-size: .78rem;
  font-weight: 700;
}

.mini-step .dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eeeae4;
  color: #7b8494;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
}

.mini-step.done .dot {
  background: var(--ph-primary);
  color: #fff;
}

.mini-step.current .dot {
  background: var(--ph-secondary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(254, 85, 22, .25);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--ph-secondary);
  background: rgba(254, 85, 22, .1);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.next-card h3 {
  color: var(--ph-primary);
  font-weight: 800;
  margin: 8px 0 10px;
}

.next-card p {
  color: var(--ph-muted);
  line-height: 1.6;
}

.deadline-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--ph-soft);
  border: 1px solid rgba(237, 218, 186, .8);
  margin: 18px 0;
}

.deadline-box i {
  color: var(--ph-secondary);
  font-size: 1.3rem;
}

.deadline-box span,
.deadline-box strong {
  display: block;
}

.deadline-box span {
  color: var(--ph-muted);
  font-size: .82rem;
}

.deadline-box strong {
  color: var(--ph-primary);
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.metric-card i {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(0, 20, 66, .08);
  color: var(--ph-primary);
  font-size: 1.5rem;
}

.metric-card.orange i {
  background: rgba(254, 85, 22, .1);
  color: var(--ph-secondary);
}

.metric-card.muted i {
  background: rgba(237, 218, 186, .7);
  color: #836a43;
}

.metric-card span,
.metric-card strong {
  display: block;
}

.metric-card span {
  color: var(--ph-muted);
  font-weight: 600;
  font-size: .9rem;
}

.metric-card strong {
  color: var(--ph-primary);
  font-size: 1.5rem;
  line-height: 1.2;
}

.candidate-data-form .form-control,
.candidate-data-form .form-select,
.candidate-data-form textarea.form-control {
  border-radius: 12px;
  border: 1px solid #e3e7ee;
  padding: .85rem 1rem;
  background-color: #fff;
}

.candidate-data-form .form-control:disabled,
.candidate-data-form textarea:disabled {
  background: #f8f9fb;
  color: #45546a;
}

.candidate-data-form textarea {
  min-height: 120px;
}

.edit-alert {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  background: rgba(254, 85, 22, .08);
  color: #9e320b;
  border-radius: 14px;
  padding: 13px;
  font-weight: 600;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 15px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(0, 20, 66, .08);
  background: #fff;
}

.timeline-item .timeline-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #f0eee9;
  color: var(--ph-muted);
  font-size: 1.15rem;
}

.timeline-item.done .timeline-icon {
  background: var(--ph-primary);
  color: #fff;
}

.timeline-item.current {
  border-color: rgba(254, 85, 22, .35);
  background: linear-gradient(135deg, rgba(254, 85, 22, .08), #fff 42%);
}

.timeline-item.current .timeline-icon {
  background: var(--ph-secondary);
  color: #fff;
}

.timeline-item h3 {
  color: var(--ph-primary);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.timeline-item p {
  color: var(--ph-muted);
  margin: 0;
  line-height: 1.5;
}

.timeline-date {
  color: var(--ph-muted);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

.rules-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.rules-card li {
  display: flex;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 20, 66, .08);
  color: #45546a;
  line-height: 1.45;
}

.rules-card li:last-child {
  border-bottom: 0;
}

.rules-card li i {
  color: var(--ph-secondary);
  font-size: 1.1rem;
}

.interview-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.interview-card {
  border: 1px solid rgba(0, 20, 66, .08);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
}

.interview-card .interview-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(0, 20, 66, .08);
  color: var(--ph-primary);
  margin-bottom: 14px;
}

.interview-card h3 {
  color: var(--ph-primary);
  font-size: 1.05rem;
  font-weight: 800;
}

.interview-card p {
  color: var(--ph-muted);
  line-height: 1.55;
}

.document-table thead th {
  color: var(--ph-primary);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.document-table tbody td {
  padding-top: 16px;
  padding-bottom: 16px;
}

.upload-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ph-secondary);
  font-weight: 700;
}

.notification-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(0, 20, 66, .08);
  border-radius: 16px;
  padding: 15px;
}

.notification-item.unread {
  background: rgba(254, 85, 22, .06);
  border-color: rgba(254, 85, 22, .18);
}

.notification-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ph-soft);
  color: var(--ph-secondary);
}

.notification-item h3 {
  color: var(--ph-primary);
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.notification-item p {
  color: var(--ph-muted);
  margin: 0;
}

.notification-date {
  color: var(--ph-muted);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

.training-lock-card {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 46px;
}

.lock-icon {
  width: 78px;
  height: 78px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: rgba(0, 20, 66, .08);
  color: var(--ph-primary);
  font-size: 2rem;
  margin: 0 auto 20px;
}

.training-lock-card h2 {
  font-weight: 800;
  color: var(--ph-primary);
}

.training-lock-card p {
  color: var(--ph-muted);
  max-width: 650px;
  margin: 0 auto 26px;
  line-height: 1.65;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.training-grid div {
  border: 1px solid rgba(0, 20, 66, .08);
  border-radius: 16px;
  padding: 16px;
  color: var(--ph-primary);
  font-weight: 800;
  background: #fff;
}

.training-grid i {
  display: block;
  color: var(--ph-secondary);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.panel-offcanvas .offcanvas-title {
  color: var(--ph-primary);
  font-weight: 800;
}

.mobile-nav-list {
  padding: 12px;
}

@media (max-width: 1199px) {
  .panel-content {
    padding: 24px 16px 50px;
  }

  .interview-list {
    grid-template-columns: 1fr;
  }

  .training-grid,
  .journey-steps-mini {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .panel-hero {
    flex-direction: column;
    align-items: stretch;
    padding: 26px;
  }

  .hero-status-card {
    min-width: 0;
  }

  .card-heading {
    flex-direction: column;
  }

  .timeline-item,
  .notification-item {
    grid-template-columns: 42px 1fr;
  }

  .timeline-date,
  .notification-date {
    grid-column: 2;
  }

  .training-grid {
    grid-template-columns: 1fr;
  }

  .panel-card,
  .metric-card,
  .training-lock-card {
    padding: 20px;
  }

  .panel-page-title {
    margin-bottom: 16px;
  }

  .current-status-inline {
    align-items: flex-start;
    padding: 14px;
    margin-bottom: 20px;
  }
}

@media (max-width: 530px) {
      .panel-content {
        padding: 24px 16px 50px;
        padding-left: 0;
        padding-right: 0;
    }
}


/*--------------------------------------------------------------
# Páginas individuais das etapas
--------------------------------------------------------------*/
.mini-step { text-decoration: none; }
.timeline-item {
  text-decoration: none;
  color: inherit;
  transition: .25s ease;
}
.timeline-item:hover {
  transform: translateY(-2px);
  border-color: rgba(254, 85, 22, .32);
  box-shadow: 0 14px 34px rgba(0, 20, 66, .07);
}
.timeline-action {
  color: var(--ph-secondary);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
  align-self: center;
}
.step-detail-grid { align-items: start; }
.step-detail-hero {
  background: linear-gradient(135deg, rgba(0, 20, 66, .98), rgba(0, 20, 66, .86));
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.step-detail-hero .eyebrow,
.step-detail-hero h1,
.step-detail-hero p { position: relative; z-index: 1; }
.step-detail-hero h1 {
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 7px 0 9px;
  letter-spacing: -.03em;
}
.step-detail-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ph-primary);
  font-weight: 800;
  margin-bottom: 16px;
}
.detail-card-title {
  color: var(--ph-primary);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.info-list-clean { list-style: none; padding: 0; margin: 0; }
.info-list-clean li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,20,66,.07);
  color: #4d5b72;
  line-height: 1.45;
}
.info-list-clean li:last-child { border-bottom: 0; }
.info-list-clean li i { color: var(--ph-secondary); font-size: 1.1rem; }
.detail-summary-card {
  position: sticky;
  top: 92px;
}
.detail-summary-card h3 {
  color: var(--ph-primary);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,20,66,.07);
}
.summary-row:last-child { border-bottom: 0; }
.summary-row span { color: var(--ph-muted); font-weight: 700; font-size: .88rem; }
.summary-row strong { color: var(--ph-primary); text-align: right; }
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.check-card {
  border: 1px solid rgba(0,20,66,.08);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
}
.check-card i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--ph-secondary);
  background: rgba(254,85,22,.10);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.check-card h3 {
  font-size: 1.03rem;
  color: var(--ph-primary);
  font-weight: 800;
  margin-bottom: 6px;
}
.check-card p { color: var(--ph-muted); margin: 0; line-height: 1.55; }
.step-nav-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}
.step-nav-footer a {
  flex: 1;
  border: 1px solid rgba(0,20,66,.10);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  color: var(--ph-primary);
  font-weight: 800;
}
.step-nav-footer a:last-child { text-align: right; }
.document-upload-box {
  border: 1px dashed rgba(254,85,22,.45);
  border-radius: 18px;
  padding: 20px;
  background: rgba(254,85,22,.05);
  color: var(--ph-primary);
}
.document-upload-box i { color: var(--ph-secondary); font-size: 1.5rem; }
.access-box {
  border-radius: 18px;
  background: #f8f9fb;
  border: 1px solid rgba(0,20,66,.08);
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.status-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.status-flow-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}
.status-flow-item span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ph-primary);
  font-weight: 800;
}
.status-flow-item h4 {
  margin: 0 0 2px;
  color: var(--ph-primary);
  font-size: 1rem;
  font-weight: 800;
}
.status-flow-item p { margin: 0; color: var(--ph-muted); line-height: 1.5; }
@media (max-width: 991px) {
  .detail-summary-card { position: static; }
}
@media (max-width: 768px) {
  .check-grid { grid-template-columns: 1fr; }
  .step-detail-hero { padding: 22px; }
  .step-nav-footer { flex-direction: column; }
  .step-nav-footer a:last-child { text-align: left; }
  .timeline-action { grid-column: 2; }
}


/*--------------------------------------------------------------
# Login do candidato
--------------------------------------------------------------*/
body.candidate-login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(254, 85, 22, .12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(0, 20, 66, .10), transparent 32%),
    var(--ph-bg);
  color: #354052;
  font-family: var(--default-font, "Roboto", sans-serif);
}

.login-header {
  border-bottom: 1px solid rgba(0, 20, 66, .08);
  box-shadow: 0 8px 22px rgba(0, 20, 66, .04);
}

.login-shell {
  min-height: calc(100vh - 67px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 18px;
}

.login-hero-card {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 30px;
  align-items: stretch;
  background-color: transparent;
}

.login-copy {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(32px, 5vw, 58px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(0, 20, 66, .95), rgba(0, 20, 66, .82)),
    var(--ph-primary);
  box-shadow: var(--ph-shadow);
}

.login-copy > * {
  position: relative;
  z-index: 1;
}

.login-copy .eyebrow {
  color: var(--ph-secondary);
}

.login-copy h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  margin: 12px 0 20px;
  max-width: 620px;
}

.login-copy p {
  color: rgba(255, 255, 255, .78);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 600px;
  margin: 0;
}

.login-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.login-benefits div {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  font-weight: 700;
  font-size: .9rem;
}

.login-benefits i {
  color: var(--ph-cream);
}

.login-card {
  padding: 34px;
  align-self: center;
}

.login-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.login-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--ph-secondary);
  background: rgba(254, 85, 22, .12);
  font-size: 1.45rem;
  flex: 0 0 auto;
}

.login-card h2 {
  color: var(--ph-primary);
  font-weight: 800;
  font-size: 1.65rem;
  margin: 0;
  letter-spacing: -.03em;
}

.login-card p {
  color: var(--ph-muted);
  margin: 0;
}

.candidate-login-form .form-label,
.forgot-modal .form-label {
  color: var(--ph-primary);
  font-weight: 800;
  font-size: .92rem;
  margin-bottom: 8px;
}

.login-input-group {
  position: relative;
}

.login-input-group > i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a96a9;
  z-index: 2;
}

.login-input-group .form-control {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(0, 20, 66, .12);
  padding-left: 44px;
  color: var(--ph-primary);
  font-weight: 600;
  box-shadow: none;
}

.login-input-group .form-control:focus,
.forgot-modal .form-control:focus {
  border-color: rgba(254, 85, 22, .5);
  box-shadow: 0 0 0 .25rem rgba(254, 85, 22, .11);
}

.login-input-group.has-action .form-control {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--ph-primary);
  background: transparent;
  z-index: 3;
}

.password-toggle:hover {
  background: rgba(0, 20, 66, .06);
}

.login-options {
  font-size: .9rem;
}

.login-options .form-check-label {
  color: #5e6a7c;
  font-weight: 600;
}

.forgot-link {
  color: var(--ph-secondary);
  font-weight: 800;
  white-space: nowrap;
}

.login-alert,
.recovery-message {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: .9rem;
}

.login-alert.error,
.recovery-message.error {
  color: #9b1c1c;
  background: rgba(220, 53, 69, .10);
  border: 1px solid rgba(220, 53, 69, .18);
}

.login-alert.success,
.recovery-message.success {
  color: #12633f;
  background: rgba(25, 135, 84, .10);
  border: 1px solid rgba(25, 135, 84, .18);
}

.btn-login-submit {
  min-height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
}

.btn-login-submit.is-loading {
  pointer-events: none;
  opacity: .82;
}

.login-card-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 20, 66, .08);
  color: var(--ph-muted);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .9rem;
  line-height: 1.45;
}

.login-card-footer i {
  color: var(--ph-secondary);
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.forgot-modal {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 20, 66, .18);
}

.forgot-modal .modal-header,
.forgot-modal .modal-footer {
  border-color: rgba(0, 20, 66, .08);
}

.forgot-modal .modal-title {
  color: var(--ph-primary);
  font-weight: 800;
  margin: 4px 0 0;
}

.forgot-modal .modal-body p {
  color: var(--ph-muted);
}

.forgot-modal .form-control {
  min-height: 52px;
  border-radius: 15px;
  border: 1px solid rgba(0, 20, 66, .12);
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .login-hero-card {
    grid-template-columns: 1fr;
  }

  .login-copy {
    min-height: auto;
    display: none;
  }
  .login-shell {
      align-items: flex-start;
  }
      .login-hero-card {
        padding: 0;
    }
}

@media (max-width: 575.98px) {
  .login-shell {
    padding: 26px 12px;
  }

  .login-copy,
  .login-card {
    border-radius: 22px;
  }

  .login-card {
    padding: 24px 18px;
  }

  .login-card-heading {
    flex-direction: column;
  }

  .login-options {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 8px !important;
  }

  .login-header .btn-outline-primary {
    padding: .38rem .65rem;
  }
}
