/* =========================================
   GENEL FORM TASARIMI
========================================= */
.support-form {
  max-width: 600px;
  margin: 30px auto;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.support-form h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 26px;
  color: #333;
}

/* =========================================
   INPUT GROUP
========================================= */
.input-group {
  position: relative;
  padding-right:5px;
  margin-bottom: 22px;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: 0.2s ease;
  background: #fff;
}

.input-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Hover ve focus */
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74,144,226,0.15);
}

/* =========================================
   FLOATING LABEL (GENEL)
========================================= */
.input-group label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  background: #fff;
  padding: 0 4px;
  font-size: 14px;
  color: #999;
  pointer-events: none;
  transition: 0.2s ease;
}

/* Yukarı kalkma animasyonu */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
  top: 0px;
  font-size: 12px;
  color: #4a90e2;
  background:#fff;
}

/* =========================================
   SELECT VE FILE – LABEL HER ZAMAN ÜSTTE
========================================= */
.input-group select + label,
.input-group input[type="file"] + label {
  top: 0px !important;
  font-size: 12px !important;
  color: #4a90e2 !important;
  background: #fff;
}

/* Select görünümü düzelsin diye */
.input-group select {
  padding: 16px 14px 8px 14px;
}

/* File input düzeni */
.input-group input[type="file"] {
  padding: 16px 14px 8px 14px;
}

/* File input için özel grup */
.file-group label {
  position: absolute;
  top: 0px;
  left: 14px;
  font-size: 12px;
  background: #fff;
  padding: 0 4px;
  color: #4a90e2;
  z-index: 2;
}

.file-group input[type="file"] {
  padding: 20px 14px 10px 14px; /* üst boşluk labela yer açar */
  cursor: pointer;
}

/* Select alanı */
.input-group select {
    width: 100%;
    padding: 14px 40px 14px 14px; /* solda 14px boşluk */
    border: 1px solid #ccc;       /* ilk border */
    border-radius: 8px;
    background-color: #fff;

    /* tarayıcı varsayılan oku kaldır */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Custom ok */
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center; 
    background-size: 18px;

    /* İç border etkisini engeller */
    outline: none;
    box-shadow: none;    

}

/* Select üzerine gelince border değişsin */
.input-group select:hover {
    border-color: #0077ff;
}

/* Select fokus olduğunda border rengi DEĞİŞSİN */
.input-group select:focus {
    border-color: #0077ff !important;  
    outline: none !important;
    box-shadow: 0 0 0 1px #0077ff33; /* hafif glow (istersen kaldırırım) */
    border-bottom-left-radius: 0 !important; /* Sol alt radius kaldırıldı */
}

/* Disabled option (ilk seçiniz) */
.input-group select option[disabled] {
  color: #999;
}

/* Dropdown genişliğini küçültme ve sağa hizalama */
.input-group select::-webkit-dropdown-list {
    width: 180px !important;     /* açılır listenin genişliği */
    left: auto !important;       /* sola dayamayı iptal */
    right: 0 !important;         /* sağa hizala */
}

/* =========================================
   HATA MESAJLARI
========================================= */
.error-message {
  font-size: 13px;
  color: red;
  display: none;
  margin-top: 3px;
}

/* =========================================
   BUTON
========================================= */
.support-form button {
  width: 100%;
  padding: 14px;
  background: #4a90e2;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.5;
  transition: 0.25s ease;
}

.support-form button:enabled {
  opacity: 1;
}

.support-form button:hover:enabled {
  background: #357acb;
}

/* =========================================
   TOAST
========================================= */
.toast-message {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #333;
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  display: none;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 9999;
}
