body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f4f4f9;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  margin: 0;
  padding: 2rem 0;
}

.container {
  position: relative;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
}

h1 {
  color: #4a4a4a;
  text-align: center;
}

textarea {
  width: 100%;
  min-height: 100px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

button {
  display: block;
  width: 100%;
  padding: 1rem;
  border: none;
  border-bottom: 5px solid transparent;
  background-color: #007bff;
  color: white;
  font-size: 1.1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}
button:hover {
  background-color: rgb(0, 98.4, 204);
}
button:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}
button.loading-border {
  animation: loading-wipe 2s linear infinite;
}

@keyframes loading-wipe {
  0% {
    border-bottom-color: rgb(0, 86.1, 178.5);
  }
  50% {
    border-bottom-color: rgb(76.5, 162.6, 255);
  }
  100% {
    border-bottom-color: rgb(0, 86.1, 178.5);
  }
}
.advanced-toggle {
  text-align: center;
  margin-bottom: 1rem;
  color: #007bff;
  cursor: pointer;
  font-weight: 500;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.advanced-toggle:hover {
  text-decoration: underline;
}

.advanced-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f8f9fa;
  padding: 0 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.advanced-panel.open {
  max-height: 200px;
  padding: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
}

select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  font-size: 1rem;
}

#api-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ffc107;
  animation: pulse 2s infinite;
}

#api-status.ok {
  background-color: #28a745;
  animation: none;
}

#api-status.error {
  background-color: #dc3545;
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}
.language-selector {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lang-flag {
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
  filter: grayscale(80%);
}

.lang-flag.selected {
  transform: scale(1.2);
  filter: grayscale(0%);
}

.slider-container {
  margin-bottom: 1rem;
}

input[type=range] {
  width: 100%;
  cursor: pointer;
}

#loader {
  text-align: center;
  display: none;
  margin-top: 1rem;
}

.retry-message {
  text-align: center;
  display: none;
  margin-top: 0.5rem;
  color: #6c757d;
  font-style: italic;
  font-size: 0.9rem;
}

#result {
  margin-top: 1.5rem;
  line-height: 1.6;
}

.recipe-title {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 0.5rem;
}

.recipe-description {
  font-style: italic;
  color: #555;
  margin-bottom: 1.5rem;
  border-left: 3px solid #007bff;
  padding-left: 1rem;
}

.ingredients-list, .instructions-list {
  list-style: none;
  padding-left: 0;
}

.ingredients-list li {
  background-color: #e9ecef;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.instructions-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.instructions-list li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: -10px;
  top: 0;
  background-color: #007bff;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
}

.list-heading {
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.dish-info {
  display: flex;
  justify-content: space-around;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 2rem;
  border: 1px solid #dee2e6;
}

.info-item {
  font-size: 0.9rem;
  color: #495057;
}

.info-item strong {
  display: block;
  font-size: 1.1rem;
  color: #212529;
}

#initial-loader-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.2rem;
  color: #4a4a4a;
  flex-direction: column;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}/*# sourceMappingURL=main.css.map */