*{box-sizing:border-box}
:root{
  --bg:#f6f7f2;
  --panel:#ffffff;
  --text:#172118;
  --muted:#5c6b5d;
  --line:#dde4d7;
  --primary:#5f6f52;
  --primary-dark:#40513b;
  --accent:#c7a94b;
  --accent-soft:#f4ead0;
  --sidebar:#263126;
  --sidebar-soft:#324032;
  --shadow:0 16px 40px rgba(23,33,24,.10);
}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,sans-serif;background:radial-gradient(circle at top left,rgba(199,169,75,.14) 0,transparent 18%),radial-gradient(circle at 100% 0,rgba(95,111,82,.14) 0,transparent 24%),linear-gradient(135deg,#f8f8f2,#ffffff,#f3f5ed);color:var(--text)}
a,button,input,textarea,select,.card,.panel,.job-card,.brand,.user-chip,.login-box,.hero-card,nav a,.btn,.table tr{transition:all .28s ease}
.layout{display:flex;min-height:100vh;animation:fadeIn .45s ease-out}
.sidebar{width:270px;background:linear-gradient(180deg,#263126,#334233 58%,#263126);color:#fff;padding:20px;display:flex;flex-direction:column;gap:14px;box-shadow:18px 0 40px rgba(23,33,24,.12)}
.brand{display:flex;align-items:center;gap:12px;padding:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);border-radius:18px;backdrop-filter:blur(8px);transform:translateY(0)}
.brand:hover{transform:translateY(-2px);background:rgba(255,255,255,.11)}
.brand img{width:54px;height:54px;object-fit:contain;background:#fff;border-radius:14px;padding:6px;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.user-chip{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:4px}
.user-chip:hover{background:rgba(255,255,255,.12)}
.user-chip small{color:#cbd5e1}
nav{display:flex;flex-direction:column;gap:10px}
nav a{text-decoration:none;color:#e2e8f0;padding:13px 14px;border-radius:14px;background:transparent;border:1px solid transparent}
nav a:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.08);transform:translateX(3px)}
.content{flex:1;padding:28px}
.content-full{max-width:1180px;margin:0 auto}
.card,.panel{background:rgba(255,255,255,.92);backdrop-filter:blur(6px);border:1px solid rgba(226,232,240,.95);border-radius:24px;padding:22px;box-shadow:var(--shadow);margin-bottom:18px;animation:riseUp .45s ease both}
.card:hover,.panel:hover,.job-card:hover{transform:translateY(-3px);box-shadow:0 18px 34px rgba(15,23,42,.10)}
.grid{display:grid;gap:18px}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.stat{font-size:32px;font-weight:700}
.muted{color:var(--muted);line-height:1.6}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;padding:11px 16px;border:none;border-radius:14px;text-decoration:none;cursor:pointer;font-weight:700;box-shadow:0 12px 24px rgba(64,81,59,.24)}
.btn:hover{transform:translateY(-2px);box-shadow:0 18px 30px rgba(64,81,59,.28);filter:saturate(1.05)}
.btn:active{transform:translateY(0)}
.btn-secondary{background:#fff;color:#0f172a;border:1px solid #cbd5e1;box-shadow:none}
.btn-secondary:hover{background:#f8fafc;border-color:#94a3b8}
.btn-danger{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff}
.btn-warning{background:linear-gradient(135deg,#ca8a04,#a16207);color:#fff}
.table{width:100%;border-collapse:collapse;background:#fff;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.table th,.table td{padding:12px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}
.table tbody tr:hover{background:#f8fafc}
.input,.select,.textarea{width:100%;padding:13px 14px;border:1px solid #cbd5e1;border-radius:14px;margin-bottom:12px;background:#fff;outline:none;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.input:focus,.select:focus,.textarea:focus{border-color:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12)}
.textarea{min-height:110px;resize:vertical}
.header-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.badge{display:inline-block;padding:5px 11px;border-radius:999px;background:#e2e8f0;font-size:12px;font-weight:700}
.alert{padding:13px 16px;border-radius:14px;margin-bottom:16px;border:1px solid transparent;animation:fadeIn .35s ease}
.alert.success{background:#ecfdf5;color:#166534;border-color:#bbf7d0}.alert.error{background:#fef2f2;color:#991b1b;border-color:#fecaca}.alert.info{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.login-wrap{min-height:100vh;display:block;padding:24px;background:radial-gradient(circle at 12% 18%,rgba(199,169,75,.18),transparent 24%),radial-gradient(circle at 90% 8%,rgba(95,111,82,.16),transparent 26%),linear-gradient(135deg,#f7f7f0,#fff,#eef2e7)}
.login-box{max-width:none;width:100%;background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.7);backdrop-filter:blur(10px);border-radius:30px;padding:34px;box-shadow:0 18px 45px rgba(15,23,42,.10);animation:floatCard .6s ease both;display:flex;flex-direction:column;justify-content:center}
.login-box:hover{transform:translateY(-3px)}
.hero{display:grid;grid-template-columns:1.7fr .72fr;gap:26px;align-items:stretch;width:min(100%,1700px);margin:0 auto;min-height:calc(100vh - 48px)}
.hero-card{position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(250,248,240,.96));padding:48px 56px;border-radius:36px;border:1px solid rgba(199,169,75,.16);backdrop-filter:blur(10px);box-shadow:0 22px 52px rgba(23,33,24,.11);animation:riseUp .55s ease both;display:flex;flex-direction:column;justify-content:center}
.hero-card::before{content:"";position:absolute;inset:auto -120px -120px auto;width:360px;height:360px;background:radial-gradient(circle,rgba(199,169,75,.20),transparent 65%);pointer-events:none}
.hero-card::after{content:"";position:absolute;inset:-100px auto auto -100px;width:280px;height:280px;background:radial-gradient(circle,rgba(95,111,82,.16),transparent 68%);pointer-events:none}
.hero-title{font-size:68px;line-height:1.02;margin:0 0 14px;letter-spacing:-.04em;max-width:940px}
.hero-kicker{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;background:rgba(95,111,82,.10);color:#40513b;font-weight:700;letter-spacing:.04em;margin-bottom:14px;border:1px solid rgba(95,111,82,.16);text-transform:uppercase;font-size:12px}
.hero-lead{font-size:20px;max-width:860px}
.promo-grid .panel{height:100%}
.promo-box strong{display:block;font-size:19px;margin-bottom:8px;color:#0f172a}
.institutional-message{margin-top:18px;padding:22px 24px;border-radius:24px;background:linear-gradient(135deg,#40513b,#5f6f52 58%,#c7a94b);color:#fff;box-shadow:0 18px 30px rgba(64,81,59,.22)}
.institutional-message p{margin:8px 0 0;line-height:1.7;color:rgba(255,255,255,.95)}
.institutional-title{font-size:20px;font-weight:700;letter-spacing:-.01em}

.job-card{border:1px solid #e2e8f0;border-radius:20px;padding:18px;background:#fff}
.small{font-size:13px}.actions{display:flex;gap:8px;flex-wrap:wrap}
.welcome-logo-wrap{display:flex;justify-content:center;align-items:center;margin-bottom:18px}
.logo-large{height:340px;width:auto;object-fit:contain;filter:drop-shadow(0 26px 40px rgba(64,81,59,.22));animation:pulseSoft 4s ease-in-out infinite}
.title{font-size:34px;margin:0 0 10px;letter-spacing:-.02em}.two-col{display:grid;grid-template-columns:2fr 1fr;gap:20px}.logo-thumb{width:84px;height:84px;object-fit:contain;border-radius:12px;background:#fff;border:1px solid #e2e8f0;padding:4px}.inline-company{display:flex;align-items:center;gap:10px}.logo-mini{width:42px;height:42px;object-fit:contain;border-radius:10px;background:#fff;border:1px solid #e2e8f0;padding:3px}.helper-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px}.helper-links a{font-size:14px;color:#166534;text-decoration:none;font-weight:700}.helper-links a:hover{text-decoration:underline;color:#15803d}.stack{display:grid;gap:14px}.subpanel{border:1px solid #e2e8f0;border-radius:18px;padding:18px;background:linear-gradient(180deg,#f8fafc,#fff)}.kpi-note{font-size:13px;color:#475569}.code-box{padding:12px;border-radius:12px;background:#f8fafc;border:1px dashed #94a3b8;word-break:break-all}.text-right{text-align:right}
.fade-seq>*{animation:riseUp .55s ease both}.fade-seq>*:nth-child(2){animation-delay:.06s}.fade-seq>*:nth-child(3){animation-delay:.12s}.fade-seq>*:nth-child(4){animation-delay:.18s}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes riseUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes floatCard{0%{opacity:0;transform:translateY(20px) scale(.985)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes pulseSoft{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.015)}}
@media(max-width:900px){.layout{flex-direction:column}.sidebar{width:100%}.hero,.two-col{grid-template-columns:1fr}.content{padding:18px}.hero-title{font-size:40px}.logo-large{height:180px}.hero-lead{font-size:16px}}

.panoramic-login .hero-panoramic{grid-template-columns:minmax(0,1.6fr) minmax(380px,.72fr)}
.role-promo-grid{margin-top:8px}
.role-box{position:relative;padding-top:24px;min-height:100%}
.role-icon{width:90px;height:90px;border-radius:24px;display:inline-flex;align-items:center;justify-content:center;font-size:42px;margin-bottom:18px;background:linear-gradient(135deg,#f8f8f0,#edf3e5);border:1px solid rgba(95,111,82,.16);box-shadow:0 14px 28px rgba(64,81,59,.10)}
.role-box strong{font-size:22px}
.role-student .role-icon{background:linear-gradient(135deg,#f3f8e8,#e3edd6);border-color:rgba(95,111,82,.22)}
.role-company .role-icon{background:linear-gradient(135deg,#f9f5e8,#f2e4b7);border-color:rgba(199,169,75,.28)}
.role-admin .role-icon{background:linear-gradient(135deg,#eef2e7,#dce5d5);border-color:rgba(95,111,82,.24)}
@media(min-width:1200px){.promo-grid.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-title{font-size:74px}.hero-lead{font-size:21px}.login-box{align-self:center;max-width:540px}}
@media(max-width:1100px){.panoramic-login .hero-panoramic{grid-template-columns:1fr}.hero{min-height:auto}.login-box{max-width:720px}.hero-card{padding:34px}.logo-large{height:210px}}

.login-box h2{font-size:34px;letter-spacing:-.02em;margin:0 0 8px}
.login-box{position:relative;overflow:hidden}
.login-box::before{content:"";position:absolute;inset:auto auto -90px -60px;width:180px;height:180px;background:radial-gradient(circle,rgba(199,169,75,.18),transparent 68%);pointer-events:none}
.hero-card .panel{border:1px solid rgba(95,111,82,.08);background:linear-gradient(180deg,#ffffff,#fbfcf8)}
.promo-box p{font-size:15px}
.role-box:hover .role-icon{transform:translateY(-3px) scale(1.04)}


/* v14 premium panoramic welcome */
.login-wrap.panoramic-login{padding:0;min-height:100vh;display:block;background:
  radial-gradient(circle at 4% 10%, rgba(199,169,75,.18), transparent 20%),
  radial-gradient(circle at 96% 12%, rgba(95,111,82,.14), transparent 22%),
  linear-gradient(115deg, #f5f7ef 0%, #ffffff 42%, #eff3e8 100%);
}
.hero.hero-panoramic.hero-professional-full{width:100%;max-width:none;min-height:100vh;display:grid;grid-template-columns:minmax(0,1.6fr) 470px;gap:0;align-items:stretch;margin:0}
.hero-card.hero-card-wide{border-radius:0;padding:52px 64px 46px 72px;justify-content:center;box-shadow:none;border:none;background:linear-gradient(135deg,rgba(255,255,255,.74),rgba(255,255,255,.9));backdrop-filter:blur(3px)}
.hero-card.hero-card-wide::before,.hero-card.hero-card-wide::after{display:none}
.brand-hero-row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:28px;align-items:start;margin-bottom:24px}
.logo-hero-premium{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 18px 28px rgba(64,81,59,.18));background:#fff;border-radius:34px;padding:14px;border:3px solid rgba(95,111,82,.18)}
.brand-hero-copy .hero-kicker{margin-bottom:14px}
.brand-hero-copy .hero-title{font-size:82px;max-width:900px;margin-bottom:12px}
.brand-hero-copy .hero-lead{font-size:24px;max-width:900px;margin:0}
.role-promo-grid-premium{margin-top:26px;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.premium-role-box{padding:28px 24px 24px;border-radius:28px;min-height:280px;display:flex;flex-direction:column;justify-content:flex-start}
.role-icon-premium{width:112px;height:112px;border-radius:30px;font-size:54px;margin-bottom:22px;box-shadow:0 18px 32px rgba(64,81,59,.12)}
.premium-role-box strong{font-size:28px;line-height:1.1;margin-bottom:10px}
.premium-role-box p{font-size:18px;line-height:1.45}
.institutional-message-wide{margin-top:26px;padding:24px 28px;border-radius:28px;max-width:1200px}
.institutional-message-wide .institutional-title{font-size:26px}
.institutional-message-wide p{font-size:18px}
.login-box.login-box-premium{margin:0;border-radius:0;max-width:none;width:100%;min-height:100vh;padding:42px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,255,255,.96));border-left:1px solid rgba(95,111,82,.12);box-shadow:-10px 0 34px rgba(23,33,24,.06)}
.login-box-premium::before{display:none}
.login-box-inner{width:100%;max-width:420px;background:#fff;padding:34px;border-radius:28px;box-shadow:0 22px 48px rgba(15,23,42,.08);border:1px solid rgba(95,111,82,.10)}
.helper-links.helper-links-stacked{margin-top:14px;justify-content:flex-start}
@media (max-width: 1400px){
  .brand-hero-copy .hero-title{font-size:68px}
  .brand-hero-copy .hero-lead{font-size:21px}
  .premium-role-box strong{font-size:24px}
  .premium-role-box p{font-size:17px}
}
@media (max-width: 1180px){
  .hero.hero-panoramic.hero-professional-full{grid-template-columns:1fr}
  .login-box.login-box-premium{min-height:auto;padding:28px}
  .hero-card.hero-card-wide{padding:44px 28px 28px}
  .brand-hero-row{grid-template-columns:120px 1fr;gap:20px}
  .logo-hero-premium{width:112px;height:112px;border-radius:26px}
  .brand-hero-copy .hero-title{font-size:52px}
  .brand-hero-copy .hero-lead{font-size:18px}
  .role-promo-grid-premium{grid-template-columns:1fr}
  .premium-role-box{min-height:auto}
}
@media (max-width: 700px){
  .brand-hero-row{grid-template-columns:1fr;justify-items:start}
  .hero-card.hero-card-wide{padding:30px 18px 22px}
  .brand-hero-copy .hero-title{font-size:40px}
  .brand-hero-copy .hero-lead{font-size:16px}
  .role-icon-premium{width:88px;height:88px;font-size:44px}
  .premium-role-box strong{font-size:22px}
  .premium-role-box p{font-size:16px}
  .login-box.login-box-premium{padding:18px}
  .login-box-inner{padding:24px}
}

/* v16 professional landing cleanup */
.landing-shell{
  min-height:100vh;
  width:100%;
  display:flex;
  align-items:stretch;
  background:
    radial-gradient(circle at 4% 10%, rgba(199,169,75,.14), transparent 18%),
    radial-gradient(circle at 96% 12%, rgba(95,111,82,.10), transparent 22%),
    linear-gradient(115deg,#f5f7ef 0%,#ffffff 44%,#eef3e8 100%);
}
.landing-left{
  width:60%;
  padding:42px 48px 34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.landing-right{
  width:40%;
  padding:42px 36px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.45);
  border-left:1px solid rgba(95,111,82,.10);
}
.brand-box{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:22px;
}
.brand-logo{
  width:108px;
  height:108px;
  object-fit:contain;
  border-radius:22px;
  background:#fff;
  padding:10px;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
}
.brand-text{
  font-size:18px;
  line-height:1.45;
  color:#3e4d34;
  max-width:620px;
}
.hero-title-clean{
  margin:0 0 14px;
  font-size:72px;
  line-height:1.02;
  font-weight:800;
  letter-spacing:-.04em;
  color:#172016;
  max-width:860px;
}
.hero-text-clean{
  margin:0 0 28px;
  font-size:21px;
  line-height:1.65;
  color:#5f6d5a;
  max-width:840px;
}
.roles-grid-clean{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  max-width:1120px;
}
.role-card-clean{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(226,232,240,.95);
  border-radius:26px;
  padding:24px 22px;
  box-shadow:0 14px 34px rgba(15,23,42,.07);
  min-height:290px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.role-card-clean:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 38px rgba(15,23,42,.10);
}
.role-icon-clean{
  width:92px;
  height:92px;
  border-radius:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:44px;
  margin-bottom:18px;
  box-shadow:0 14px 28px rgba(64,81,59,.10);
}
.role-card-student .role-icon-clean{background:linear-gradient(135deg,#f3f8e8,#e3edd6);border:1px solid rgba(95,111,82,.22)}
.role-card-company .role-icon-clean{background:linear-gradient(135deg,#f9f5e8,#f2e4b7);border:1px solid rgba(199,169,75,.28)}
.role-card-admin .role-icon-clean{background:linear-gradient(135deg,#eef2e7,#dce5d5);border:1px solid rgba(95,111,82,.24)}
.role-card-clean h3{
  margin:0 0 12px;
  font-size:24px;
  line-height:1.18;
  color:#182018;
}
.role-card-clean p{
  margin:0;
  font-size:17px;
  line-height:1.6;
  color:#5d675b;
}
.institutional-banner-clean{
  margin-top:24px;
  max-width:1120px;
  padding:22px 24px;
  border-radius:24px;
  background:linear-gradient(135deg,#40513b,#5f6f52 58%,#c7a94b);
  color:#fff;
  box-shadow:0 18px 30px rgba(64,81,59,.22);
  display:flex;
  flex-direction:column;
  gap:8px;
}
.institutional-banner-clean strong{font-size:24px;line-height:1.2}
.institutional-banner-clean span{font-size:17px;line-height:1.65;color:rgba(255,255,255,.96)}
.login-card-clean{
  width:100%;
  max-width:460px;
  background:#ffffff;
  border-radius:28px;
  padding:34px 32px;
  box-shadow:0 22px 48px rgba(15,23,42,.08);
  border:1px solid rgba(95,111,82,.10);
}
.login-card-clean h2{
  margin:0 0 12px;
  font-size:34px;
  color:#1a2117;
}
.login-card-clean p{
  margin:0 0 24px;
  color:#677260;
  font-size:18px;
  line-height:1.5;
}
.login-card-clean form{display:flex;flex-direction:column;gap:14px}
.login-card-clean .input{margin-bottom:0;height:54px}
.forgot-link-clean{
  display:inline-block;
  margin-top:16px;
  color:#556a39;
  text-decoration:none;
  font-weight:700;
}
.forgot-link-clean:hover{text-decoration:underline}

@media (max-width: 1380px){
  .hero-title-clean{font-size:60px}
  .hero-text-clean{font-size:19px}
  .role-card-clean h3{font-size:22px}
  .role-card-clean p{font-size:16px}
}
@media (max-width: 1180px){
  .landing-shell{flex-direction:column}
  .landing-left,.landing-right{width:100%}
  .landing-left{padding:36px 28px 20px}
  .landing-right{padding:10px 28px 36px;background:transparent;border-left:none}
  .hero-title-clean{font-size:52px;max-width:100%}
  .hero-text-clean{max-width:100%}
  .roles-grid-clean{grid-template-columns:repeat(2,minmax(0,1fr));max-width:100%}
  .login-card-clean{max-width:100%}
}
@media (max-width: 768px){
  .brand-box{flex-direction:column;align-items:flex-start}
  .brand-logo{width:92px;height:92px}
  .hero-title-clean{font-size:40px;line-height:1.08}
  .hero-text-clean{font-size:18px}
  .roles-grid-clean{grid-template-columns:1fr}
  .role-card-clean{min-height:auto}
  .landing-left,.landing-right{padding-left:18px;padding-right:18px}
  .login-card-clean{padding:24px 20px}
  .institutional-banner-clean strong{font-size:20px}
  .institutional-banner-clean span{font-size:16px}
}


/* === PRO institutional shell === */
:root{
  --shell-bg:#f4f6ef;
  --shell-bg-dark:#0f1510;
  --side-grad-1:#101a12;
  --side-grad-2:#1f2e22;
  --side-glow:rgba(199,169,75,.14);
  --danger:#c9362a;
  --danger-dark:#a9261b;
}
body{background:var(--shell-bg)}
body.theme-dark{
  --bg:#111713;
  --panel:#172019;
  --text:#ecf2ea;
  --muted:#b9c4b7;
  --line:#2b3a2d;
  --primary:#718357;
  --primary-dark:#56663f;
  --sidebar:#0e1510;
  --sidebar-soft:#172019;
  --shadow:0 18px 42px rgba(0,0,0,.28);
  background:linear-gradient(135deg,#0f1510,#141b15,#101610);
}
body.theme-dark .card,
body.theme-dark .panel,
body.theme-dark .table,
body.theme-dark .subpanel,
body.theme-dark .role-card-clean,
body.theme-dark .login-card-clean,
body.theme-dark .hero-card,
body.theme-dark .landing-right,
body.theme-dark .landing-left{background:rgba(23,32,25,.92); color:var(--text); border-color:#263629}
body.theme-dark .table th,
body.theme-dark .table td{border-color:#2a392d}
body.theme-dark .table tbody tr:hover{background:#1d281f}
body.theme-dark .input,
body.theme-dark .select,
body.theme-dark .textarea{background:#0f1510;color:var(--text);border-color:#344637}
body.theme-dark .btn-secondary{background:#172019;color:#ecf2ea;border-color:#344637}
body.theme-dark .hero-title-clean,
body.theme-dark .title,
body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4{color:#f3f7f1}
body.theme-dark .muted,
body.theme-dark .hero-text-clean,
body.theme-dark p,
body.theme-dark .small{color:#b7c1b5}
body.theme-dark .brand-text{color:#d5dfd3}
body.theme-dark .institutional-banner-clean{background:linear-gradient(135deg,#273528,#40513b,#a78c3a)}
body.theme-dark .forgot-link-clean,
body.theme-dark a{color:#d8c26a}

.layout{background:transparent}
.sidebar{
  width:252px;
  min-height:100vh;
  padding:18px 16px 14px;
  background:
    radial-gradient(circle at 50% 12%, rgba(199,169,75,.10), transparent 22%),
    radial-gradient(circle at 50% 54%, rgba(95,111,82,.18), transparent 26%),
    linear-gradient(180deg,var(--side-grad-1),var(--side-grad-2) 52%,#101711 100%);
  box-shadow:18px 0 40px rgba(23,33,24,.10);
  position:sticky;
  top:0;
}
.sidebar::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(199,169,75,.04),transparent);
}
.sidebar > *{position:relative;z-index:1}
.brand{
  flex-direction:column;align-items:center;text-align:center;gap:12px;
  background:transparent;border:none;padding:4px 6px 10px;box-shadow:none
}
.brand:hover{transform:none;background:transparent}
.brand img{width:96px;height:96px;border-radius:24px;padding:10px}
.brand-title-chip{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;background:rgba(199,169,75,.16);color:#ddcd88;font-size:12px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
.brand-copy{color:#f3f7f1}
.brand-copy strong{display:block;font-size:24px;line-height:1.05;margin-bottom:6px}
.brand-copy small{display:block;color:rgba(255,255,255,.85);font-size:13px;line-height:1.45}
.user-chip{
  margin-top:4px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;padding:16px 14px;gap:6px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.user-chip .label{font-size:12px;color:#cfd7cf}
.user-chip strong{font-size:17px;color:#fff}
.user-role-badge{display:inline-flex;align-self:flex-start;padding:6px 12px;border-radius:999px;background:#b79d4c;color:#fff;font-size:12px;font-weight:700;margin-top:6px}
.sidebar nav{margin-top:6px;gap:8px}
.sidebar nav a{
  color:#eef3ec;padding:12px 14px;border-radius:14px;font-weight:700;
}
.sidebar nav a:hover,.sidebar nav a.active{
  background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.06);transform:translateX(2px)
}
.sidebar .logout-link{
  margin-top:auto;
  background:linear-gradient(135deg,var(--danger),var(--danger-dark));
  color:#fff;border-radius:16px;padding:14px 18px;text-align:center;
  box-shadow:0 10px 22px rgba(201,54,42,.28)
}
.sidebar .logout-link:hover{background:linear-gradient(135deg,#d84236,#b9281e)}
.content{padding:24px 26px 32px}
.topbar{display:flex;justify-content:flex-end;align-items:center;margin-bottom:18px}
.theme-toggle{
  display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border-radius:999px;
  background:rgba(255,255,255,.9);border:1px solid rgba(0,0,0,.05);color:#202820;
  box-shadow:0 10px 26px rgba(15,23,42,.06);cursor:pointer;font-weight:800
}
.theme-toggle:hover{transform:translateY(-1px)}
body.theme-dark .theme-toggle{background:#1a231c;color:#eef3ec;border-color:#29362b}
.page-shell{max-width:1280px;margin:0 auto}
.btn-danger{background:linear-gradient(135deg,var(--danger),var(--danger-dark))}

@media(max-width:900px){
  .sidebar{position:relative;width:100%;min-height:auto}
  .content{padding:18px}
}






.ofertas-grid,
.jobs-grid,
.vacantes-grid{
  display:grid;
  grid-auto-rows:1fr;
  align-items:stretch;
}

.job-card > *,
.offer-card > *,
.vacante-card > *,
.oferta-card > *,
.card > *{
  flex-shrink:0;
}


@media (max-width: 980px){
  .dashboard-stats-row,
  .stats-grid,
  .dashboard-grid,
  .summary-grid{
    grid-template-columns: 1fr !important;
  }
  .dashboard-stat-card,
  .dashboard-stats-row .card,
  .stats-grid .card,
  .dashboard-grid .card,
  .summary-grid .card{
    height: auto !important;
    min-height: 130px !important;
    max-height: none !important;
  }
}











@media (max-width: 899px){
  .ofertas-grid,
  .jobs-grid,
  .vacantes-grid{
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap:14px !important;
  }

  .job-card,
  .offer-card,
  .vacante-card,
  .oferta-card,
  .card{
    min-height:300px !important;
    max-height:300px !important;
    height:300px !important;
    padding:16px !important;
  }

  .offer-modal-dialog{
    width:calc(100vw - 14px);
    margin:7px auto;
    max-height:calc(100vh - 14px);
  }

  .offer-modal-head h3{
    font-size:22px;
  }

  .offer-modal-body{
    max-height:calc(100vh - 110px);
    padding:18px 18px 22px;
  }
}


.card-actions{
  display:flex !important;
  gap:10px !important;
  margin-top:auto !important;
  align-items:center !important;
  flex-wrap:wrap !important;
}

.postular-card-textarea{
  width:100% !important;
  min-height:96px !important;
  max-height:96px !important;
  height:96px !important;
  resize:vertical !important;
  border-radius:16px !important;
  margin:10px 0 14px 0 !important;
}

.postular-card-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:10px 16px !important;
  border:0 !important;
  border-radius:14px !important;
  background:#6f8340 !important;
  color:#fff !important;
  font-weight:700 !important;
  cursor:pointer !important;
  box-shadow:0 8px 20px rgba(0,0,0,.10) !important;
}

.postular-card-btn:hover{
  filter:brightness(.98) !important;
}


.card-actions{
  display:flex !important;
  gap:10px !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;
  margin-top:auto !important;
  width:100% !important;
}

.postular-card-textarea{
  width:100% !important;
  min-height:92px !important;
  max-height:92px !important;
  height:92px !important;
  resize:vertical !important;
  border-radius:16px !important;
  margin:10px 0 14px 0 !important;
  box-sizing:border-box !important;
}

.ver-mas-detalles-btn,
.postular-card-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:118px !important;
  height:44px !important;
  padding:0 16px !important;
  border-radius:14px !important;
  white-space:nowrap !important;
}

.postular-card-btn{
  border:0 !important;
  background:#6f8340 !important;
  color:#fff !important;
  font-weight:700 !important;
  cursor:pointer !important;
  box-shadow:0 8px 20px rgba(0,0,0,.10) !important;
}

.ver-mas-detalles-btn{
  border:1px solid #d6dec8 !important;
  background:#fff !important;
  color:#3e4b33 !important;
  font-weight:700 !important;
  cursor:pointer !important;
  box-shadow:0 8px 20px rgba(0,0,0,.06) !important;
}

.offer-modal-postular{
  margin-top:22px !important;
  padding-top:18px !important;
  border-top:1px solid #edf1e8 !important;
}

.offer-modal-label{
  display:block !important;
  margin-bottom:8px !important;
  font-weight:600 !important;
  color:#41503a !important;
}

.offer-modal-textarea{
  width:100% !important;
  min-height:120px !important;
  border-radius:16px !important;
  margin-bottom:14px !important;
  box-sizing:border-box !important;
}

.offer-modal-actions{
  display:flex !important;
  gap:10px !important;
  justify-content:flex-start !important;
}

@media (max-width: 899px){
  .card-actions{
    flex-wrap:wrap !important;
  }
  .ver-mas-detalles-btn,
  .postular-card-btn{
    min-width:100px !important;
  }
}


/* Postulante: catálogo compacto funcional */
.jobs-catalog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:18px;
  align-items:stretch;
}

.job-card-student{
  display:flex !important;
  flex-direction:column !important;
  justify-content:space-between !important;
  min-height:420px !important;
  height:100% !important;
  padding:18px !important;
  border-radius:22px !important;
  overflow:hidden !important;
}

.job-card-top{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.job-card-title{
  margin:0;
  font-size:18px;
  line-height:1.15;
}

.job-card-company{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
  min-height:36px;
}

.job-card-logo-wrap{
  margin-top:6px;
}

.job-card-logo{
  width:84px;
  height:84px;
  object-fit:contain;
  border-radius:16px;
  background:#fff;
  border:1px solid #e5eadf;
  padding:8px;
}

.job-card-meta{
  margin:4px 0 0;
  color:var(--muted);
  font-size:14px;
}

.job-apply-form{
  margin-top:auto;
  display:flex;
  flex-direction:column;
}

.postular-card-textarea{
  width:100%;
  min-height:90px !important;
  max-height:90px !important;
  height:90px !important;
  resize:vertical !important;
  border-radius:16px !important;
  margin:12px 0 14px 0 !important;
  padding:12px 14px !important;
  border:1px solid #cbd5e1 !important;
  box-sizing:border-box !important;
  font:inherit !important;
}

.card-actions{
  display:flex !important;
  gap:10px !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;
  margin-top:auto !important;
}

.ver-mas-detalles-btn,
.postular-card-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:118px !important;
  height:44px !important;
  padding:0 16px !important;
  border-radius:14px !important;
  white-space:nowrap !important;
  cursor:pointer !important;
  font-weight:700 !important;
  font:inherit !important;
}

.ver-mas-detalles-btn{
  border:1px solid #d6dec8 !important;
  background:#fff !important;
  color:#3e4b33 !important;
  box-shadow:0 8px 20px rgba(0,0,0,.06) !important;
}

.postular-card-btn{
  border:0 !important;
  background:#6f8340 !important;
  color:#fff !important;
  box-shadow:0 8px 20px rgba(0,0,0,.10) !important;
}

.ver-mas-detalles-btn:hover,
.postular-card-btn:hover{
  transform:translateY(-1px);
}

html.modal-open,
html.modal-open body{
  overflow:hidden !important;
}

.offer-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
}

.offer-modal.is-open{
  display:block;
}

.offer-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(22,28,18,.52);
  backdrop-filter:blur(4px);
}

.offer-modal-dialog{
  position:relative;
  width:min(860px, calc(100vw - 28px));
  max-height:calc(100vh - 24px);
  margin:12px auto;
  background:#fff;
  border-radius:24px;
  box-shadow:0 30px 80px rgba(0,0,0,.25);
  overflow:hidden;
}

.offer-modal-head{
  padding:22px 24px 14px;
  border-bottom:1px solid #edf1e8;
  background:linear-gradient(180deg, #fafcf8 0%, #ffffff 100%);
}

.offer-modal-head h3{
  margin:0 0 6px;
  font-size:28px;
  line-height:1.1;
}

.offer-modal-subtitle{
  margin:0;
  color:#68755f;
  font-size:14px;
}

.offer-modal-body{
  padding:22px 24px 28px;
  overflow:auto;
  max-height:calc(100vh - 120px);
  color:#24301f;
  line-height:1.6;
}

.offer-modal-meta{
  margin-top:0;
  color:#68755f;
  font-weight:700;
}

.offer-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border:0;
  border-radius:14px;
  background:#eef3e7;
  color:#2c3824;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}

@media (max-width: 899px){
  .jobs-catalog-grid{
    grid-template-columns:1fr;
  }

  .job-card-student{
    min-height:auto !important;
  }

  .card-actions{
    flex-wrap:wrap !important;
  }

  .offer-modal-dialog{
    width:calc(100vw - 14px);
    margin:7px auto;
  }
}

.menu-toggle{display:none;border:none;background:rgba(15,23,42,.06);padding:10px 12px;border-radius:12px;font-size:20px;cursor:pointer}
.hero-panel{display:flex;justify-content:space-between;gap:20px;align-items:center;background:linear-gradient(135deg,#0f766e,#14532d);color:#fff;padding:26px;border-radius:24px;margin-bottom:20px;box-shadow:0 18px 40px rgba(15,23,42,.14)}
.hero-panel .title,.hero-panel .muted{color:#fff}.hero-copy{max-width:720px}.hero-title{margin-bottom:8px}.kicker{display:inline-block;font-size:.85rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.9;margin-bottom:6px}.hero-badges{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.hero-badge{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);padding:10px 14px;border-radius:999px;font-weight:700}.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.compact-hero{padding:20px 24px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.section-head.compact h3,.section-head.compact h1{margin:0}.table-responsive{overflow:auto}.inline-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.btn-sm{padding:8px 12px;font-size:.9rem}.scroll-panel-form{max-height:85vh;overflow:hidden}.form-scrollable{max-height:72vh;overflow:auto;padding-right:4px;display:flex;flex-direction:column;gap:12px}.textarea-mini{min-height:96px}.search-panel{margin-bottom:18px}.jobs-search-bar{display:grid;grid-template-columns:2fr 1fr 1fr auto auto;gap:10px;align-items:center}.input-line{min-height:46px}.empty-state{background:#fff;border:1px dashed rgba(15,23,42,.18);border-radius:24px;padding:40px 24px;text-align:center;box-shadow:0 10px 30px rgba(15,23,42,.06)}.empty-icon{font-size:48px;margin-bottom:10px}.pro-jobs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}.pro-card{padding:0;overflow:hidden;border-radius:24px;box-shadow:0 18px 34px rgba(15,23,42,.1);transition:transform .25s ease,box-shadow .25s ease;background:#fff}.pro-card:hover{transform:translateY(-5px) scale(1.01);box-shadow:0 22px 40px rgba(15,23,42,.16)}.job-card-hero{display:flex;justify-content:space-between;gap:16px;padding:20px;background:linear-gradient(135deg,rgba(22,163,74,.12),rgba(14,165,233,.12))}.job-card-copy{flex:1}.job-card-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.job-card-tags span{font-size:.84rem;background:#eef6ff;padding:6px 10px;border-radius:999px;color:#0f172a}.job-card-logo-wrap.large{width:84px;height:84px;border-radius:22px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(15,23,42,.12)}.job-card-logo.placeholder{display:flex;align-items:center;justify-content:center;font-size:34px;width:100%;height:100%}.job-highlight-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 20px 10px;color:#334155;font-size:.95rem}.job-card-description{padding:0 20px 6px;color:#334155}.primary-outline{margin:0 20px 14px;border:1px solid #0f766e;background:#fff;color:#0f766e;padding:12px 14px;border-radius:14px;font-weight:700;cursor:pointer}.job-apply-box{padding:0 20px 20px}.textarea-postular{min-height:86px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}.detail-grid div,.detail-section{background:#f8fafc;border-radius:16px;padding:14px}.detail-section{margin-bottom:12px}.pro-dialog{max-width:860px}.two-col-admin-pro{align-items:flex-start}.company-manage-card{margin-bottom:14px}.job-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.logo-mini{width:38px;height:38px;object-fit:cover;border-radius:12px}.table .btn{white-space:nowrap}

@media (max-width: 1180px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.jobs-search-bar{grid-template-columns:1fr 1fr}.hero-panel{flex-direction:column;align-items:flex-start}.hero-badges{justify-content:flex-start}}
@media (max-width: 980px){.menu-toggle{display:inline-flex;align-items:center;justify-content:center}.sidebar{position:fixed;left:-320px;top:0;bottom:0;z-index:50;transition:left .25s ease;max-width:300px}.sidebar.is-open{left:0}.content{margin-left:0!important;width:100%}.topbar{justify-content:space-between}.job-highlight-row,.detail-grid,.job-mini-grid,.grid-4{grid-template-columns:1fr}.two-col,.two-col-admin-pro{grid-template-columns:1fr!important}.jobs-search-bar{grid-template-columns:1fr}.scroll-panel-form{max-height:none}.form-scrollable{max-height:none}}


/* users admin pagination + sticky sidebar */
.users-admin-layout{align-items:flex-start}
.users-admin-layout > .panel{min-width:0}
.users-admin-layout .table-responsive{overflow:auto}
.admin-sticky-side{position:sticky;top:20px;align-self:start}
.pagination-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid #e5e7eb}
.pagination-summary{color:#64748b;font-size:.95rem}
.pagination-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.page-indicator{font-weight:700;color:#1f2937;background:#f8fafc;border:1px solid #e5e7eb;padding:8px 12px;border-radius:999px}
.btn.is-disabled{pointer-events:none;opacity:.5}
@media (max-width: 980px){
  .admin-sticky-side{position:static}
  .pagination-bar{align-items:flex-start}
}

.jobs-admin-layout{align-items:flex-start}
.jobs-admin-layout > .panel{min-width:0}
.sticky-panel{position:sticky;top:24px}
.pagination-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.is-disabled{pointer-events:none;opacity:.55}
@media (max-width: 980px){
  .sticky-panel{position:static;top:auto}
}


.table-users-admin,.table-jobs-admin{min-width:980px}
.actions-col{position:sticky;right:0;background:#fff;z-index:2;min-width:126px;box-shadow:-8px 0 12px rgba(15,23,42,.04)}
.table thead .actions-col{z-index:3;background:#fff}
.table tbody tr:hover .actions-col{background:#f8fafc}
.table-responsive{overflow-x:auto;overflow-y:visible}
@media(max-width:1100px){.table-users-admin,.table-jobs-admin{min-width:1080px}}

/* v17 force visible action buttons in admin tables */
.users-admin-layout,.jobs-admin-layout{grid-template-columns:minmax(0,1fr) 420px;gap:24px}
.table-responsive{width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}
.table-users-admin,.table-jobs-admin{width:100%;min-width:100%;table-layout:auto}
.table-users-admin th,.table-users-admin td,.table-jobs-admin th,.table-jobs-admin td{padding:16px 14px;vertical-align:top;font-size:15px}
.table-users-admin th:nth-child(1),.table-users-admin td:nth-child(1){width:72px}
.table-users-admin th:nth-child(2),.table-users-admin td:nth-child(2){min-width:230px}
.table-users-admin th:nth-child(3),.table-users-admin td:nth-child(3){min-width:140px}
.table-users-admin th:nth-child(4),.table-users-admin td:nth-child(4){min-width:270px}
.table-users-admin th:nth-child(5),.table-users-admin td:nth-child(5){min-width:120px}
.table-users-admin th:nth-child(6),.table-users-admin td:nth-child(6){min-width:110px}
.table-jobs-admin th:nth-child(1),.table-jobs-admin td:nth-child(1){min-width:300px}
.table-jobs-admin th:nth-child(2),.table-jobs-admin td:nth-child(2){min-width:220px}
.table-jobs-admin th:nth-child(3),.table-jobs-admin td:nth-child(3){min-width:130px}
.table-jobs-admin th:nth-child(4),.table-jobs-admin td:nth-child(4){min-width:110px}
.actions-col{position:sticky;right:0;background:#fff;z-index:4;min-width:180px;width:180px;box-shadow:-10px 0 14px rgba(15,23,42,.06)}
.table thead .actions-col{background:#fff;z-index:5}
.inline-actions{display:flex;gap:8px;flex-wrap:nowrap;align-items:center}
.inline-actions form{margin:0}
.inline-actions .btn{min-width:82px;justify-content:center;text-align:center}
@media(max-width:1400px){.users-admin-layout,.jobs-admin-layout{grid-template-columns:minmax(0,1fr) 380px}}
@media(max-width:1100px){.users-admin-layout,.jobs-admin-layout{grid-template-columns:1fr}.actions-col{position:sticky;right:0}.table-users-admin,.table-jobs-admin{min-width:980px}}


/* usuarios pro max */
.users-table-pro-wrap{overflow-x:auto;overflow-y:visible}
.table-users-pro-max{width:100%;min-width:0;table-layout:fixed}
.table-users-pro-max th,.table-users-pro-max td{padding:16px 14px;vertical-align:middle}
.table-users-pro-max th:nth-child(1),.table-users-pro-max td:nth-child(1){width:82px}
.table-users-pro-max th:nth-child(2),.table-users-pro-max td:nth-child(2){width:48%}
.table-users-pro-max th:nth-child(3),.table-users-pro-max td:nth-child(3){width:28%}
.table-users-pro-max th:nth-child(4),.table-users-pro-max td:nth-child(4){width:220px}
.text-clip{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.text-clip-name{font-weight:600;color:#1f2937}
.text-clip-user{color:#374151}
.inline-actions-users-pro{justify-content:flex-start;gap:10px;flex-wrap:nowrap}
.inline-actions-users-pro .btn{min-width:88px}
.table-users-pro-max .actions-col{position:sticky;right:0;background:#fff;z-index:5;box-shadow:-10px 0 16px rgba(15,23,42,.06)}
.table-users-pro-max tbody tr:hover .actions-col{background:#f8fafc}
@media(max-width:1100px){.table-users-pro-max{min-width:720px}}


/* portada premium final */
.welcome-premium{min-height:calc(100vh - 40px);display:flex;align-items:center;justify-content:center;padding:10px 0 36px}
.welcome-premium__inner{width:100%;max-width:980px;margin:0 auto;text-align:center}
.welcome-premium__logo-wrap{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:16px}
.welcome-premium__logo-card{width:108px;height:108px;border-radius:30px;background:#fff;border:1px solid #edf0e6;box-shadow:0 12px 30px rgba(23,33,24,.08);display:flex;align-items:center;justify-content:center;overflow:hidden}
.welcome-premium__logo{width:82px;height:82px;object-fit:contain}
.welcome-premium__badge{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;background:#eef1e6;color:#5f6d42;font-weight:700;font-size:14px}
.welcome-premium__title{margin:10px 0 12px;font-size:clamp(54px,8vw,92px);line-height:.95;letter-spacing:-.05em;font-weight:900;color:#172016}
.welcome-premium__subtitle{max-width:780px;margin:0 auto;font-size:clamp(18px,2.4vw,24px);line-height:1.6;color:#5f6d5a}
.welcome-premium__subtitle strong{color:#5f6d42}
.welcome-premium__roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:960px;margin:24px auto 0}
.welcome-role-card{background:rgba(255,255,255,.78);border:1px solid #e2e8d8;border-radius:24px;padding:22px 18px;box-shadow:0 10px 24px rgba(23,33,24,.05);display:flex;flex-direction:column;align-items:center;gap:8px}
.welcome-role-card__icon{width:68px;height:68px;border-radius:20px;background:linear-gradient(135deg,#f5f7ef,#e8edde);display:flex;align-items:center;justify-content:center;font-size:32px;border:1px solid rgba(95,111,82,.14)}
.welcome-role-card strong{font-size:24px;line-height:1.1;color:#1b2419}
.welcome-role-card span{font-size:15px;line-height:1.45;color:#5f6d5a}
.welcome-premium__login-card{width:100%;max-width:420px;margin:26px auto 0;padding:28px 24px;background:rgba(255,255,255,.92);border:1px solid #edf0e7;border-radius:28px;box-shadow:0 18px 40px rgba(23,33,24,.09)}
.welcome-premium__login-icon{width:62px;height:62px;border-radius:18px;background:#eef1e6;border:1px solid #e4e8dc;display:flex;align-items:center;justify-content:center;font-size:28px;margin:0 auto 12px}
.welcome-premium__login-card h2{margin:0;font-size:22px}
.welcome-premium__login-card p{margin:10px auto 18px;max-width:310px;color:#5f6d5a;line-height:1.5}
.welcome-premium__forgot{display:inline-block;margin-top:14px;color:#5f6d42;text-decoration:none;font-size:14px;font-weight:700}
.welcome-premium__forgot:hover{text-decoration:underline}
.page-shell:has(.welcome-premium){max-width:none}
@media(max-width:900px){.welcome-premium__roles{grid-template-columns:1fr}.welcome-premium__title{font-size:clamp(44px,13vw,68px)}.welcome-premium__subtitle{font-size:18px}.welcome-role-card strong{font-size:20px}}

/* === AJUSTES FINALES IESTP EL DORADO - Bolsa Laboral === */
.user-search-bar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto auto;gap:12px;align-items:center;border:1px solid #e2e8f0;border-radius:22px;padding:14px 16px;margin:12px 0 18px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.06)}
.user-search-bar .input{margin-bottom:0;min-height:48px}.user-result-text{margin:8px 0 16px}.no-horizontal-scroll{overflow-x:hidden!important}.table-users-compact-final{width:100%;min-width:0!important;table-layout:fixed}.table-users-compact-final th,.table-users-compact-final td{padding:14px 12px;vertical-align:middle}.table-users-compact-final th:nth-child(1),.table-users-compact-final td:nth-child(1){width:34%}.table-users-compact-final th:nth-child(2),.table-users-compact-final td:nth-child(2){width:20%}.table-users-compact-final th:nth-child(3),.table-users-compact-final td:nth-child(3){width:14%}.table-users-compact-final th:nth-child(4),.table-users-compact-final td:nth-child(4){width:14%}.table-users-compact-final th:nth-child(5),.table-users-compact-final td:nth-child(5){width:18%}.table-users-compact-final .actions-col{position:static!important;right:auto!important;min-width:0!important;width:auto!important;box-shadow:none!important;background:transparent!important}.status-pill{display:inline-flex;padding:7px 12px;border-radius:999px;background:#e8edf5;color:#111827;font-weight:800}.actions-user-edit-final{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.already-applied{background:#64748b!important;opacity:.85;cursor:not-allowed}.jobs-admin-layout{grid-template-columns:minmax(0,1fr) 420px!important}.jobs-admin-layout .scroll-panel-form{max-height:calc(100vh - 72px)}.jobs-admin-layout .form-scrollable{gap:16px}.jobs-admin-layout .input,.jobs-admin-layout .select{min-height:58px}.jobs-admin-layout .textarea{min-height:140px}.jobs-admin-layout .textarea-mini{min-height:150px}.job-card-logo-wrap.large{flex:0 0 92px;width:92px;height:92px}.job-card-logo{max-width:82px;max-height:82px;object-fit:contain}.job-card-company{font-weight:700;color:#334155}.postular-card-btn.already-applied{width:100%;}
@media(max-width:1200px){.user-search-bar{grid-template-columns:1fr 1fr}.table-users-compact-final th:nth-child(5),.table-users-compact-final td:nth-child(5){width:24%}}
@media(max-width:980px){.user-search-bar{grid-template-columns:1fr}.no-horizontal-scroll{overflow-x:auto!important}.table-users-compact-final{min-width:680px!important}.jobs-admin-layout{grid-template-columns:1fr!important}.jobs-admin-layout .scroll-panel-form{max-height:none}}

/* Ajuste perfil estudiante */
.input[readonly]{background:#f5f7f3;color:#263023;font-weight:700;cursor:not-allowed;}
.file-label{display:block;margin:14px 0 8px;color:#263023;font-size:14px;}

/* === FINAL UX PRO: tabla usuarios compacta sin recorte de acciones === */
.users-admin-layout{
  grid-template-columns:minmax(0, 1fr) 360px !important;
  gap:18px !important;
}
.users-admin-layout > .panel{min-width:0!important;overflow:visible!important;}
.users-table-pro-wrap,
.table-responsive.no-horizontal-scroll{
  overflow-x:hidden!important;
  overflow-y:visible!important;
  width:100%!important;
}
.table-users-compact-final{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  font-size:13.5px!important;
}
.table-users-compact-final th,
.table-users-compact-final td{
  padding:10px 8px!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.table-users-compact-final th:nth-child(1),
.table-users-compact-final td:nth-child(1){width:31%!important;}
.table-users-compact-final th:nth-child(2),
.table-users-compact-final td:nth-child(2){width:16%!important;}
.table-users-compact-final th:nth-child(3),
.table-users-compact-final td:nth-child(3){width:11%!important;}
.table-users-compact-final th:nth-child(4),
.table-users-compact-final td:nth-child(4){width:13%!important;}
.table-users-compact-final th:nth-child(5),
.table-users-compact-final td:nth-child(5){width:29%!important;overflow:visible!important;}
.table-users-compact-final .actions-col{
  position:static!important;
  right:auto!important;
  box-shadow:none!important;
  background:transparent!important;
  z-index:auto!important;
  overflow:visible!important;
}
.inline-actions-users-pro{
  display:flex!important;
  gap:6px!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}
.inline-actions-users-pro form{margin:0!important;display:inline-flex!important;}
.inline-actions-users-pro .btn{
  min-width:66px!important;
  max-width:78px!important;
  padding:7px 10px!important;
  font-size:12.5px!important;
  line-height:1!important;
  border-radius:18px!important;
  text-align:center!important;
  justify-content:center!important;
}
.table-users-compact-final .status-pill{
  padding:6px 10px!important;
  font-size:12.5px!important;
  max-width:78px!important;
}
.text-clip,
.text-clip-name{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.actions-user-edit-final{
  display:flex!important;
  gap:8px!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
}
.actions-user-edit-final .btn{padding:10px 14px!important;font-size:14px!important;white-space:nowrap!important;}
@media(max-width:1280px){
  .users-admin-layout{grid-template-columns:minmax(0, 1fr) 330px!important;gap:14px!important;}
  .table-users-compact-final{font-size:12.8px!important;}
  .table-users-compact-final th,.table-users-compact-final td{padding:9px 6px!important;}
  .inline-actions-users-pro .btn{min-width:60px!important;max-width:72px!important;padding:7px 8px!important;font-size:12px!important;}
}
@media(max-width:1100px){
  .users-admin-layout{grid-template-columns:1fr!important;}
  .table-responsive.no-horizontal-scroll{overflow-x:auto!important;}
  .table-users-compact-final{min-width:720px!important;}
}

/* === SISTEMA FINAL PRODUCCIÓN: usuarios sin recortes ni scroll interno === */
.page-shell:has(.users-admin-layout){
  max-width:1500px!important;
}
.users-admin-layout{
  grid-template-columns:minmax(0, 1fr) 460px!important;
  gap:24px!important;
  align-items:flex-start!important;
}
.admin-sticky-side,
.admin-sticky-side .panel,
.users-admin-layout .scroll-panel-form,
.users-admin-layout .form-scrollable{
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
}
.users-admin-layout .form-scrollable{
  padding-right:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
}
.actions-user-edit-final{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
}
.actions-user-edit-final .btn{
  min-width:auto!important;
  max-width:none!important;
  padding:10px 12px!important;
  font-size:13px!important;
  border-radius:16px!important;
  white-space:nowrap!important;
}
.actions-user-edit-final .btn:first-child{flex:0 0 auto!important;}
.actions-user-edit-final .btn:nth-child(2){flex:0 0 auto!important;}
.actions-user-edit-final .btn:nth-child(3){flex:0 0 auto!important;}
.table-users-compact-final th:nth-child(1),
.table-users-compact-final td:nth-child(1){width:32%!important;}
.table-users-compact-final th:nth-child(2),
.table-users-compact-final td:nth-child(2){width:16%!important;}
.table-users-compact-final th:nth-child(3),
.table-users-compact-final td:nth-child(3){width:10%!important;}
.table-users-compact-final th:nth-child(4),
.table-users-compact-final td:nth-child(4){width:12%!important;}
.table-users-compact-final th:nth-child(5),
.table-users-compact-final td:nth-child(5){width:30%!important;overflow:visible!important;}
.inline-actions-users-pro .btn{
  min-width:72px!important;
  max-width:none!important;
  padding:7px 10px!important;
  font-size:12.5px!important;
}
@media(max-width:1450px){
  .page-shell:has(.users-admin-layout){max-width:1380px!important;}
  .users-admin-layout{grid-template-columns:minmax(0, 1fr) 420px!important;gap:18px!important;}
  .actions-user-edit-final .btn{padding:9px 10px!important;font-size:12.5px!important;}
}
@media(max-width:1280px){
  .users-admin-layout{grid-template-columns:1fr!important;}
  .admin-sticky-side{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;}
}
@media(max-width:900px){
  .admin-sticky-side{grid-template-columns:1fr!important;}
  .user-search-bar{grid-template-columns:1fr!important;}
  .table-responsive.no-horizontal-scroll{overflow-x:auto!important;}
  .table-users-compact-final{min-width:760px!important;}
}

/* FINAL: layout fijo y proporcional basado en el proyecto de referencia */
@media (min-width: 981px){
  html, body{min-height:100%;}
  body{overflow-y:auto;}
  .layout{display:block;min-height:100vh;}
  .sidebar{
    position:fixed !important;
    left:0;top:0;bottom:0;
    width:270px !important;
    height:100vh !important;
    overflow-y:auto;
    z-index:40;
  }
  .content{
    margin-left:270px !important;
    width:calc(100% - 270px) !important;
    min-height:100vh;
    padding:28px 32px !important;
    overflow:visible !important;
  }
  .page-shell{max-width:100%;}
  .two-col-admin-pro{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) minmax(360px, 440px) !important;
    gap:24px !important;
    align-items:start !important;
  }
  .jobs-admin-layout,.users-admin-layout{align-items:start !important;}
  .sticky-panel{
    position:sticky !important;
    top:24px !important;
    align-self:start !important;
    max-height:none !important;
    overflow:visible !important;
  }
  .scroll-panel-form{max-height:none !important;overflow:visible !important;}
  .form-scrollable{max-height:none !important;overflow:visible !important;padding-right:0 !important;}
  .table-responsive{max-width:100%;overflow-x:auto;}
  .panel{height:auto;}
}

@media (max-width: 980px){
  .layout{display:flex;}
  .content{width:100%;}
  .two-col-admin-pro{grid-template-columns:1fr !important;}
  .sticky-panel{position:static !important;}
  .scroll-panel-form,.form-scrollable{max-height:none !important;overflow:visible !important;}
}

.user-role-badge{white-space:nowrap;max-width:100%;font-size:13px;line-height:1.2;padding:7px 13px;}
.password-last-change{margin:6px 0 14px;color:#475569;}
.file-actions{margin-top:10px;}
.upload-progress{display:none;height:10px;background:#eef2e6;border-radius:999px;overflow:hidden;margin:8px 0 12px;border:1px solid #d9e1d0;}
.upload-progress span{display:block;width:0;height:100%;background:linear-gradient(135deg,var(--primary),var(--primary-dark));transition:width .25s ease;}
.welcome-institutional-action{display:flex;justify-content:center;margin-bottom:18px;}
.btn-institutional-site{border-radius:999px;padding:10px 18px;background:#fff;text-decoration:none;}


/* Upload UX: barra de carga y límite 50 MB */
.upload-helper{margin:-6px 0 12px;color:var(--muted);font-size:13px;line-height:1.35}
.upload-progress{display:none;margin:-4px 0 14px;background:#edf2e7;border:1px solid #d8e1d0;border-radius:999px;height:12px;overflow:hidden;box-shadow:inset 0 1px 2px rgba(15,23,42,.08)}
.upload-progress.is-active{display:block}
.upload-progress-bar{height:100%;width:0%;border-radius:999px;background:linear-gradient(90deg,var(--primary),var(--accent));transition:width .18s ease}
.upload-progress-text{display:none;margin:-6px 0 12px;color:var(--primary-dark);font-size:13px;font-weight:700}
.upload-progress-text.is-active{display:block}
.file-error{display:none;margin:-6px 0 12px;padding:10px 12px;border-radius:12px;background:#fef2f2;color:#991b1b;border:1px solid #fecaca;font-size:13px;font-weight:700}
.file-error.is-active{display:block}
button.is-loading,.btn.is-loading{opacity:.78;pointer-events:none;position:relative}
button.is-loading::after,.btn.is-loading::after{content:"";width:14px;height:14px;border:2px solid rgba(255,255,255,.7);border-top-color:transparent;border-radius:50%;animation:spinUpload .75s linear infinite;margin-left:8px}
@keyframes spinUpload{to{transform:rotate(360deg)}}

/* Mejora de carga de archivos: porcentaje real con XMLHttpRequest */
.upload-field{display:block;width:100%;}
.upload-progress[role="progressbar"]{position:relative;}
.upload-progress-text{letter-spacing:.01em;}

/* Ajuste solicitado: logo institucional más grande en portada */
.welcome-premium__logo-wrap{
  margin-bottom:18px;
}
.welcome-premium__logo-card{
  width:170px !important;
  height:170px !important;
  border-radius:42px !important;
  padding:14px !important;
  box-shadow:0 22px 46px rgba(23,33,24,.14) !important;
}
.welcome-premium__logo{
  width:145px !important;
  height:145px !important;
  object-fit:contain !important;
}
@media(max-width:768px){
  .welcome-premium__logo-card{
    width:132px !important;
    height:132px !important;
    border-radius:34px !important;
    padding:10px !important;
  }
  .welcome-premium__logo{
    width:112px !important;
    height:112px !important;
  }
}

/* === CORRECCIÓN FINAL: botón volver fijo al lado izquierdo en portada === */
.page-shell:has(.welcome-premium) .welcome-institutional-action{
  position:fixed !important;
  top:28px !important;
  left:34px !important;
  right:auto !important;
  z-index:9999 !important;
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  margin:0 !important;
  width:auto !important;
  pointer-events:auto !important;
}
.page-shell:has(.welcome-premium) .btn-institutional-site{
  display:inline-flex !important;
  align-items:center !important;
  gap:12px !important;
  min-height:54px !important;
  padding:10px 22px 10px 12px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.94) !important;
  color:#152015 !important;
  border:1px solid rgba(95,111,82,.16) !important;
  box-shadow:0 14px 34px rgba(23,33,24,.10) !important;
  text-decoration:none !important;
  font-weight:900 !important;
  font-size:16px !important;
  line-height:1 !important;
  backdrop-filter:blur(10px) !important;
  -webkit-backdrop-filter:blur(10px) !important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.page-shell:has(.welcome-premium) .btn-institutional-site::before{
  content:'←' !important;
  width:34px !important;
  height:34px !important;
  border-radius:50% !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:linear-gradient(135deg,#5f6f34,#35451f) !important;
  color:#fff !important;
  font-size:22px !important;
  font-weight:900 !important;
  box-shadow:0 8px 18px rgba(53,69,31,.22) !important;
}
.page-shell:has(.welcome-premium) .btn-institutional-site{
  font-size:0 !important;
}
.page-shell:has(.welcome-premium) .btn-institutional-site::after{
  content:'Volver al sitio institucional' !important;
  font-size:16px !important;
}
.page-shell:has(.welcome-premium) .btn-institutional-site:hover{
  transform:translateY(-2px) !important;
  background:#fff !important;
  box-shadow:0 18px 42px rgba(23,33,24,.16) !important;
}
.page-shell:has(.welcome-premium) .welcome-premium__inner{
  padding-top:42px !important;
}
@media(max-width:760px){
  .page-shell:has(.welcome-premium) .welcome-institutional-action{
    top:16px !important;
    left:14px !important;
  }
  .page-shell:has(.welcome-premium) .btn-institutional-site{
    min-height:46px !important;
    padding:8px 14px 8px 8px !important;
  }
  .page-shell:has(.welcome-premium) .btn-institutional-site::before{
    width:30px !important;
    height:30px !important;
    font-size:19px !important;
  }
  .page-shell:has(.welcome-premium) .btn-institutional-site::after{
    font-size:13px !important;
  }
}

/* === AJUSTE FINAL: sidebar con iconos y rol Administrador completo === */
.sidebar nav a.nav-item{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  min-height:48px;
  font-size:16px;
}
.sidebar nav a.nav-item .nav-icon{
  width:30px;
  min-width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  line-height:1;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.18));
}
.sidebar nav a.nav-item span:last-child{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.user-role-badge{
  max-width:100% !important;
  white-space:nowrap !important;
  padding:8px 16px !important;
  font-size:14px !important;
  gap:8px;
}
.user-role-badge::before{
  content:'🛡️';
  font-size:15px;
}
.user-chip strong{
  display:block;
  max-width:100%;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  line-height:1.2;
}
@media (min-width:981px){
  .sidebar{width:300px !important;}
  .content{margin-left:300px !important;width:calc(100% - 300px) !important;}
}

/* Confirmación visual de carga de archivos */
.upload-result{display:none;margin:12px 0 12px;padding:12px 14px;border-radius:16px;font-size:14px;font-weight:700;line-height:1.45;border:1px solid transparent;}
.upload-result.is-success{display:flex;align-items:center;gap:10px;background:#ecfdf3;color:#166534;border-color:#86efac;}
.upload-result.is-error{display:flex;align-items:center;gap:10px;background:#fef2f2;color:#991b1b;border-color:#fecaca;}
.upload-result.is-info{display:flex;align-items:center;gap:10px;background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe;}
.upload-result .status-icon{width:26px;height:26px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.75);box-shadow:0 2px 6px rgba(0,0,0,.08);flex:0 0 auto;}
.upload-field .input[type="file"], input[type="file"].file-upload-input{cursor:pointer;background:#fff;}
.upload-progress-text{font-size:14px!important;font-weight:800!important;color:#4b5f3b!important;margin:8px 0!important;}
.upload-progress{height:14px!important;margin:8px 0 10px!important;background:#eef2e6!important;}
.upload-progress-bar{background:linear-gradient(90deg,#5f6f52,#c2a84f,#5f6f52)!important;}
.btn.is-loading{opacity:.85;pointer-events:none;position:relative;}
.btn.is-loading::after{content:"";display:inline-block;width:18px;height:18px;margin-left:10px;border:3px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;vertical-align:middle;animation:spinUpload .75s linear infinite;}
@keyframes spinUpload{to{transform:rotate(360deg)}}

/* CARGA DE ARCHIVOS PRO: porcentaje + animación visible */
.upload-field-pro{margin-top:10px;}
.upload-helper{margin:8px 0 6px;color:#66735f;font-size:14px;}
.upload-progress{display:none;width:100%;height:14px;border-radius:999px;background:#eef2e6;border:1px solid #d8e1d0;overflow:hidden;box-shadow:inset 0 1px 3px rgba(15,23,42,.12);}
.upload-progress.is-active{display:block!important;}
.upload-progress-bar{height:100%;width:0%;border-radius:999px;background:linear-gradient(90deg,#5f6f52,#c2a84f,#5f6f52);background-size:220% 100%;animation:uploadMove 1s linear infinite;transition:width .18s ease;}
.upload-progress-bar.is-complete{animation:none;background:#2f8f3a;}
.upload-progress-text{display:none;margin:8px 0 8px;color:#4b5f3b;font-size:14px;font-weight:800;}
.upload-progress-text.is-active{display:block!important;}
.upload-result{display:none;margin:12px 0 12px;padding:12px 14px;border-radius:16px;font-size:14px;font-weight:700;line-height:1.45;border:1px solid transparent;}
.upload-result.is-success{display:flex!important;align-items:center;gap:10px;background:#ecfdf3;color:#166534;border-color:#86efac;}
.upload-result.is-error{display:flex!important;align-items:center;gap:10px;background:#fef2f2;color:#991b1b;border-color:#fecaca;}
.upload-result.is-info{display:flex!important;align-items:center;gap:10px;background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe;}
.file-error.is-active{display:block!important;}
@keyframes uploadMove{0%{background-position:0% 50%;}100%{background-position:220% 50%;}}

/* Progreso real de carga: sin barra falsa. Si el navegador/servidor no informa tamaño, se muestra estado indeterminado. */
.upload-field.upload-indeterminate .upload-progress-bar{
  width:100%!important;
  animation:uploadMove .85s linear infinite!important;
  opacity:.75;
}
