.imdac-profile-form-wrap {
  direction: rtl;
  max-width: 1180px;
  margin: 32px auto;
  padding: 0 16px;
  font-family: "YekanBakh", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
}

.imdac-form-hero,
.imdac-form-section,
.imdac-form-actions {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.imdac-form-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(208, 144, 48, 0.12), transparent 34%),
    radial-gradient(circle at 92% 100%, rgba(20, 184, 166, 0.1), transparent 30%),
    #ffffff;
}

.imdac-form-hero span {
  color: #d09030;
  font-size: 13px;
  font-weight: 900;
}

.imdac-form-hero h2 {
  margin: 8px 0;
  color: #001f4f;
  font-size: 30px;
  line-height: 1.5;
}

.imdac-form-hero p {
  max-width: 720px;
  margin: 0;
  color: #64748b;
  line-height: 2;
}

.imdac-form-status {
  min-width: 210px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
}

.imdac-form-status strong {
  display: block;
  margin-bottom: 10px;
  color: #001f4f;
  font-size: 14px;
}

.imdac-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.imdac-status-badge.is-draft {
  color: #64748b;
  background: #f1f5f9;
}

.imdac-status-badge.is-pending {
  color: #b7791f;
  background: #fff7e8;
}

.imdac-status-badge.is-approved {
  color: #16a34a;
  background: #eaf8ef;
}

.imdac-status-badge.is-rejected,
.imdac-status-badge.is-suspended {
  color: #dc2626;
  background: #fff5f5;
}

.imdac-alert {
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
}

.imdac-alert.success {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.imdac-alert.warning {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.imdac-alert.danger {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.imdac-profile-form {
  display: grid;
  gap: 18px;
}

.imdac-form-section {
  padding: 24px;
}

.imdac-section-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #edf2f7;
}

.imdac-section-head > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #003070, #001f4f);
  font-weight: 900;
}

.imdac-section-head h3 {
  margin: 0 0 5px;
  color: #001f4f;
  font-size: 21px;
}

.imdac-section-head p {
  margin: 0;
  color: #64748b;
  line-height: 1.9;
  font-size: 13px;
}

.imdac-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.imdac-field {
  display: grid;
  gap: 8px;
}

.imdac-field.full {
  grid-column: 1 / -1;
}

.imdac-field span {
  color: #001f4f;
  font-size: 13px;
  font-weight: 900;
}

.imdac-field input,
.imdac-field select,
.imdac-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  outline: none;
  color: #111827;
  background: #ffffff;
  font: inherit;
  transition: 180ms ease;
}

.imdac-field textarea {
  min-height: 120px;
  padding-top: 12px;
  line-height: 2;
  resize: vertical;
}

.imdac-field input:focus,
.imdac-field select:focus,
.imdac-field textarea:focus {
  border-color: rgba(0, 48, 112, 0.36);
  box-shadow: 0 0 0 4px rgba(0, 48, 112, 0.06);
}

.imdac-choice-block {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.imdac-choice-block:first-of-type {
  margin-top: 0;
}

.imdac-choice-block h4 {
  margin: 0;
  color: #001f4f;
  font-size: 15px;
}

.imdac-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.imdac-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.imdac-choice span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #64748b;
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: 180ms ease;
}

.imdac-choice input:checked + span {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #003070, #001f4f);
}

.imdac-choice span:hover {
  border-color: rgba(208, 144, 48, 0.4);
}

.skills-grid {
  max-height: 360px;
  overflow-y: auto;
  padding: 2px 0 8px;
}

.imdac-form-actions {
  position: sticky;
  bottom: 16px;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.imdac-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.imdac-btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #003070, #001f4f);
  box-shadow: 0 16px 34px rgba(0, 48, 112, 0.2);
}

.imdac-btn.secondary {
  color: #003070;
  background: #ffffff;
  border-color: rgba(0, 48, 112, 0.2);
}

@media (max-width: 820px) {
  .imdac-form-hero {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  .imdac-form-grid {
    grid-template-columns: 1fr;
  }

  .imdac-form-section {
    padding: 18px;
  }

  .imdac-form-actions {
    position: static;
    flex-direction: column;
  }

  .imdac-btn {
    width: 100%;
  }
}



.imdac-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.imdac-upload-box {
  position: relative;
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1.5px dashed rgba(0, 48, 112, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(208, 144, 48, 0.1), transparent 36%),
    #ffffff;
  text-align: center;
  cursor: pointer;
  transition: 180ms ease;
}

.imdac-upload-box:hover {
  border-color: rgba(208, 144, 48, 0.5);
  background: #fffaf2;
}

.imdac-upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.imdac-upload-box strong {
  color: #001f4f;
  font-size: 16px;
}

.imdac-upload-box span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.8;
}

.imdac-upload-box small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
}

.imdac-upload-box a {
  color: #003070;
  font-weight: 900;
}

@media (max-width: 820px) {
  .imdac-upload-grid {
    grid-template-columns: 1fr;
  }
}



.imdac-jobs-list {
  display: grid;
  gap: 16px;
}

.imdac-job-card {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.imdac-job-card strong {
  display: block;
  color: #001f4f;
  font-size: 20px;
  margin-bottom: 8px;
}

.imdac-job-card p {
  margin: 0 0 8px;
  color: #64748b;
  line-height: 1.9;
}

.imdac-job-card small {
  color: #64748b;
}

.imdac-apply-form {
  display: grid;
  gap: 10px;
}

.imdac-apply-form textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  font: inherit;
  resize: vertical;
}

@media (max-width: 820px) {
  .imdac-job-card {
    grid-template-columns: 1fr;
  }
}

.imdac-simple-list {
  display: grid;
  gap: 14px;
}

.imdac-simple-card {
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.imdac-simple-card.is-unread {
  border-color: rgba(20, 184, 166, 0.45);
  background:
    radial-gradient(circle at 0 0, rgba(20, 184, 166, 0.08), transparent 32%),
    #ffffff;
}

.imdac-simple-card strong {
  display: block;
  color: #0f172a;
  font-size: 17px;
  margin-bottom: 7px;
}

.imdac-simple-card p {
  margin: 0 0 8px;
  color: #64748b;
  line-height: 1.9;
}

.imdac-simple-card small {
  color: #64748b;
}



.imdac-public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.imdac-public-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(20, 184, 166, 0.08), transparent 32%),
    #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.imdac-public-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.imdac-public-avatar,
.imdac-public-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #0e7490);
  color: #ffffff;
  font-weight: 900;
}

.imdac-public-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imdac-public-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 19px;
  line-height: 1.6;
}

.imdac-public-card-head p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.8;
}

.imdac-public-bio {
  margin: 0;
  color: #475569;
  line-height: 2;
  font-size: 14px;
}

.imdac-public-meta,
.imdac-public-chips,
.imdac-public-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.imdac-public-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.11);
  font-size: 12px;
  font-weight: 800;
}

.imdac-public-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #0f172a;
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 800;
}

.imdac-public-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  color: #64748b;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.imdac-public-link {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #0e7490);
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .imdac-public-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .imdac-public-grid {
    grid-template-columns: 1fr;
  }
}




.imdac-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px;
  margin-bottom: 18px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 184, 166, 0.12), transparent 34%),
    radial-gradient(circle at 92% 100%, rgba(14, 116, 144, 0.12), transparent 30%),
    #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.imdac-dashboard-hero span {
  color: #0e7490;
  font-size: 13px;
  font-weight: 900;
}

.imdac-dashboard-hero h2 {
  margin: 8px 0;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.5;
}

.imdac-dashboard-hero p {
  margin: 0;
  color: #64748b;
  line-height: 2;
}

.imdac-dashboard-hero-link {
  min-width: 230px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(14, 116, 144, 0.18);
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 900;
}

.imdac-dashboard-hero-link strong {
  color: #0f766e;
  font-size: 22px;
}

.imdac-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.imdac-dashboard-stat {
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.imdac-dashboard-stat span {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.imdac-dashboard-stat strong {
  color: #0f172a;
  font-size: 18px;
  line-height: 1.7;
}

.imdac-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.imdac-dashboard-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(20, 184, 166, 0.08), transparent 36%),
    #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.imdac-dashboard-card h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.7;
}

.imdac-dashboard-card p {
  margin: 0;
  color: #64748b;
  line-height: 2;
  font-size: 14px;
}

.imdac-dashboard-card a {
  margin-top: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a, #0e7490);
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 1200px) {
  .imdac-dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .imdac-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .imdac-dashboard-hero {
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
  }

  .imdac-dashboard-hero-link {
    min-width: 0;
  }

  .imdac-dashboard-stats,
  .imdac-dashboard-grid {
    grid-template-columns: 1fr;
  }
}


.imdac-panel-nav {
  direction: rtl;
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
  font-family: "YekanBakh", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.imdac-panel-nav__brand {
  min-width: 130px;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a, #0e7490);
  color: #ffffff;
}

.imdac-panel-nav__brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.08em;
}

.imdac-panel-nav__brand span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  opacity: 0.82;
}

.imdac-panel-nav__links {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.imdac-panel-nav__link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 13px;
  border-radius: 13px;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  transition: 180ms ease;
}

.imdac-panel-nav__link:hover {
  color: #0f766e;
  border-color: rgba(20, 184, 166, 0.35);
  background: rgba(20, 184, 166, 0.06);
}

.imdac-panel-nav__link.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #0f172a, #0e7490);
}

@media (max-width: 760px) {
  .imdac-panel-nav {
    margin: 14px 12px 0;
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
  }

  .imdac-panel-nav__brand {
    min-width: 0;
  }

  .imdac-panel-nav__links {
    padding-bottom: 6px;
  }
}