@import url('/css/features/profile/profile-registration.css?v=22933');

/* DMImobi — painéis de dados pessoais e profissionais */

#pane-perfil,
#pane-profissional {
  --profile-navy: #0b315f;
  --profile-blue: #174d82;
  --profile-gold: #d4b34f;
  --profile-ink: #102b4b;
  --profile-muted: #657487;
  --profile-line: #dfe7ef;
}

.profile-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.profile-section-head .section-title {
  margin: 0 0 5px !important;
  color: var(--profile-ink) !important;
}

.profile-section-head p {
  max-width: 650px;
  margin: 0;
  color: var(--profile-muted);
  font-size: 14px;
  line-height: 1.5;
}

.profile-section-count {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #e7d79e;
  border-radius: 999px;
  background: #fff9e8;
  color: #775d0c;
  font-size: 12px;
  font-weight: 800;
}

.profile-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-overview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 190px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--profile-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(14, 49, 88, .055);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.profile-overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 20px;
  left: 20px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: #d9e3ec;
}

.profile-overview-card.is-complete {
  border-color: #c4d5e3;
  box-shadow: 0 10px 28px rgba(14, 49, 88, .09);
}

.profile-overview-card.is-complete::before {
  background: var(--profile-gold);
}

.profile-overview-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.profile-overview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid #dce7f1;
  border-radius: 15px;
  background: linear-gradient(145deg, #f8fbfe, #edf4fa);
  color: var(--profile-blue);
  box-shadow: 0 6px 17px rgba(14, 49, 88, .08);
}

.profile-overview-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-overview-copy {
  min-width: 0;
  padding-top: 2px;
}

.profile-overview-copy > span {
  display: block;
  margin-bottom: 5px;
  color: #92721a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
}

.profile-overview-copy h3 {
  margin: 0;
  color: var(--profile-ink);
  font-size: 17px;
  line-height: 1.2;
}

.profile-overview-copy p {
  display: -webkit-box;
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--profile-muted);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.profile-overview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.profile-data-status {
  position: relative;
  padding-left: 17px;
  color: #798696;
  font-size: 11px;
  font-weight: 800;
}

.profile-data-status::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid #9ba7b4;
  border-radius: 50%;
  transform: translateY(-50%);
}

.profile-overview-card.is-complete .profile-data-status {
  color: #218259;
}

.profile-overview-card.is-complete .profile-data-status::before {
  border-color: #2a9a6a;
  background: #2a9a6a;
  box-shadow: 0 0 0 3px rgba(42, 154, 106, .12);
}

.profile-overview-footer button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  background: #edf4fa;
  color: #174b7d;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 850;
}

.profile-overview-card.is-complete .profile-overview-footer button {
  background: linear-gradient(135deg, var(--profile-navy), var(--profile-blue));
  color: #fff;
}

.profile-overview-footer button b {
  margin-left: 4px;
  font-size: 15px;
}

@media (hover: hover) {
  .profile-overview-card:hover {
    transform: translateY(-1px);
    border-color: #c4d5e3;
    box-shadow: 0 12px 29px rgba(14, 49, 88, .11);
  }
  .profile-overview-footer button:hover { filter: brightness(1.05); }
}

@media (max-width: 700px) {
  .profile-section-head { display: block; margin-bottom: 14px; }
  .profile-section-head p { font-size: 13px; }
  .profile-section-count { display: inline-block; margin-top: 10px; }
  .profile-overview-grid { grid-template-columns: 1fr; gap: 10px; }
  .profile-overview-card { min-height: 174px; padding: 15px; border-radius: 16px; }
  .profile-overview-main { gap: 12px; }
  .profile-overview-icon { width: 46px; height: 46px; border-radius: 13px; }
  .profile-overview-icon svg { width: 23px; height: 23px; }
  .profile-overview-copy h3 { font-size: 16px; }
  .profile-overview-footer { padding-top: 16px; }
  .profile-overview-footer button { min-width: 92px; }
}

@media (max-width: 370px) {
  .profile-overview-footer { align-items: flex-end; }
  .profile-data-status { max-width: 110px; }
}
