/* My Group – Vakansiyalar bölməsi
   Saytın rəngləri: #222327 (tünd), #161619, #35abb7 (aksent) */

.mg-careers {
  --mg-dark: #222327;
  --mg-accent: #35abb7;
  --mg-border: #e6e7ea;
  --mg-muted: #6b6e76;
  --mg-light: #f6f7f8;
  width: 100%;
  background: #fff;
  color: var(--mg-dark);
  font-size: 15px;
  line-height: 1.6;
}
.mg-careers [hidden] { display: none !important; }
.mg-careers a { color: var(--mg-dark); }
.mg-careers a:hover { text-decoration: none; }

/* ---- Başlıq (page-header əlavələri) ---- */
.mg-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.mg-crumbs a { color: rgba(255, 255, 255, 0.7); }
.mg-crumbs a:hover { color: #fff; text-decoration: none; }
.mg-crumbs-sep { opacity: 0.5; }
.page-header .inner h1.mg-h1-job {
  font-size: 4.6vw;
  line-height: 1.15;
  margin-bottom: 18px;
}
.mg-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mg-header-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
}
.mg-header-meta i { color: var(--mg-accent, #35abb7); }

/* ---- Ümumi ---- */
.mg-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mg-accent);
}
.mg-title {
  font-weight: 800;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 8px 0 16px;
}
.mg-title-sm { font-size: 30px; margin-bottom: 0; }
.mg-lead { color: var(--mg-muted); font-size: 17px; max-width: 680px; margin-bottom: 24px; }
.mg-muted { color: var(--mg-muted); margin: 0; }
.mg-muted-sm { color: var(--mg-muted); font-size: 13px; font-weight: 400; }
.mg-danger { color: #d93025; }

.mg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid var(--mg-dark);
  border-radius: 6px;
  background: transparent;
  color: var(--mg-dark);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mg-careers a.mg-btn:hover, .mg-btn:hover { text-decoration: none; }
.mg-btn i { font-size: 12px; }
.mg-btn-dark, .mg-careers a.mg-btn-dark { background: var(--mg-dark); color: #fff; }
.mg-btn-dark:hover, .mg-careers a.mg-btn-dark:hover { background: var(--mg-accent); border-color: var(--mg-accent); color: #fff; }
.mg-btn-outline:hover, .mg-careers a.mg-btn-outline:hover { background: var(--mg-dark); color: #fff; }
.mg-btn-sm { height: 38px; padding: 0 14px; font-size: 13px; gap: 8px; }
.mg-btn-block { width: 100%; }
.mg-btn-wa, .mg-careers a.mg-btn-wa { border-color: #25d366; color: #1a9e4b; }
.mg-btn-wa:hover, .mg-careers a.mg-btn-wa:hover { background: #25d366; color: #fff; }
.mg-btn.is-done { border-color: #1a9e4b; color: #1a9e4b; }
.mg-btn:disabled { opacity: 0.7; cursor: default; }
.mg-btn:focus-visible, .mg-pill:focus-visible, .mg-input:focus-visible { outline: 2px solid var(--mg-accent); outline-offset: 2px; }

.mg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--mg-border);
  border-radius: 4px;
  background: var(--mg-light);
  font-size: 12px;
  font-weight: 600;
  color: var(--mg-dark);
}
.mg-badge-soft { font-weight: 400; color: var(--mg-muted); }
.mg-badge i { color: var(--mg-muted); }

/* ---- Giriş ---- */
.mg-intro { padding: 90px 0 60px; border-bottom: 1px solid var(--mg-border); }
.mg-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--mg-border);
  font-weight: 500;
}
.mg-facts li { display: flex; align-items: center; gap: 10px; }
.mg-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mg-dark);
  color: #fff;
  font-size: 10px;
}
.mg-count {
  margin-left: auto;
  max-width: 300px;
  padding: 28px;
  border: 1px solid var(--mg-border);
  border-radius: 8px;
  background: var(--mg-light);
}
.mg-count small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--mg-muted);
}
.mg-count strong { display: block; font-size: 64px; font-weight: 800; line-height: 1.1; margin: 4px 0; }
.mg-count span { font-size: 13px; color: var(--mg-muted); }

/* ---- Filtrlər ---- */
.mg-filters { padding: 24px 0; background: var(--mg-light); border-bottom: 1px solid var(--mg-border); }
.mg-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  white-space: nowrap;
  scrollbar-width: none;
}
.mg-pills::-webkit-scrollbar { display: none; }
.mg-pill {
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--mg-border);
  border-radius: 30px;
  background: #fff;
  color: var(--mg-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mg-pill:hover { border-color: var(--mg-dark); color: var(--mg-dark); }
.mg-pill.is-active { background: var(--mg-dark); border-color: var(--mg-dark); color: #fff; }
.mg-filter-tools { display: flex; gap: 8px; }
.mg-search { position: relative; flex: 1; }
.mg-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mg-muted);
  font-size: 13px;
}
.mg-careers .mg-search input[type=search] {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 38px;
  border: 1px solid var(--mg-border);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
}
.mg-careers .mg-search input[type=search]:focus { border-color: var(--mg-dark); outline: none; }
.mg-select {
  max-width: 170px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--mg-border);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
}
.mg-icon-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid #f1b9b4;
  border-radius: 6px;
  background: #fff;
  color: #d93025;
  cursor: pointer;
}
.mg-icon-btn:hover { background: #d93025; color: #fff; }

/* ---- Vakansiya kartları ---- */
.mg-list { padding: 60px 0; }
.mg-jobs { display: flex; flex-direction: column; gap: 16px; }
.mg-job {
  padding: 28px;
  border: 1px solid var(--mg-border);
  border-left: 4px solid var(--mg-accent);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.mg-job:hover {
  border-color: var(--mg-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.mg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.mg-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mg-muted); margin-left: 4px; }
.mg-loc i { color: #e0483d; }
.mg-job-title { font-size: 21px; font-weight: 700; margin: 0 0 8px; }
.mg-careers .mg-job-title a:hover { color: var(--mg-accent); }
.mg-job-summary { color: var(--mg-muted); font-size: 14px; margin: 0; }
.mg-salary { margin-top: 8px; font-size: 13px; }
.mg-salary span { color: var(--mg-muted); }
.mg-job-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.mg-job-actions small { color: var(--mg-muted); font-size: 13px; }

/* ---- Boş / xəta vəziyyəti ---- */
.mg-state {
  max-width: 560px;
  margin: 0 auto;
  padding: 50px 30px;
  text-align: center;
}
.mg-state-light { border: 1px solid var(--mg-border); border-radius: 8px; background: var(--mg-light); }
.mg-state i { font-size: 36px; color: var(--mg-muted); margin-bottom: 16px; }
.mg-state h5 { font-weight: 700; margin-bottom: 8px; }
.mg-state p { color: var(--mg-muted); font-size: 14px; margin-bottom: 20px; }

/* ---- Mərhələlər ---- */
.mg-process { padding: 80px 0; background: var(--mg-light); border-top: 1px solid var(--mg-border); }
.mg-process-head { margin-bottom: 40px; }
.mg-step {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--mg-border);
  border-radius: 8px;
  background: #fff;
}
.mg-process .row > [class*="col-"] { margin-bottom: 24px; }
.mg-step-num { font-size: 40px; font-weight: 800; line-height: 1; color: var(--mg-accent); opacity: 0.55; margin-bottom: 14px; }
.mg-step h6 { font-weight: 700; margin-bottom: 8px; }
.mg-step p { color: var(--mg-muted); font-size: 13px; margin: 0; }

/* ---- CTA ---- */
.mg-cta-wrap { padding: 60px 0 90px; }
.mg-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  border-radius: 8px;
  background: #161619;
  color: #fff;
}
.mg-cta h4 { font-weight: 700; margin-bottom: 8px; }
.mg-cta p { margin: 0; max-width: 600px; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.mg-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mg-cta .mg-btn, .mg-careers .mg-cta a.mg-btn { border-color: #fff; color: #fff; }
.mg-cta .mg-btn-dark, .mg-careers .mg-cta a.mg-btn-dark { background: #fff; color: var(--mg-dark); }
.mg-careers .mg-cta a.mg-btn:hover { background: var(--mg-accent); border-color: var(--mg-accent); color: #fff; }

/* ---- Detallar ---- */
.mg-detail { padding: 50px 0 90px; }
.mg-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}
.mg-back { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; }
.mg-careers a.mg-back:hover { color: var(--mg-accent); }
.mg-back i { font-size: 12px; }
.mg-share { display: flex; gap: 8px; }

.mg-card {
  padding: 36px;
  margin-bottom: 24px;
  border: 1px solid var(--mg-border);
  border-radius: 8px;
  background: #fff;
}
.mg-card-accent { border-left: 4px solid var(--mg-accent); }
.mg-card-sm { padding: 24px; }
.mg-card-light { background: var(--mg-light); font-size: 13px; color: var(--mg-muted); }
.mg-card-light p { margin-bottom: 8px; }
.mg-card-light a { font-weight: 500; }

.mg-salary-box {
  padding: 14px 18px;
  margin-bottom: 24px;
  border-left: 3px solid var(--mg-dark);
  border-radius: 4px;
  background: var(--mg-light);
}
.mg-salary-box small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--mg-muted);
}
.mg-salary-box strong { font-size: 16px; }
.mg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.mg-sec { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--mg-border); }
.mg-sec:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.mg-sec-title { font-weight: 700; margin-bottom: 12px; }
.mg-text { color: #4a4d55; font-size: 15px; line-height: 1.8; margin: 0; }
.mg-rich p:last-child { margin-bottom: 0; }
.mg-rich ul, .mg-rich ol { padding-left: 1.2rem; margin-bottom: 0; }
.mg-rich li { margin-bottom: 6px; }

/* Forma */
.mg-form-head { padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--mg-border); }
.mg-form-head h4 { font-weight: 700; margin-bottom: 4px; }
.mg-form-head p { margin: 0; font-size: 13px; color: var(--mg-muted); }
.mg-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.mg-label-split { display: flex; justify-content: space-between; }
.mg-req { color: #d93025; }
.mg-careers .mg-input {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 46px;
  padding: 0 14px;
  margin-bottom: 18px;
  border: 1px solid var(--mg-border);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  color: var(--mg-dark);
  transition: border-color 0.2s ease;
}
.mg-careers .mg-input:focus { border-color: var(--mg-dark); outline: none; }
.mg-careers .mg-textarea { height: auto; min-height: 100px; padding: 12px 14px; resize: vertical; }
.mg-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.mg-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px;
  margin-bottom: 22px;
  border: 1px dashed #c9cbd0;
  border-radius: 6px;
  background: var(--mg-light);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.mg-drop:hover { border-color: var(--mg-accent); }
.mg-file-input:focus-visible + .mg-drop { outline: 2px solid var(--mg-accent); outline-offset: 2px; }
.mg-drop i { color: var(--mg-muted); }
.mg-drop-title { font-size: 14px; font-weight: 500; }
.mg-drop-sub { font-size: 12px; color: var(--mg-muted); }
.mg-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 22px;
  border: 1px solid var(--mg-border);
  border-radius: 6px;
  background: var(--mg-light);
}
.mg-file > i { font-size: 22px; color: #e0483d; }
.mg-file-info { flex: 1; min-width: 0; }
.mg-file-info span { display: block; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-file-info small { font-size: 12px; color: var(--mg-muted); }
.mg-file-remove { border: 0; background: none; color: #d93025; cursor: pointer; padding: 4px 8px; }
.mg-privacy { display: block; margin-top: 10px; text-align: center; font-size: 12px; color: var(--mg-muted); }
.mg-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: mg-spin 0.7s linear infinite;
}
@keyframes mg-spin { to { transform: rotate(360deg); } }

.mg-alert {
  padding: 14px 18px;
  margin-bottom: 22px;
  border-radius: 6px;
  font-size: 14px;
}
.mg-alert strong { display: block; }
.mg-alert span { display: block; margin-top: 2px; }
.mg-alert-success { background: #e8f6ee; border: 1px solid #b6e2c6; color: #146c3a; }
.mg-alert-error { background: #fdecea; border: 1px solid #f5c2bd; color: #a3271c; }

/* Sağ sütun */
.mg-side { position: sticky; top: 24px; }
.mg-side-title { font-weight: 700; font-size: 15px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--mg-border); }
.mg-side-title-row { display: flex; align-items: center; justify-content: space-between; }
.mg-params {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 10px 8px;
  margin: 0 0 18px;
  font-size: 14px;
}
.mg-params dt { font-weight: 400; color: var(--mg-muted); }
.mg-params dd { margin: 0; font-weight: 500; }
.mg-office-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--mg-dark); margin-bottom: 6px; font-size: 14px; }
.mg-others { display: flex; flex-direction: column; gap: 8px; }
.mg-other {
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--mg-border);
  border-radius: 6px;
  background: var(--mg-light);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.mg-careers a.mg-other:hover { border-color: var(--mg-accent); background: #fff; }
.mg-other small { display: block; font-size: 11px; color: var(--mg-muted); }
.mg-other strong { display: block; font-size: 14px; }
.mg-other span { display: block; font-size: 12px; color: var(--mg-muted); }

/* ---- Responsiv ---- */
@media (max-width: 991px) {
  .mg-title { font-size: 32px; }
  .mg-count { margin: 30px 0 0; max-width: none; }
  .mg-filter-tools { margin-top: 12px; }
  .mg-job-actions { align-items: flex-start; margin-top: 16px; }
  .page-header .inner h1.mg-h1-job { font-size: 7vw; }
  .mg-side { position: static; }
}
@media (max-width: 767px) {
  .mg-intro { padding: 60px 0 40px; }
  .mg-title { font-size: 26px; }
  .mg-title-sm { font-size: 24px; }
  .mg-lead { font-size: 15px; }
  .mg-count strong { font-size: 48px; }
  .mg-job, .mg-card { padding: 22px; }
  .mg-cta { padding: 28px 22px; }
  .mg-process { padding: 60px 0; }
  .mg-hide-xs { display: none; }
  .page-header .inner h1.mg-h1-job { font-size: 9vw; }
  .mg-header-meta span { font-size: 13px; padding: 4px 10px; }
  .mg-crumbs { font-size: 13px; }
}
