/* ============================================================
   ISTEK-GONDER.CSS - İstek Gönder Bölümü
   ------------------------------------------------------------
   Bu dosya, istek formunun stillerini, input alanlarını,
   gönder butonunu, texture efektini ve daktilo yazı efektini
   içerir.
   ============================================================ */

/* ============================================================
   1. FORMU ORTALAYAN ANA KAPSAYICI
   ============================================================ */
.wrapper {
  width: 100%;
  display: grid;
  place-content: start center;
  margin-top: 3rem;
}

/* ============================================================
   2. FORM ALANI GENEL STİLİ
   ============================================================ */
.form {
  width: 100%;
  padding: 1.5rem;
  display: grid;
  place-items: center;
  gap: 0.8rem;
  border: 1px solid transparent;
  border-image: linear-gradient(transparent, #ffe0a6, transparent) 1;
  border-width: 0 2px 0 2;
  background: radial-gradient(100% 61.73% at 100% 50%, rgba(255, 224, 166, 0.05) 0%, transparent 100%),
    radial-gradient(91.09% 56.23% at 0% 50%, rgba(255, 224, 166, 0.05) 0%, transparent 100%);
  position: relative;
}

/* Formun parlak border overlay */
.form::before,
.form::after {
  content: "";
  position: absolute;
  border: 1px solid transparent;
  border: inherit;
  z-index: -1;
}

.form::before {
  inset: -1rem;
  opacity: 15%;
}

.form::after {
  inset: -2rem;
  opacity: 5%;
}

/* ============================================================
   3. FORM BAŞLIĞI
   ============================================================ */
.form .title {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1rem;
  text-transform: uppercase;
  background: linear-gradient(rgb(170, 170, 170), rgb(78, 78, 78));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/* ============================================================
   4. INPUT KUTULARI
   ============================================================ */
.form .input-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: radial-gradient(47.3% 73.08% at 50% 94.23%, rgba(255, 255, 255, 0.1) 5%, rgba(0, 0, 0, 0) 100%);
  border: 1px solid transparent;
  border-image: radial-gradient(circle, rgba(255, 255, 255, 0.445) 0%, rgba(0, 0, 0, 0) 100%) 1;
  border-width: 0 0 0 0;
}

/* ============================================================
   5. INPUT VE TEXTAREA
   ============================================================ */
.form .input-container .input {
  background: none;
  border: none;
  padding: 0.6rem 0.8rem;
  color: #ffe0a6;
  width: 100%;
  font-size: 0.95rem;
  resize: none;
}

.form .input-container .input:focus {
  outline: none;
  color: #fff;
}

.form .input-container:focus-within {
  background: radial-gradient(47.3% 73.08% at 50% 94.23%, rgba(255, 224, 166, 0.1) 5%, rgba(0, 0, 0, 0) 100%);
  border-image: radial-gradient(circle, #ffe0a6 0%, transparent 100%) 1;
}

/* ============================================================
   6. GÖNDER BUTONU
   ============================================================ */
.form .login-button {
  width: 100%;
  position: relative;
  transition: all 0.2s ease-in-out;
}

.form .login-button .input {
  cursor: pointer;
  padding: 0.9rem;
  width: 100%;
  background: radial-gradient(100% 45% at 100% 50%, rgba(255, 224, 166, 0.084) 0%, rgba(115, 115, 115, 0) 100%),
    radial-gradient(100% 45% at 0% 50%, rgba(255, 224, 166, 0.084) 0%, rgba(115, 115, 115, 0) 100%);
  border: 1px solid transparent;
  border-image: linear-gradient(transparent, #ffe0a6, transparent) 1;
  border-width: 0 1px 0 1px;
  text-align: center;
  color: #ffe0a6;
  font-weight: bold;
  font-size: 0.95rem;
}

.form .login-button:hover {
  animation: flicker 0.5s infinite;
  width: 103%;
}

.form .login-button:active {
  width: 97%;
}

/* Buton yüklenirken */
.form .login-button .input[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

/* ============================================================
   7. TEXTURE EFEKTİ
   ============================================================ */
.form .texture {
  position: absolute;
  background-image: linear-gradient(0deg, #ffffff 1px, transparent 1px);
  background-size: 1px 5px;
  inset: 0;
  mix-blend-mode: soft-light;
  pointer-events: none;
  animation: movingLines 1s linear infinite;
}

/* ============================================================
   8. ANİMASYONLAR
   ============================================================ */
@keyframes flicker {
  0%   { filter: 100%; }
  10%  { filter: 80%; }
  20%  { filter: 120%; }
  30%  { filter: 90%; }
  40%  { filter: 110%; }
  50%  { filter: 100%; }
  60%  { filter: 85%; }
  70%  { filter: 95%; }
  80%  { filter: 105%; }
  90%  { filter: 115%; }
  100% { filter: 100%; }
}

@keyframes movingLines {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 5px;
  }
}

/* ============================================================
   9. DAKTİLO YAZI EFEKTİ
   ============================================================ */
.typewrite > .wrap {
  border-right: 0.08em solid #fff;
  font-weight: bold;
  color: #fff;
}

.fixed-text {
  color: #FFD700;
  font-weight: bold;
}