/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Genel gövde */
body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #f9fafc, #e3f2f9);
  color: #2d3436;
  line-height: 1.5;
}

/* Container */
.container {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Başlık */
h1 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #16a085;
}

/* Form alanı */
form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

select,
input[type="number"] {
  flex: 1;
  min-width: 100px;
  padding: 12px 14px;
  border: 1px solid #dcdde1;
  border-radius: 12px;
  font-size: 0.95rem;
  background: #fff;
  transition: all 0.3s ease;
}

select:focus,
input:focus {
  border-color: #16a085;
  box-shadow: 0 0 8px rgba(22, 160, 133, 0.3);
  outline: none;
}

button {
  padding: 12px 18px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #16a085, #27ae60);
  color: white;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(22, 160, 133, 0.4);
}

/* Liste */
ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

li {
  background: #fff;
  padding: 16px 20px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Ürün adı */
li span {
  font-size: 1rem;
  font-weight: 600;
}

li span.yaz {
  color: #e67e22;
}

li span.kis {
  color: #2980b9;
}

/* Çizilmiş */
li.checked span {
  text-decoration: line-through;
  color: #7f8c8d;
}

/* Alındı butonu */
li button {
  background: linear-gradient(135deg, #3498db, #2980b9);
  font-size: 0.85rem;
  padding: 8px 14px;
}

li button:hover {
  box-shadow: 0 6px 15px rgba(41, 128, 185, 0.4);
}

/* Alındı etiketi */
.checked-label {
  font-weight: 700;
  color: #2ecc71;
  font-size: 0.9rem;
}

/* Paylaş link input */
input[readonly] {
  margin-top: 20px;
  padding: 12px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  background: #f8f9fa;
  transition: 0.3s;
}

input[readonly]:hover {
  background: #ecf0f1;
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    margin: 20px;
    padding: 20px;
  }

  form {
    flex-direction: column;
  }

  li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  li button {
    width: 100%;
  }
}
