.recipe-ai-module { max-width: 900px; position: relative; }

.recipe-form textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 92px;
    font-size: 140%;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
}

.recipe-form button {
    margin-top: 8px;
    padding: 10px 14px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    background-color: #3ba9e1;
    padding: 20px 20px !important;
    border-width: 0px;
    color: #ffffff;
    text-transform: uppercase;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    font-size: 100%;
}

.recipe-form button:disabled { cursor: not-allowed; opacity: 0.55; }

.recipe-headline { margin: 0 0 8px 0; }

.recipe-restart-form { margin-top: 16px; }

.recipe-restart-button {
    width: 100%;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    background-color: #4CAF50;
    padding: 15px 15px !important;
    border-width: 0px;
    color: #ffffff;
    text-transform: unset;
    border-radius: 20px;
    text-decoration: none;
    font-size: 140%;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
}

.recipe-usage {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  background: rgba(0,0,0,.04);
  font-size: 0.92em;
  line-height: 1.45;
}
.recipe-usage--limit {
    border-color: rgb(180 0 0);
    background: rgb(255 0 0 / 26%);
}

.recipe-error { margin-top: 10px; padding: 10px; border: 1px solid #c00; }

.recipe-titles {
    margin: 0 0 16px 0;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 10px;
}
.title-button {
    width: 100%;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    background-color: #3ba9e1;
    padding: 15px 15px !important;
    border-width: 0px;
    color: #ffffff;
    text-transform: unset;
    border-radius: 20px;
    text-decoration: none;
    font-size: 140%;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
}

.detail-form { margin: 0 0 8px 0; }

.recipe-detail { margin: 0 0 16px 0; border: 1px solid rgba(0,0,0,.12); border-radius: 10px; }
.recipe-detail ol { margin: 8px 0 0 20px; }
.recipe-detail ul { margin: 8px 0 0 18px; }

/* Loading Overlay */
.recipe-loading {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.75);
  display: none; align-items: center; justify-content: center;
  border-radius: 10px; z-index: 999;
}
.recipe-loading.is-visible { display: flex; }
.recipe-loading-box {
  text-align: center; padding: 18px 20px; border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  max-width: 320px;
}
.recipe-spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.25);
  border-top-color: rgba(255,255,255,0.95);
  margin: 0 auto 12px auto;
  animation: spin 0.9s linear infinite;
}
.recipe-loading-text { color: #fff; font-weight: 600; letter-spacing: 0.2px; }
.recipe-loading-sub { color: rgba(255,255,255,0.75); font-size: 0.95em; margin-top: 6px; }

.dots span { display: inline-block; opacity: 0.2; animation: blink 1.2s infinite; }
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes blink { 0%, 20% { opacity: 0.2; } 50% { opacity: 1; } 100% { opacity: 0.2; } }

