/* kaammilgaya Jobs - Browse Skills styling (glassmorphism, premium filters, modals) */

:root{
  --primary:#0F4C81;
  --accent:#ff6600;
  --bg:#f7f9fc;
  --glass:rgba(255,255,255,.55);
  --glass2:rgba(255,255,255,.75);
  --border:rgba(15,76,129,.15);
  --shadow:0 20px 60px rgba(2,6,23,.08);
}

.page-hero-skills{
  padding:170px 0 70px;
  background:linear-gradient(135deg,#eef7ff,#ffffff);
  overflow:hidden;
}

.page-hero-skills .page-hero-title{
  text-align:center;
  margin-bottom:30px;
}

.page-hero-skills .page-hero-title h1{
  font-size:56px;
  font-family:Poppins;
  color:var(--primary);
  margin-bottom:10px;
}

.page-hero-skills .page-hero-title p{
  font-size:18px;
  color:#555;
}

.page-hero-search{
  display:flex;
  justify-content:center;
  margin:25px 0 20px;
}

.page-hero-search .search-wrap{
  width: min(920px, 92%);
  background:rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius:60px;
  box-shadow:var(--shadow);
  backdrop-filter: blur(12px);
  display:flex;
  overflow:hidden;
}

.page-hero-search .search-wrap input{
  flex:1;
  border:none;
  outline:none;
  padding:18px 22px;
  font-size:16px;
  background:transparent;
}

.page-hero-search .search-wrap button{
  border:none;
  background:var(--accent);
  color:#fff;
  padding:0 28px;
  font-size:16px;
  cursor:pointer;
  transition:.3s;
}
.page-hero-search .search-wrap button:hover{ background:var(--primary); }

.filters-section{
  padding:20px 0 10px;
  background:var(--bg);
}

.filters-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
  margin-top:20px;
}

@media(max-width:1200px){
  .filters-grid{ grid-template-columns: repeat(2,1fr); }
}

@media(max-width:768px){
  .filters-grid{ grid-template-columns: 1fr; }
}

.filter-card{
  background:var(--glass);
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px 14px;
  backdrop-filter: blur(12px);
  box-shadow:0 18px 45px rgba(2,6,23,.04);
}

.filter-card label{
  display:flex;
  align-items:center;
  gap:10px;
  color:#0b3152;
  font-weight:700;
  font-size:14px;
  margin-bottom:10px;
}

.filter-card label i{ color:var(--accent); }

.filter-card select,
.filter-card input{
  width:100%;
  border:none;
  outline:none;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(15,76,129,.14);
  border-radius:14px;
  padding:12px 12px;
  font-size:14px;
}

.filter-card input{ padding-left:12px; }

.filter-actions{
  display:flex;
  gap:12px;
  margin-top:18px;
}

.filter-actions .btn-primary,
.filter-actions .btn-secondary{
  flex:1;
  border-radius:16px;
}

.job-list-section{
  padding:40px 0 80px;
  background:#fff;
}

.jobs-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.jobs-topbar .results-text{
  font-weight:700;
  color:#0b3152;
}

.jobs-topbar .sort-box{
  display:flex;
  align-items:center;
  gap:10px;
}

.jobs-topbar .sort-box select{
  border:1px solid rgba(15,76,129,.18);
  background:rgba(255,255,255,.9);
  border-radius:14px;
  padding:10px 12px;
  font-weight:600;
}

.jobs-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
  margin-top:18px;
}

@media(max-width:1200px){
  .jobs-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media(max-width:768px){
  .jobs-grid{ grid-template-columns: 1fr; }
}

.fade-in{ animation: fadeIn .25s ease-in-out; }
@keyframes fadeIn{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);} }

.job-card{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(15,76,129,.14);
  background:rgba(255,255,255,.55);
  backdrop-filter: blur(14px);
  box-shadow:0 22px 65px rgba(2,6,23,.08);
  transition:.35s;
}

.job-card:hover{
  transform: translateY(-12px);
  box-shadow:0 30px 85px rgba(2,6,23,.14);
}

.job-card-glass{
  padding:18px;
}

.job-card-header{ margin-bottom:12px; }
.job-company{ display:flex; align-items:center; gap:12px; }
.job-company-logo{
  width:54px;
  height:54px;
  border-radius:16px;
  object-fit:cover;
  border:1px solid rgba(15,76,129,.18);
  background:#fff;
}

.job-badges{ display:flex; flex-direction:column; gap:6px; }
.job-verified,
.job-featured{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  width:fit-content;
}
.job-verified{ background:rgba(0,200,83,.12); color:#0b7a3a; border:1px solid rgba(0,200,83,.25); }
.job-featured{ background:rgba(255,191,0,.15); color:#b06a00; border:1px solid rgba(255,191,0,.25); }

.job-title{
  font-size:20px;
  font-family:Poppins;
  color:var(--primary);
  margin:10px 0 10px;
  line-height:1.25;
}

.job-meta{ display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.meta-row{ color:#35506b; font-weight:600; display:flex; align-items:center; gap:10px; }
.meta-row i{ color:var(--accent); }

.job-tags{ display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 10px; }
.tag{
  background:rgba(255,255,255,.85);
  border:1px solid rgba(15,76,129,.12);
  border-radius:999px;
  padding:8px 11px;
  font-weight:800;
  font-size:12px;
  color:#22435d;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.tag i{ color:var(--accent); }

.job-meta-2{ display:flex; flex-direction:column; gap:6px; margin-bottom:10px; }
.small-muted{ color:#667085; font-size:13px; font-weight:600; display:flex; align-items:center; gap:8px; }
.small-muted i{ color:var(--primary); }

.job-short-desc{
  color:#556;
  line-height:1.5;
  font-weight:600;
  margin-bottom:12px;
  min-height:46px;
}

.job-actions{ display:flex; gap:12px; }
.job-actions .btn-primary,
.job-actions .btn-secondary{ flex:1; padding:13px 12px; border-radius:16px; }

.job-bottom-icons{
  display:flex;
  gap:10px;
  margin-top:14px;
  justify-content:flex-start;
}

.icon-btn{
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(15,76,129,.14);
  background:rgba(255,255,255,.8);
  cursor:pointer;
  transition:.25s;
  display:flex;
  align-items:center;
  justify-content:center;
}
.icon-btn i{ color:var(--primary); }
.icon-btn:hover{ transform:translateY(-4px); border-color:rgba(255,102,0,.35); }
.icon-btn.active{ background:rgba(255,102,0,.12); border-color:rgba(255,102,0,.35); }
.icon-btn.active i{ color:var(--accent); }

/* Pagination */
.pagination-wrap{ margin-top:26px; }
.jobs-pagination{ display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
.page-btn{
  width:44px;
  height:44px;
  border-radius:16px;
  border:1px solid rgba(15,76,129,.18);
  background:#fff;
  font-weight:900;
  cursor:pointer;
  transition:.25s;
}
.page-btn i{ color:var(--primary); }
.page-btn:hover{ transform:translateY(-3px); border-color:rgba(255,102,0,.35); }
.page-btn.active{ background:rgba(255,102,0,.14); border-color:rgba(255,102,0,.45); }
.page-btn[disabled]{ opacity:.5; cursor:not-allowed; }
.page-ellipsis{ align-self:center; color:#667085; font-weight:900; }

/* Loading */
.jobs-loading{ display:none; align-items:center; justify-content:center; gap:12px; margin:22px 0; color:#0b3152; font-weight:900; }
.loading-spinner{ width:24px; height:24px; border-radius:50%; border:3px solid rgba(15,76,129,.15); border-top-color:var(--accent); animation: spin 1s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg);} }

.job-card.skeleton{ overflow:hidden; border-style:dashed; }
.job-card.skeleton .job-card-glass{ padding:16px; }
.job-card.skeleton .skel-logo{ width:56px; height:56px; border-radius:18px; background:#e8eff7; margin-right:12px; }
.job-skel-top{ display:flex; align-items:center; }
.job-card.skeleton .skel-lines{ flex:1; height:18px; background:#e8eff7; border-radius:12px; }
.job-card.skeleton .skel-block{ height:16px; background:#e8eff7; border-radius:12px; margin-top:14px; }
.job-card.skeleton .skel-block.small{ width:70%; }
.job-card.skeleton .skel-tags{ height:34px; background:#e8eff7; border-radius:12px; margin-top:14px; }
.job-card.skeleton .skel-buttons{ height:44px; background:#e8eff7; border-radius:16px; margin-top:14px; }

/* Empty state */
.jobs-empty{
  display:none;
  text-align:center;
  padding:70px 15px;
}
.jobs-empty img{ width:240px; max-width:70%; margin-bottom:14px; }
.jobs-empty h3{ color:var(--primary); font-family:Poppins; font-size:28px; margin-bottom:8px; }
.jobs-empty p{ color:#667085; font-weight:700; margin-bottom:18px; }

/* Modal */
.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.55);
  display:none;
  z-index:10000;
}
.modal-overlay.show{ display:block; }

.job-modal{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:min(1100px, 94vw);
  max-height:86vh;
  overflow:auto;
  background:rgba(255,255,255,.85);
  border:1px solid rgba(255,102,0,.25);
  border-radius:24px;
  display:none;
  z-index:10001;
}
.job-modal.show{ display:block; }

.job-modal .modal-inner{ padding:18px 18px 22px; }

.job-modal-header{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:12px; }
.job-modal-company{ display:flex; gap:14px; align-items:center; }
.job-modal-logo{ width:62px; height:62px; border-radius:18px; border:1px solid rgba(15,76,129,.18); object-fit:cover; background:#fff; }
.job-modal-title{ font-family:Poppins; font-size:22px; color:var(--primary); margin:12px 0 16px; }

.job-modal-badges{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:6px; }
.badge{ padding:7px 12px; border-radius:999px; font-weight:900; font-size:12px; border:1px solid rgba(0,0,0,.06); }
.badge.success{ background:rgba(0,200,83,.12); color:#0b7a3a; border-color:rgba(0,200,83,.25); }
.badge.warning{ background:rgba(255,191,0,.16); color:#b06a00; border-color:rgba(255,191,0,.25); }

.modal-close{
  width:44px;
  height:44px;
  border-radius:16px;
  border:1px solid rgba(15,76,129,.18);
  background:#fff;
  cursor:pointer;
  font-size:26px;
  line-height:0;
}

.job-modal-grid{ display:grid; grid-template-columns: 1.2fr .8fr; gap:18px; }
@media(max-width:900px){
  .job-modal-grid{ grid-template-columns:1fr; }
}

.job-modal-section{ background:rgba(255,255,255,.65); border:1px solid rgba(15,76,129,.12); border-radius:20px; padding:16px; }
.job-modal-section h4{ color:var(--primary); margin-bottom:10px; font-family:Poppins; }
.job-modal-desc{ color:#556; font-weight:650; line-height:1.7; }

.job-modal-section ul.list{ padding-left:18px; color:#4b5563; }
.job-modal-section ul.list li{ margin:6px 0; font-weight:650; }

.job-modal-aside{ background:rgba(255,255,255,.65); border:1px solid rgba(15,76,129,.12); border-radius:20px; padding:16px; }
.job-modal-aside h4{ color:var(--primary); margin-top:16px; margin-bottom:10px; font-family:Poppins; }
.muted{ color:#667085; font-weight:700; }

.info-card{ border-radius:18px; padding:14px; background:rgba(255,255,255,.85); border:1px solid rgba(15,76,129,.12); }
.info-row{ display:flex; gap:10px; margin:10px 0; font-weight:800; color:#243b53; }
.info-row i{ color:var(--accent); width:18px; }

.contact-lines div{ margin:8px 0; font-weight:750; color:#243b53; }
.contact-lines i{ color:var(--accent); margin-right:8px; }

.pill-wrap{ display:flex; gap:10px; flex-wrap:wrap; }
.pill{ padding:8px 12px; border-radius:999px; background:rgba(15,76,129,.08); border:1px solid rgba(15,76,129,.12); font-weight:900; font-size:12px; color:#0b3152; }

.job-modal-actions{ display:flex; flex-direction:column; gap:10px; margin-top:16px; }
.job-modal-actions .btn-primary,
.job-modal-actions .btn-secondary{ border-radius:16px; }

/* Apply modal */
.apply-modal{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:min(720px, 94vw);
  background:rgba(255,255,255,.9);
  border:1px solid rgba(255,102,0,.25);
  border-radius:24px;
  display:none;
  z-index:10002;
}
.apply-modal.show{ display:block; }

.apply-modal .modal-inner{ padding:18px; }

.apply-modal h3{ font-family:Poppins; color:var(--primary); margin-bottom:12px; }

.apply-form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
@media(max-width:700px){ .apply-form-grid{ grid-template-columns:1fr; } }

.form-field{ display:flex; flex-direction:column; gap:8px; }
.form-field label{ font-weight:900; color:#0b3152; font-size:14px; }
.form-field input,
.form-field textarea{
  border:1px solid rgba(15,76,129,.16);
  background:#fff;
  border-radius:16px;
  padding:12px 12px;
  font-weight:650;
  outline:none;
}
.form-field textarea{ grid-column: 1 / -1; min-height:110px; resize:vertical; }

.form-actions{ display:flex; gap:12px; margin-top:14px; }
.form-actions .btn-primary,
.form-actions .btn-secondary{ flex:1; border-radius:16px; }

