* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}
body {
  background-color: #a59696ff; /* Kartın sınırlarını görmek için koyu zemin */
  min-height: 100vh;

  padding: 1rem;
 
}

.form-container {
  width: 100%; /* bulundugun alana yayıl */
  max-width: 64rem;
  height: auto;
  background: linear-gradient(135deg, #6f6b71ff, #2399d4ff);
  border-radius: 1.2rem;
  margin-top: 2rem;
  /* color: #fff; */
  text-align: center;
  container-type: inline-size;
  container-name: form-card;
  padding: 1.5rem;
  margin: 0 auto;
}

.input-group {
  position: relative;
  background-color: white;
  border: 2px solid #ddd;
  border-radius: 0.8rem;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Hafif gölge */
  margin-top: 1.5rem;
}
.group-title {
  position: relative;
  background-color: transparent;
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;

  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-align: left;
}
.personal-information {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
}
.personal-information input[type="text"],
.personal-information input[type="date"] {
  width: 100%;
  padding: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
  box-sizing: border-box;
}
.personal-information input {
  padding-block: 1rem;
  padding-inline: 1rem;
  text-align: left;
  border-radius: 5px;

  display: flex;
  flex-wrap: wrap;
}
.personal-information label {
  margin-bottom: 5px;
}

.input-box {
  padding-block: 1rem;
  padding-inline: 1rem;
  text-align: left;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
}
.radio-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 0.8rem;
  gap: 1.2rem;
}
.radio-label {
  display: flex;
  align-items: center;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.9rem;
  gap: 0.8rem;
}

.radio-label input[type="radio"] {
  accent-color: #2399d4;
  margin-top: 0.2rem;
  width: 10px;
  height: 10px;
}
.personal-information input[type="email"],
.personal-information input[type="tel"] {
  width: 100%;
  padding: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
}

textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
  resize: vertical; /* Sadece aşağı doğru uzatılabilsin dikeyde değişebiliyoe sadecce*/
}

.full-width {
  width: 100%;
}

.personal-information select {
  width: 100%;
  padding: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: white;
  font-family: inherit;
  cursor: pointer;
  appearance: none; /* Varsayılan ok işaretini kaldır (Modern tarayıcılar) */
  /* İstersen buraya custom bir ok ikonu background-image ile eklenebilir */
}

/* 2. CHECKBOX GRUBU (Radyo ile aynı mantık) */
.checkbox-wrapper {
  display: flex;

  flex-wrap: wrap;
  gap: 15px;
  padding: 0.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}
.checkbox-label input[type="checkbox"] {
  width: 10px;
  height: 10px;
  accent-color: #2399d4;
  cursor: pointer;
}

/* 3. DOSYA YÜKLEME (File Input) */
input[type="file"] {
  width: 100%;
  padding: 0.8rem;
  background-color: white;
  border: 1px dashed #ccc; /* Kesikli çizgi modern durur */
  border-radius: 5px;
  cursor: pointer;
}

/* 1. Kapsayıcı (Ortalamak için) */
.submit-container {
    width: 100%;
    text-align: center; 
    margin-top: 1.5rem;   
    padding-bottom:1.6rem;
}

/* 2. Butonun Kendisi */
.btn-gonder {
    background-color: #15506dff; /* Ana Mavi */
    color: white;
    
    /* Genişlik ve Yükseklik yerine Padding kullanmak daha esnektir */
    padding: 16px 48px; 
    
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;

    
    border: none;         /* Standart kenarlığı kaldır */
    border-radius: 50px;  /* Tam yuvarlak köşeler (Modern) */
    cursor: pointer;
    
    /* Animasyon Hazırlığı */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(35, 153, 212, 0.3); /* Mavi gölge */
}

/* 3. Mouse Üzerine Gelince (Hover) */
.btn-gonder:hover {
    background-color: #1a7bb0; /* Biraz daha koyu mavi */
    transform: translateY(-3px); /* Hafifçe yukarı zıplasın */
    box-shadow: 0 8px 20px rgba(35, 153, 212, 0.5); /* Gölgeyi büyüt */
}

/* 4. Tıklanma Anı (Active) */
.btn-gonder:active {
    transform: translateY(1px); /* Tıklayınca içine göçsün */
}

@container form-card (min-width:36rem) {
  .personal-information {
    grid-template-columns: 1fr 1fr;
  }
  .full-width {
    grid-column: span 2;
  }
  .group-title {
    position: relative;
    background-color: transparent;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;

    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 25px;
    text-align: left;
  }
  .radio-label input[type="radio"] {
    accent-color: #2399d4;
    margin-top: 0.2rem;
    width: 20px;
    height: 20px;
  }
  .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 30px;
    accent-color: #2399d4;
    cursor: pointer;
  }
}
