/* Genel stil */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Dil Seçimi Stilleri */
.language-selector {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #a6b1e1;
  padding: 10px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.language-selector a {
  display: inline-flex;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  margin: 0 5px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.language-selector a:hover {
  color: #f8f9fa;
  text-decoration: underline;
}

/* bayraklar için css */
.flag-icon {
  width: 40px; /* Bayrak genişliği */
  height: 25px; /* sabit */
  margin-right: 5px; /* Metin ile arasındaki boşluk */
  border: 1px solid #ddd; /* İsteğe bağlı: Bayrağa hafif bir çerçeve ekler */
  border-radius: 5px; /* İsteğe bağlı: Köşeleri yuvarlar */
}

/* Form konteyneri */
.form-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  margin: 80px 20px 20px 20px; /* Dil seçimi çubuğu için üst boşluk ekledik */
}

.form-container h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
  text-align: center;
}

.form-container h1 {
  margin-bottom: 20px;
  font-size: 32px;
  color: #fd0101;
  text-align: center;
}

.form-container h3 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #381111;
  text-align: center;
}

/* Form elemanları */
.form-container label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: bold;
}

.form-container input[type="text"],
.form-container input[type="date"],
.form-container select,
.form-container input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-container input[type="file"] {
  padding: 8px;
}

.form-container input[type="submit"] {
  /* width: 100%; */
  padding: 10px 60px;
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-container input[type="submit"]:hover {
  background-color: #218838;
}

/* İlerleme çubuğu stil */
#progressBarContainer {
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 5px;
  margin-top: 10px;
  display: none; /* Başlangıçta gizli */
}

#progressBar {
  width: 0%;
  height: 30px;
  background-color: #28a745;
  border-radius: 5px;
  text-align: center;
  line-height: 30px;
  color: white;
  transition: width 0.5s ease;
}

/* vieo için css */
.video-card {
  max-width: 400px;
  margin: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.video-card video {
  border-radius: 8px 8px 0 0;
}

/* ileri butonunu ortalamak için */
.form-navigation {
  display: flex;
  justify-content: center; /* Butonu ortala */
  margin-top: 20px;
}

.form-navigation button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  width: 150px; /* Buton genişliği */
}

/* Eksik bilgi girildiğinde çerçeve rengini mavi yap */
input:required:invalid,
select:required:invalid {
  border: 2px solid blue;
}

/* Odaklandığında çerçeve rengini eski haline getir */
input:focus,
select:focus {
  border: 1px solid #ccc;
}

/* Checkbox için eksik durumda mavi kenarlık */
input[type="checkbox"]:required:invalid {
  outline: 2px solid blue;
}

/* Checkbox odaklandığında kenarlığı eski haline getir */
input[type="checkbox"]:focus {
  outline: 1px solid #ccc;
}

/* Bölümleri gizleme */
.form-section {
  display: none;
}

.form-section.active {
  display: block;
}

/* Butonlar için stil */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.form-navigation button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

/* Kamera ve Galeri butonları için stil */
.file-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.file-buttons button {
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
}

.file-buttons button:hover {
  background-color: #0056b3;
}

.file-status {
  /* margin-top: 5px; */
  margin-bottom: 10px;
  font-size: 14px;
  color: red;
}
