
/* Minimal and responsive layout for sparker_llm_min.php */

/* --- Variables --- */
:root {
    --primary-color: #222;
    --background-color-start: #f1f1f1;
    --background-color-end: #e4e4e4;
    --card-background: #f5f5f5;
    --border-radius-base: 8px;
    --box-shadow-main: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-family: 'Karla', sans-serif;
    --btn-color-orange: #ffb18a;
    --btn-color-green: #4DEBAF;
}

/* --- Base Styles --- */
body {
    font-family: var(--font-family);
    min-height: 100vh;
    background: linear-gradient(180deg, var(--background-color-start) 0%, var(--background-color-end) 100%);
    color: var(--primary-color);
    margin: 0;
    padding: 0;
    line-height: 1.4;
    font-size: 0.9em;
}

h1,h2,h3{

 font-family: var(--font-family);
}

/* --- Container and Layout --- */
.container {
    background-color: #ffffff;
    padding: 0.4rem;
    border-radius: 0.75rem;
    box-shadow: var(--box-shadow-main);
    width: 100%;
    max-width: 600px;
    margin: 1rem auto;
   padding: 3em;
}

hr {
    border: 0;
    border-bottom: 1px dotted #444;
    margin: 1rem 0;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

textarea, input{
  width: 94%;
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: var(--border-radius-base);
  font-family: inherit;
  font-size: 1em;
  resize: vertical;
  line-height: 1.4;
  background-color: #f3f3f3;
  box-shadow: inset 3px 4px 5px rgba(0, 0, 0, 0.2);
}

/* --- Button Styles --- */
.btn-full {
    width: 100%;
    padding: 0.8em 1em;
    border: none;
    border-radius: var(--border-radius-base);
    background-color: var(--btn-color-orange);
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    box-shadow: inset -2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease;
}

.single_spark{

font-size: 1.15em;
  font-weight: 600;
  border-top: 1px dotted #444;
  padding: 1em;
}
.delete-btn{

 all: unset;
cursor:pointer;
}

.fat_arrows{

text-align:center;
width:100%;
float:left;
font-size:2em;
}

.btn-full:hover {
    background-color: #ff9d8d;
}

/* --- Output Section --- */
#llmConceptOutput {
padding: 1em;
  background-color: var(--card-background);
  border-radius: var(--border-radius-base);
  border: 2px solid #b5b5b5;
  min-height: 5em;
  white-space: pre-wrap;
  font-size: 1.5em;
  line-height: 1.5;
  font-weight: 600;
    box-shadow: inset -2px 2px 5px rgba(0, 0, 0, 0.3);
}

#apiStatusMessage {
    margin-top: 0.5rem;
    font-size: 0.9em;
    color: #888;
}

/* --- Saved Concepts --- */
#savedConceptsList {
    margin-top: 2rem;
}


#savedConceptsList ul li{
   list-style:none;
}


#savedConceptsList h5 {
    margin-bottom: 0.5rem;
}

/* --- Responsive adjustments for smaller screens --- */
@media (max-width: 600px) {
    body {
        font-size: 0.9em;
    }
    .container {
        margin: 0.5rem;
        padding: 0.75rem;
    }
    .btn-full {
        padding: 0.6em 0.8em;
    }
}
