.career-section {
  background: linear-gradient(135deg, #2e658a, #0b2030);
  padding: 60px 20px;
  border-radius: 16px;
  max-width: 1200px;
  margin: 60px auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.career-section p {
  margin-bottom: 40px; /* 🔹 açıklama metni ile form arasında boşluk */
  line-height: 1.6;    /* 🔹 (isteğe bağlı) satır aralarını da dengeler */
  color: white;
}

.career-title {
  text-align: center;
  color: white;
  font-size: clamp(2rem, 5vw, 3rem);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 10px;
}

.career-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.career-form label {
  font-weight: 600;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.career-form input,
.career-form select {
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  outline: none;
}

.career-form input:focus,
.career-form select:focus {
  box-shadow: 0 0 8px #2e658a;
}

.gender-group {
  display: flex;
  gap: 20px;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.career-form button {
  background: #2e658a;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.career-form button:hover {
  background: #1b4561;
}

.personal-row {
  display: flex;
  gap: 20px; /* Sütunlar arası boşluk */
  align-items: flex-start; /* Üst hizalama */
  margin-bottom: 10px; /* Alt boşluk */
}

.personal-field {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Label ve input arası boşluk */
}

.personal-field input[type="text"],
.personal-field input[type="tel"],
.personal-field input[type="file"] {
  width: 100%;
  max-width: 400px;
}

.gender-askerlik-row {
  display: flex;
  align-items: center;
  gap: 40px; /* Cinsiyet ve askerlik arası boşluk */
  margin-bottom: 10px;
}

.gender-group label {
  margin-right: 100px; /* Radyo butonlar arası boşluk */
}

#askerlik-field {
  display: none; /* Başlangıçta gizli */
}
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 15px;
}

/* TÜM inputları aynı hizaya sok */
.form-group input,
.form-group select {
  height: 44px;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
}

/* FILE INPUT ÖZEL DÜZELTME */
.file-group input[type="file"] {
  padding: 8px;
  height: 44px;
  background: #fff;
  border-radius: 10px;
}
.photo-preview {
  margin-top: 10px;
  width: 120px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.15);
  display: none; /* başta gizli */
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .form-row.two-col {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 768px) {
  .file-group input[type="file"] {
    width: 100%;
  }

  .photo-preview {
    width: 100%;
    max-width: 160px;
  }
}
#egitimler { margin-bottom: 10px; }

.egitim-group{
  display: grid;
  grid-template-columns: 1fr 1fr 180px auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.egitim-group input[type="number"]{
  width: 100%;
}

.egitim-group .sil-btn{
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
@media (max-width: 768px){
  .egitim-group{
    grid-template-columns: 1fr;
  }
}
.loading-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.spinner{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 6px solid rgba(255,255,255,0.35);
  border-top-color: #ffffff;
  animation: spin 0.9s linear infinite;
}

.loading-text{
  margin-top: 14px;
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}
