@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap');

body {
  font-family: 'Karla', sans-serif;
  background-color: #f0f0f0;
  margin: 0;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.book-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.book-title {
  font-size: 1.5em;
  font-weight: 700;
  margin: 0;
}

.book-author {
  font-size: 1em;
  color: #666;
}

a.button {
  background-color: #4CAF50;
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 4px;
}

.button-delete {
  background-color: #f44336;
}

/* Formulare und Input-Felder */
input[type="text"], textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 4px;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

button:hover {
  opacity: 0.8;
}


/* Monochrom und runde Ecken */
.container,
.book-item,
input[type="text"],
textarea,
button,
.button {
  border-radius: 8px; /* Runde Ecken */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button, button {
  font-weight: bold;
}

/* LLM Overlay */
#llm-overlay {
  display: none; /* Standardmäßig ausgeblendet */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align:left;
  max-width: 600px;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 20px auto 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}






