/* ===== کل کارت موقعیت اپلای ===== */
.apply-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

 h1 {
    font-size: 25px !important;
    font-weight: 800;
    color: #585858 !important;
    line-height: 3em;
    margin-bottom: 12px;
}
.apply-card h2 {
    font-size: 18px;
    font-weight: 800;
    color: #585858 !important;
    line-height: 2em;
    margin-bottom: 12px;
}
.apply-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.apply-wrapper { max-width: 1100px; margin: auto; padding: 40px; }
.apply-section { margin-bottom: 60px; }
.intro h1 { font-size: 32px; }
.subtitle { color: #666; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 20px;
}

.info-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,.05);
}

.btn-primary, .btn-cta {
  display: inline-block;
  padding: 14px 28px;
  background: #4f46e5;
  color: #fff;
  border-radius: 999px;
}
 .locked-area {
  position: relative;
}

.is-locked .locked-content {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(255,255,255,0.6),
    rgba(255,255,255,0.95)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-align: center;
  border-radius: 16px;
}

.lock-overlay i {
  font-size: 32px;
  color: #4f46e5;
}

.lock-overlay p {
  font-size: 18px;
  font-weight: 600;
}

.btn-primary {
  padding: 12px 26px;
  background: #4f46e5;
  color: #fff;
  border-radius: 999px;
}
.info-card a {
  color: #4f46e5;
  font-weight: 600;
}

.info-card a:hover {
  text-decoration: underline;
}

.term-link {
  display: inline-block;
  margin-inline-end: 6px;
}

/* هماهنگی با info-grid */
.locked-area .info-grid {
  position: relative;
}

/* ددلاین */
.deadline-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  font-weight: 700;
  font-size: 14px;
}

/* مکاتبه */
.contact-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 10px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 600;
  font-size: 14px;
}

/* لینک اپلای */
.apply-link {
  color: #16a34a;
  font-weight: 700;
}

.apply-link:hover {
  text-decoration: underline;
}

/* کارت اقدام */
.apply-card i {
  color: #16a34a;
}
/* بلور */
.is-locked .locked-content {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

/* Grid مخصوص بخش قفل */
.locked-grid {
  gap: 24px;
}

/* Chip پایه */
.meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 9px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 700;
  font-size: 14px;
}

/* ددلاین (کمی هشدار) */
.meta-deadline {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
}

/* CTA اپلای */
.meta-cta {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
  transition: transform .15s ease;
}

.meta-cta:hover {
  transform: scale(1.05);
}

/* آیکون کارت‌ها */
.locked-area .info-card i {
  color: #4f46e5;
}

/* کارت اپلای */
.apply-card i {
  color: #4f46e5;
}
.apply-card:hover {
  border-bottom: 3px solid #4f46e5;
  transform: translateY(-5px);
}
.result-count {
  text-align: center;
  color: #666;
  margin-bottom: 15px;
  font-size: 0.9rem;
}
.loader {
  width: 32px; height: 32px;
  border: 3px solid #ddd;
  border-top-color: #007aff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 30px auto;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.apply-card {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 0.4s ease forwards;
}
@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.meta-chip[data-type="phd"] { background: #ffe0f0; color: #d63384; }
.meta-chip[data-type="master"] { background: #e0f7ff; color: #0077b6; }
.meta-chip[data-type="postdoc"] { background: #e7ffe0; color: #2d6a4f; }

.site-content{
    
    background: #f2f2f4 !important;
}


.university-thumb {
  text-align: center;
  margin-bottom: 10px;
}
.university-thumb img {
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.university-name {
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
}

/* ===== رسپانسیو ===== */
@media (max-width:768px) {
    .apply-card, .single-apply-opportunity {
        padding: 15px;
    }
    .apply-filter-form {
        flex-direction: column;
    }
    .filter-group, .filter-button {
        width: 100%;
    }
}
