/* Overrides to align JobPortal templates with CINME theme */
body { font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background:#f5f6f8; }

.jobportal-brand{ font-weight: 800; letter-spacing: .3px; color: #fff; }
.jobportal-header{ background: linear-gradient(90deg, #014e9c, #0b1f2a); }

/* Cards */
.jobportal-card{
  background:#fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}
.jobportal-card .card-body{ padding: 1.25rem; }

/* Forms */
.form-control, .form-select{
  border-radius: 6px;
  border-color: #ddd;
}
.form-control:focus, .form-select:focus{
  border-color: #bbb;
  box-shadow: 0 0 0 .2rem rgba(1,78,156,.15);
}
.btn-primary {
    
    background-color: #014e9c;
    border-color: #014e9c;
}
.btn-primarynaranja{
  background-color: #f08255 !important;
  border-color: #f08255 !important;
}
.btn-primary:hover{
  background-color: #2bb1c0 !important;
  border-color: #2bb1c0 !important;
}
/* Helper spacing for old tailwind layouts */
.tw-hidden{ display:none !important; }

/* ===== Job cards (global) ===== */
.jp-job-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 992px){ .jp-job-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 576px){ .jp-job-grid{ grid-template-columns: 1fr; } }

.jp-job-card{
  background:#fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(2, 8, 23, .08);
  padding: 18px 18px 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.jp-job-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(2, 8, 23, .12);
}

.jp-job-title{
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 6px 0;
  color:#0b1f2a;
}
.jp-job-company{
  color:#6b7280;
  font-weight: 700;
  margin-bottom: 10px;
}

.jp-job-meta{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  color:#334155;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}
.jp-job-meta i{ color:#014e9c; }

.jp-badges{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.jp-badge{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(1,78,156,.10);
  color: #014e9c;
}
.jp-badge.orange{
  background: rgba(240,130,85,.14);
  color: #b44a22;
}

.jp-job-actions{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
}
.jp-job-actions .btn{ border-radius: 8px; font-weight: 800; }

/* ===== Header background + hero polish ===== */
.bg-header.jobportal-header{
  background-image: url('https://www.cinme.com.ar/img/carousel-31.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative;
}

.bg-header.jobportal-header::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.20);
}
.bg-header.jobportal-header > .row{
  position:relative;
  z-index:2;
}
/* ===== Home search bar ===== */
.jp-search-wrap{
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(2, 8, 23, .08);
  border: 1px solid rgba(0,0,0,.06);
  padding: 16px;
}
.jp-search-wrap .form-control{ height: 48px; }
.jp-search-wrap .btn{ height: 48px; font-weight: 800; border-radius: 8px; }

/* ===== Home sections visibility fixes ===== */
.jp-cat-card{
  background: #ffffff;
}
.jp-cat-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(2, 8, 23, .12);
}
.jp-cat-icon{
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin: 0 auto;
  background: rgba(1,78,156,.10);
  color: #014e9c;
  font-size: 22px;
}

.jp-step-icon{
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin: 0 auto;
  background: rgba(240,130,85,.14);
  color: #b44a22;
  font-size: 22px;
}
.jp-step-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(2, 8, 23, .12);
}

/* ===== Filters / selects ===== */
.jp-filters .form-select, .jp-filters .form-control{
  height: 48px;
}
.jp-filters .btn{
  height: 48px;
  border-radius: 8px;
  font-weight: 800;
}

/* ===== Login user type toggle ===== */
.jp-toggle{
  display:flex;
  gap: 10px;
  background: #f1f5f9;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 999px;
  padding: 6px;
}
.jp-toggle input{ display:none; }
.jp-toggle label{
  flex:1;
  text-align:center;
  padding: 10px 12px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 800;
  color:#0b1f2a;
  user-select:none;
}
.jp-toggle input:checked + label{
  background: #014e9c;
  color:#fff;
}

/* ===== Form controls consistent ===== */
form .form-control, form .form-select, form textarea, form input[type="text"], form input[type="password"], form input[type="email"], form input[type="date"]{
  border-radius: 8px;
}

/* ===== Navbar buttons visibility ===== */
.navbar .btn-outline-light{
  color:#014e9c !important;
  border-color:#014e9c !important;
  background:#ffffff !important;
}
.navbar .btn-outline-light:hover{
  background:#014e9c !important;
  color:#ffffff !important;
}
