/*
 * Área personal de Infoposiciones.
 * Mantiene tipografía del tema y utiliza únicamente la paleta y el espaciado
 * necesarios para integrarse con la cabecera/editorial del sitio.
 */
.site-main.info-empleo-account,
.info-empleo-account {
  --ie-primary: #211b79;
  --ie-accent: #baf5d7;
  --ie-text: #262631;
  --ie-muted: #656575;
  --ie-border: #dedfeb;
  --ie-soft: #f7f7fa;
  --ie-danger: #9d2434;
  width: 100% !important;
  max-width: var(--wp--style--global--wide-size, 1180px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: clamp(28px, 4vw, 48px) var(--wp--style--root--padding-left, 22px) clamp(54px, 7vw, 80px);
  color: var(--ie-text);
}
.info-empleo-account * { box-sizing: border-box; }
.info-empleo-account__inner { width:100%; max-width:none !important; margin: 0; }
.info-empleo-account__content { width:100%; max-width:none !important; margin: 0; }
.info-empleo-account-breadcrumbs {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.4rem;
  margin:0 0 1.5rem;
  font-size:.92em;
  line-height:1.5;
}
.info-empleo-account-breadcrumbs a { color:inherit; text-decoration:none; }
.info-empleo-account-breadcrumbs a:hover,
.info-empleo-account-breadcrumbs a:focus { text-decoration:underline; text-underline-offset:.16em; }
.info-empleo-account-breadcrumbs [aria-current="page"] { color:var(--ie-muted); }

.info-empleo-account__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin: 0 0 1.5rem;
  padding: 0 0 1.4rem;
  border-bottom: 3px solid var(--ie-primary);
}
.info-empleo-account__header .entry-title {
  margin: .1rem 0 .45rem;
  color: var(--ie-primary);
}
.info-empleo-account__header-copy { max-width: 760px; }
.info-empleo-account__lede { margin: 0; max-width: 720px; color: var(--ie-muted); }
.info-empleo-account__search-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}
.info-empleo-eyebrow {
  margin: 0 0 .35rem;
  color: var(--ie-primary);
  font-size: .78em;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.info-empleo-account-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 2.25rem;
  border: 1px solid var(--ie-border);
  background: #fff;
}
.info-empleo-account-nav__mobile { display:none; }
.info-empleo-account-nav__links { display: flex; flex-wrap: wrap; }
.info-empleo-account-nav__link,
.info-empleo-account-nav__logout {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .7rem 1rem;
  color: var(--ie-primary);
  text-decoration: none;
  font-weight: 650;
}
.info-empleo-account-nav__link { border-right: 1px solid var(--ie-border); }
.info-empleo-account-nav__link:hover,
.info-empleo-account-nav__link:focus { background: var(--ie-soft); }
.info-empleo-account-nav__link.is-active {
  color: var(--ie-primary);
  background: var(--ie-accent);
  box-shadow: inset 0 -3px 0 var(--ie-primary);
}
.info-empleo-account-nav__logout { margin-left: auto; font-weight: 500; }
.info-empleo-account-nav__logout:hover,
.info-empleo-account-nav__logout:focus { text-decoration: underline; text-underline-offset: .18em; }

.info-empleo-account-notice {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--ie-border);
  border-left: 5px solid var(--ie-primary);
  background: #fff;
}
.info-empleo-account-notice--warning { border-left-color: #c68000; background: #fffaf0; }
.info-empleo-account-notice p:last-child { margin-bottom: 0; }
.info-empleo-account-notice form { margin-top: .8rem; }

.info-empleo-account-section { margin: 0 0 3rem; }
.info-empleo-account-section h2,
.info-empleo-account-section h3 { color: var(--ie-primary); }
.info-empleo-account-welcome { max-width: 760px; margin-bottom: 1.25rem; }
.info-empleo-account-welcome h2 { margin: 0 0 .45rem; }
.info-empleo-account-welcome p:last-child { margin-bottom: 0; color: var(--ie-muted); }
.info-empleo-account-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin: 0 0 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ie-border);
}
.info-empleo-account-section-head h2 { margin: 0 0 .35rem; }
.info-empleo-account-section-head p:last-child { margin-bottom: 0; color: var(--ie-muted); }
.info-empleo-text-link { color: var(--ie-primary); text-decoration: underline; text-underline-offset: .16em; }

/*
 * Los botones principales usan wp-element-button para heredar el aspecto
 * global del tema. Aquí solo fijamos comportamiento, no colores ni bordes.
 */
.info-empleo-account .wp-element-button,
.info-empleo-account button.wp-element-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.info-empleo-account-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}
.info-empleo-account-stats > div {
  padding: 1.3rem 1.4rem;
  border-top: 4px solid var(--ie-primary);
  background: var(--ie-soft);
}
.info-empleo-account-stats strong {
  display: block;
  color: var(--ie-primary);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}
.info-empleo-account-stats span { display: block; margin-top: .55rem; color: var(--ie-muted); }

.info-empleo-empty-state {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--ie-border);
  border-left: 5px solid var(--ie-accent);
  background: var(--ie-soft);
  text-align: left;
}
.info-empleo-empty-state h2,
.info-empleo-empty-state h3 { margin-top: 0; }
.info-empleo-empty-state p:last-child { margin-bottom: 0; }

.info-empleo-alert-list { display: grid; gap: 1.15rem; }
.info-empleo-alert-card {
  padding: 1.35rem 1.45rem;
  border: 1px solid var(--ie-border);
  border-left: 5px solid var(--ie-primary);
  background: #fff;
}
.info-empleo-alert-card.is-paused { border-left-color: #999; background: var(--ie-soft); }
.info-empleo-alert-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.info-empleo-alert-card__head h3 { margin: .55rem 0 .25rem; }
.info-empleo-status-pill {
  display: inline-flex;
  padding: .22rem .55rem;
  border: 1px solid currentColor;
  font-size: .76em;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.info-empleo-status-pill.is-active { color: #176640; background: #effaf4; }
.info-empleo-status-pill.is-paused { color: #666; background: #f2f2f2; }
.info-empleo-alert-card__filters { margin: .8rem 0; font-size: 1.03em; }
.info-empleo-alert-card__meta {
  display: flex;
  gap: .65rem 1.35rem;
  flex-wrap: wrap;
  margin: .85rem 0 1rem;
  color: var(--ie-muted);
  font-size: .92em;
}
.info-empleo-alert-card__actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.info-empleo-alert-card__actions form { margin: 0; }
.info-empleo-secondary-button,
.info-empleo-danger-link,
.info-empleo-danger-button { font: inherit; cursor: pointer; }
.info-empleo-secondary-button {
  min-height: 42px;
  padding: .55rem .85rem;
  border: 1px solid var(--ie-primary);
  background: #fff;
  color: var(--ie-primary);
  font-weight: 700;
}
.info-empleo-secondary-button:hover { background: var(--ie-accent); }
.info-empleo-danger-link {
  padding: .35rem .15rem;
  border: 0;
  background: transparent;
  color: var(--ie-danger);
  text-decoration: underline;
  text-underline-offset: .16em;
}
.info-empleo-danger-button { padding: .7rem 1rem; border: 1px solid var(--ie-danger); background: var(--ie-danger); color:#fff; }

.info-empleo-alert-editor { margin-top: .5rem; }
.info-empleo-alert-form,
.info-empleo-profile-form { max-width: 900px; }
.info-empleo-alert-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.35rem;
}
.info-empleo-field--wide { grid-column: 1 / -1; }
.info-empleo-field label,
.info-empleo-frequency legend {
  display: block;
  margin-bottom: .38rem;
  color: var(--ie-text);
  font-weight: 750;
}
.info-empleo-field label span { font-weight: 400; color: var(--ie-muted); }
.info-empleo-field input,
.info-empleo-field select,
.info-empleo-profile-form input,
.info-empleo-account-auth input[type="text"],
.info-empleo-account-auth input[type="email"],
.info-empleo-account-auth input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: .7rem .75rem;
  border: 1px solid #bfc2d0;
  border-radius: 0;
  background: #fff;
  color: var(--ie-text);
  font: inherit;
}
.info-empleo-field input:focus,
.info-empleo-field select:focus,
.info-empleo-profile-form input:focus,
.info-empleo-account-auth input:focus {
  outline: 3px solid rgba(33, 27, 121, .14);
  border-color: var(--ie-primary);
}
.info-empleo-field small { display: block; margin-top: .35rem; color: var(--ie-muted); }
.info-empleo-frequency { margin: 1.6rem 0; padding: 0; border: 0; }
.info-empleo-frequency__option {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .85rem .8rem;
  border-bottom: 1px solid var(--ie-border);
  cursor: pointer;
}
.info-empleo-frequency__option:first-of-type { border-top: 1px solid var(--ie-border); }
.info-empleo-frequency__option:hover { background: var(--ie-soft); }
.info-empleo-frequency__option input { margin-top: .3rem; }
.info-empleo-frequency__option strong,
.info-empleo-frequency__option small { display:block; }
.info-empleo-frequency__option small { margin-top:.12rem; color:var(--ie-muted); }
.info-empleo-alert-preview {
  padding: 1rem 1.1rem;
  margin: 1.4rem 0;
  border-left: 5px solid var(--ie-accent);
  background: var(--ie-soft);
}
.info-empleo-alert-preview__count { color: var(--ie-primary); font-weight: 850; }
.info-empleo-alert-form__actions { display:flex; gap:1rem; align-items:center; flex-wrap:wrap; }

.info-empleo-account-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.info-empleo-account-auth section {
  padding: 1.5rem;
  border: 1px solid var(--ie-border);
  border-top: 4px solid var(--ie-primary);
  background: #fff;
}
.info-empleo-account-auth section h2 { margin-top: 0; color: var(--ie-primary); }
.info-empleo-account-auth details { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--ie-border); }
.info-empleo-account-delete { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--ie-border); }
.info-empleo-alert-box { margin:1.5rem 0; padding:1.1rem 1.25rem; border-left:5px solid var(--ie-primary); background:var(--ie-soft); }
.info-empleo-alert-box h2 { margin-top:0; color:var(--ie-primary); }

@media (max-width: 760px) {
  .info-empleo-account { padding-left: 1rem; padding-right: 1rem; }
  .info-empleo-account__header { align-items:flex-start; flex-direction:column; gap:1rem; }
  .info-empleo-account-nav { display:block; }
  .info-empleo-account-nav__mobile { display:block; }
  .info-empleo-account-nav__links,
  .info-empleo-account-nav > .info-empleo-account-nav__logout { display:none; }
  .info-empleo-account-section-head,
  .info-empleo-alert-card__head { flex-direction: column; }
  .info-empleo-account-stats,
  .info-empleo-alert-form__grid,
  .info-empleo-account-auth { grid-template-columns: 1fr; }
  .info-empleo-field--wide { grid-column:auto; }
  .info-empleo-alert-card__actions { align-items:stretch; }
}

/* v2.7 · recordatorios y resumen personal */
.info-empleo-reminder-list{display:grid;gap:1rem;margin:1rem 0 2rem;}
.info-empleo-reminder-card{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;padding:1.1rem 1.2rem;border:1px solid var(--ie-border);border-left:5px solid var(--ie-primary);background:#fff;}
.info-empleo-reminder-card p{margin:.35rem 0 0;color:var(--ie-muted);}
.info-empleo-reminder-card form{margin:0;}
@media(max-width:700px){.info-empleo-reminder-card{display:block}.info-empleo-reminder-card form{margin-top:.8rem}}
.info-empleo-alert-history__sources{margin:.6rem 0 0 1.1rem;padding:0;}
.info-empleo-alert-history__sources li{margin:.25rem 0;}
