* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  line-height: 1.6;
}

.container {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
@media (max-width: 480px) {
  .container {
    padding: 25px;
  }
}
.container h1 {
  text-align: center;
  color: #1f2937;
  margin-bottom: 30px;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

#book-form {
  display: grid;
  gap: 15px;
}
#book-form input, #book-form select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#book-form input:focus, #book-form select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
#book-form button {
  background: #6366f1;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#book-form button:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}
#book-form button:active {
  transform: translateY(0);
}

.stats-panel {
  margin: 25px 0;
  padding: 15px;
  background: #f3f4f6;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
}
.stats-panel span {
  color: #6366f1;
  font-weight: 700;
  font-size: 1.2rem;
}

#book-list {
  margin-top: 20px;
  list-style: none;
}
#book-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 15px 20px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeIn 0.4s ease;
}
#book-list li:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: #6366f1;
}
#book-list li.ebook-type {
  border-left: 5px solid #10b981;
  background: rgba(16, 185, 129, 0.02);
}
#book-list li .book-info strong {
  display: block;
  color: #1f2937;
  font-size: 1.05rem;
}
#book-list li .book-info small {
  color: #6b7280;
}
#book-list li .delete-btn {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#book-list li .delete-btn:hover {
  background: #ef4444;
  color: #ffffff;
}
@media (max-width: 480px) {
  #book-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  #book-list li .delete-btn {
    width: 100%;
    text-align: center;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*# sourceMappingURL=style.css.map */
