/* ───────────────────────────────────────
   CHECKOUT
─────────────────────────────────────── */

.checkout {
  position: relative;
  min-height: 100vh;
  background:
    url("../images/grid.jpg"),
    linear-gradient(180deg, rgb(0, 0, 0), rgb(24, 24, 24));
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: overlay;
  padding: 8rem 1.5rem 5rem;
}

.checkout-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ───────────────────────────────────────
   SOL: HİZMET ÖZETİ
─────────────────────────────────────── */

.checkout-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(187, 136, 49, 0.35);
  border-radius: 999px;
  color: #bb8831;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  background: transparent;
  backdrop-filter: blur(4px);
}

.checkout-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.checkout-description {
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.checkout-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.checkout-features li i {
  color: #bb8831;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.checkout-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(187, 136, 49, 0.25);
  border-radius: 12px;
  background: rgba(187, 136, 49, 0.05);
}

.checkout-price {
  font-size: 2rem;
  font-weight: 700;
  color: #bb8831;
}

.checkout-price-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.checkout-refund-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.checkout-refund-note i {
  color: #bb8831;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ───────────────────────────────────────
   SAĞ: FORM
─────────────────────────────────────── */

.checkout-form-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
}

.form-group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus {
  border-color: rgba(187, 136, 49, 0.6);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: #bb8831;
  cursor: pointer;
}

.form-check label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  cursor: pointer;
}

.form-check label a {
  color: #bb8831;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-check label a:hover {
  color: #d4a04a;
}

.checkout-submit {
  width: 100%;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.checkout-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: 0.25rem;
}

.checkout-security-note i {
  color: #bb8831;
  font-size: 0.8rem;
}

.invoice-type-toggle {
  display: flex;
  gap: 0.5rem;
}

.invoice-type-btn {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.invoice-type-btn.active {
  border-color: rgba(187, 136, 49, 0.6);
  background: rgba(187, 136, 49, 0.08);
  color: #bb8831;
}

@media (max-width: 768px) {
  .checkout {
    padding: 7rem 1.2rem 4rem;
  }

  .checkout-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .checkout-price {
    font-size: 1.6rem;
  }

  .checkout-form-wrap {
    padding: 1.5rem 1rem;
  }

  .form-group input {
    font-size: 16px; /* iOS zoom engellemek için */
  }

  .invoice-type-toggle {
    flex-direction: row;
  }

  .invoice-type-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }

  .checkout-title {
    font-size: 1.4rem;
  }

  .checkout-price-box {
    padding: 1rem 1.2rem;
  }

  .checkout-submit {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
}


