/* Mundo Laboral – candidate portal (mobile first) */
.mlp {
	--mlp-blue: #0b5aa6;
	--mlp-green: #1f8a4c;
	--mlp-yellow: #a16207;
	--mlp-orange: #c2410c;
	--mlp-red: #b91c1c;
	--mlp-gray: #64748b;
	--mlp-border: #e2e8f0;
	--mlp-bg: #f8fafc;
	max-width: 760px;
	margin: 0 auto;
	padding: 16px;
	font-size: 16px;
	line-height: 1.5;
	color: #1e293b;
}
.mlp * { box-sizing: border-box; }
.mlp h2 { font-size: 1.35rem; margin: .2em 0 .4em; line-height: 1.25; }
.mlp h3 { font-size: 1.1rem; margin: 0 0 .6em; }
.mlp p { margin: 0 0 .7em; }
.mlp-small { font-size: .875rem; color: var(--mlp-gray); }
.mlp-strong { font-weight: 700; }
.mlp-label { text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; font-weight: 700; color: var(--mlp-gray); margin-bottom: .2em !important; }
.mlp-intro { text-align: center; margin-bottom: 16px; }

.mlp-card { background: #fff; border: 1px solid var(--mlp-border); border-radius: 14px; padding: 18px; margin: 0 0 14px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
details.mlp-card > summary { cursor: pointer; list-style: revert; }
.mlp-grid2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .mlp-grid2 { grid-template-columns: 1fr 1fr; } }
.mlp-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }

/* Next action: the first thing the candidate sees */
.mlp-next { border-left: 6px solid var(--mlp-blue); background: #f0f6fd; }
.mlp-next--yellow { border-left-color: var(--mlp-yellow); background: #fefce8; }
.mlp-next--orange { border-left-color: var(--mlp-orange); background: #fff7ed; }
.mlp-next--green { border-left-color: var(--mlp-green); background: #f0fdf4; }
.mlp-next--gray { border-left-color: #94a3b8; background: var(--mlp-bg); }
.mlp-countdown { font-weight: 700; font-size: 1.05rem; color: var(--mlp-orange); }

/* Buttons: large, easy on a phone */
.mlp-btn { display: inline-block; background: var(--mlp-blue); color: #fff !important; border: 0; border-radius: 10px; padding: 14px 20px; font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer; min-height: 48px; line-height: 1.25; text-align: center; }
.mlp-btn:hover { background: #094a89; }
.mlp-btn[disabled] { opacity: .5; cursor: not-allowed; }
.mlp-btn--block { display: block; width: 100%; }
.mlp-btn--ghost { background: #fff; color: var(--mlp-blue) !important; border: 2px solid var(--mlp-blue); }

/* Forms */
.mlp-form { margin: 0; }
.mlp-field { display: block; margin: 0 0 12px; }
.mlp-field span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.mlp-field input, .mlp-field select, .mlp-field textarea, .mlp form input[type=text], .mlp form input[type=password], .mlp form input[type=email] { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 1rem; background: #fff; }
.mlp-field--inline { margin-top: 8px; }
.mlp-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: .95rem; cursor: pointer; }
.mlp-check input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px; }
.mlp-hp { position: absolute !important; left: -9999px !important; }
.mlp-consent { background: var(--mlp-bg); border-radius: 10px; padding: 12px; margin: 0 0 12px; }
.mlp #loginform p { margin-bottom: 12px; }
.mlp #loginform label { display: block; font-weight: 600; font-size: .9rem; }
.mlp #loginform .button-primary { background: var(--mlp-blue); color: #fff; border: 0; border-radius: 10px; padding: 14px 20px; font-weight: 700; width: 100%; min-height: 48px; }
.mlp-file { display: block; border: 2px dashed #94a3b8; border-radius: 10px; padding: 14px; text-align: center; cursor: pointer; margin: 8px 0; background: var(--mlp-bg); font-weight: 600; color: var(--mlp-blue); }
.mlp-file input { display: block; width: 100%; margin-bottom: 6px; }

/* Tabs */
.mlp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mlp-hello { font-size: 1.2rem; font-weight: 700; margin: 0 !important; }
.mlp-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 14px; padding-bottom: 4px; }
.mlp-tabs a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--mlp-border); text-decoration: none; color: #334155; font-weight: 600; font-size: .9rem; }
.mlp-tabs a.is-active { background: var(--mlp-blue); color: #fff; border-color: var(--mlp-blue); }
.mlp-apps { margin: 0 0 12px; }
.mlp-appchip { display: block; padding: 10px 12px; border: 1px solid var(--mlp-border); border-radius: 10px; margin-bottom: 6px; text-decoration: none; color: #334155; background: #fff; }
.mlp-appchip.is-active { border-color: var(--mlp-blue); background: #f0f6fd; font-weight: 700; }

/* Badges: color + icon + text */
.mlp-badge { display: inline-flex; gap: 4px; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.mlp-badge--green { background: #dcfce7; color: #166534; }
.mlp-badge--blue { background: #dbeafe; color: #1e3a8a; }
.mlp-badge--yellow { background: #fef9c3; color: #854d0e; }
.mlp-badge--orange { background: #ffedd5; color: #9a3412; }
.mlp-badge--red { background: #fee2e2; color: #991b1b; }
.mlp-badge--gray { background: #f1f5f9; color: #475569; }

/* Progress milestones (vertical on phones) */
.mlp-progress-count { font-size: .95rem; }
.mlp-steps { list-style: none; margin: 8px 0 12px; padding: 0; }
.mlp-step { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid #f1f5f9; color: #94a3b8; }
.mlp-step__icon { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: #f1f5f9; flex: 0 0 26px; }
.mlp-step--done { color: #166534; }
.mlp-step--done .mlp-step__icon { background: #dcfce7; }
.mlp-step--current { color: #0b4a8a; font-weight: 700; }
.mlp-step--current .mlp-step__icon { background: var(--mlp-blue); color: #fff; }
.mlp-step--stopped { color: #991b1b; font-weight: 700; }
.mlp-step--stopped .mlp-step__icon { background: #fee2e2; }

/* Documents */
.mlp-docs { list-style: none; margin: 0; padding: 0; }
.mlp-doc { padding: 12px 0; border-bottom: 1px solid var(--mlp-border); }
.mlp-doc:last-child { border-bottom: 0; }
.mlp-reason { background: #fff7ed; border-left: 4px solid var(--mlp-orange); padding: 8px 10px; border-radius: 6px; margin-top: 6px; }
.mlp-flag { background: #fefce8; border-left: 4px solid var(--mlp-yellow); padding: 6px 10px; border-radius: 6px; font-size: .875rem; }

/* Departure dates */
.mlp-dates { display: grid; gap: 8px; margin-bottom: 10px; }
.mlp-date { display: flex; gap: 10px; align-items: center; border: 1px solid var(--mlp-border); border-radius: 10px; padding: 12px; cursor: pointer; }
.mlp-date input { width: 22px; height: 22px; }
.mlp-date small { display: block; color: var(--mlp-gray); }

/* Commitment */
.mlp-commit { border: 2px solid var(--mlp-blue); }

/* Notices */
.mlp-notice { padding: 12px 14px; border-radius: 10px; margin: 0 0 14px; font-weight: 600; }
.mlp-notice--ok { background: #dcfce7; color: #166534; }
.mlp-notice--err { background: #fee2e2; color: #991b1b; }

/* Lists */
.mlp-dl { display: grid; grid-template-columns: 40% 60%; gap: 6px 10px; margin: 10px 0; }
.mlp-dl dt { font-weight: 600; color: #475569; }
.mlp-dl dd { margin: 0; }
.mlp-timeline { margin: 10px 0 0; padding-left: 18px; }
.mlp-timeline li { margin-bottom: 6px; }
.mlp-vacancies { display: grid; gap: 14px; }
@media (min-width: 720px) { .mlp-vacancies { grid-template-columns: 1fr 1fr; } }
.mlp-facts { margin: 0 0 10px; padding-left: 18px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
