/* Hesaplama Sayfası */
.contact-hesap {
  display: block;
  justify-content: space-around;
  border-radius: 10px;
  margin-left: 20px;
  transform: translateY(50px);
  animation: slideIn 0.6s ease forwards;
}
@media (min-width: 1400px) and (max-width: 1800px) {
  .contact-hesap {
    height: 63vh;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .contact-hesap {
    flex-wrap: wrap;
  }
}

@media (max-width: 1200px) {
  .contact-hesap {
    flex-wrap: wrap;
    height: 63vh;
    overflow-y: auto;
    width: 90%;
  }
}

.contact-hesap .tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.contact-hesap h2 {
  color: whitesmoke;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-left: 20px;
  margin-top: 10px;
  font-size: x-large;
}

.contact-hesap h3 {
  color: whitesmoke;
}
.contact-hesap .sonuc p {
  display: flex;
  color: whitesmoke;
}

.contact-hesap .tablink {
  position: relative;
  background-color: #162938;
  color: whitesmoke;
  font-size: 15px;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
  font-weight: bold;
  transition: color 0.3s, border-color 0.3s;
  width: 57%;
  user-select: none;
}

.contact-hesap .tablink::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.2)
  ); /* Işık efekti */
  transition: left 0.5s ease, width 0.5s ease;
}

.contact-hesap .tablink:hover::after {
  left: 0;
  width: 100%;
}

.contact-hesap .tabcontent {
  width: 95%;
  display: none;
  justify-content: space-between;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-left: 14px;
  transform: translateY(50px);
  animation: slideIn 0.6s ease forwards;
}

.contact-hesap label {
  display: flex;
  margin: 10px 0 5px;
  color: whitesmoke;
  width: 150px;
}

.contact-hesap input,
select {
  width: 40%;
  padding: 8px;
  margin-bottom: 10px;
  margin-left: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.Gb-Insert {
  display: flex;
  font-size: large;
}

.RButton {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  margin-left: 180px;
}

.RButton input[type="radio"] {
  width: 18px;
  height: 18px;
  transform: translateX(-6px);
  cursor: pointer;
  accent-color: #162938;
}

.RButton label {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  transform: translateY(-6px);
  margin-left: 10px;
  font-weight: 500;
  width: auto;
  color: #ddd;
  cursor: pointer;
}

#Izin label {
  width: 200px;
}

#Izin .RButton {
  margin-left: 230px;
}

#RButton-Izin label {
  width: auto;
}

#tblinkIzin {
  width: 62%;
}

.RButton input[type="checkbox"] {
  width: 16px;
  height: 16px;
  transform: translateX(-6px);
  cursor: pointer;
  accent-color: #162938;
}

.tabcontent p span {
  display: block;
  margin-left: 40px;
  margin-right: 40px;
}

@media (min-width: 1200px) {
  .contact-hesap .tablink {
    width: 57%;
    max-width: none;
  }
  .contact-hesap input,
  .contact-hesap select {
    width: 40%;
    min-width: 0;
    margin-left: 20px;
  }
  .RButton {
    margin-left: 180px;
  }
  #Izin .RButton {
    margin-left: 230px;
  }
  #tblinkIzin {
    width: 62%;
  }
}

@media (max-width: 1199px) {
  .contact-hesap {
    width: 95%;
    margin: 10px auto 0;
  }
  .contact-hesap .tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }
  .contact-hesap .tablink {
    flex: 0 1 48%;
    max-width: 48%;
    width: auto;
  }
  .Gb-Insert {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .RButton,
  #Izin .RButton {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 10px;
  }
  #tblinkIzin {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .contact-hesap {
    width: 92%;
    margin: 8px auto 0;
  }
  .contact-hesap .tablink {
    width: 100% !important;
    max-width: none;
  }
  .contact-hesap .tabcontent {
    width: 100%;
    margin: 10px 0 0;
    padding: 14px;
  }
  .Gb-Insert {
    display: block;
  }
  .contact-hesap label {
    width: 100%;
    display: block;
    margin: 10px 0 4px;
  }
  .contact-hesap input,
  .contact-hesap select {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .RButton {
    margin-left: 0;
    gap: 10px;
    flex-wrap: wrap;
  }
  .tabcontent p span {
    margin-left: 0;
    margin-right: 0;
  }
}
