/* static/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to right, #eef2f3, #8e9eab);
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  max-width: 900px;
  margin: 3rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 2rem;
  font-size: 2.2rem;
}

input {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  outline: none;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 1.5rem;
}

button {
  padding: 0.9rem 1.3rem;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  background: #3c8dbc;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #2c6fa3;
}

.output-box {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 12px;
  white-space: pre-wrap;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #222;
}

.output-box h2 {
  margin-top: 0;
  color: #34495e;
}

.output-box strong {
  color: #3c8dbc;
}

.output-box ul {
  padding-left: 1.5rem;
  margin: 0;
}

.output-box li {
  margin-bottom: 0.5rem;
}
/* Loader styles */
.loader-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Output Formatting */
#output {
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

/* Numbered Titles */
#output ol > li {
  font-size: 20px;
  font-weight: bold;
  color: #004488;
  margin-bottom: 10px;
}

/* Bullet Points inside Numbered Items */
#output ol > li ul li {
  font-weight: bold;
  color: #004488;
  margin-left: 20px;
  margin-bottom: 6px;
}
#output ol {
  list-style-position: inside;
  padding-left: 0;
}

#output ol > li {
  font-size: 22px !important;    /* Increased font size */
  font-weight: bold !important;  /* Bold */
  color: #004488 !important;     /* Blue */
  margin-bottom: 12px;
}

#output ol > li > ul {
  margin-top: 5px;
}

#output ol > li > ul > li {
  font-size: 17px !important;    /* Optional: slightly smaller */
  font-weight: bold !important;
  color: #004488 !important;
  margin-left: 20px;
  margin-bottom: 6px;
}
body {
  background-image: url('bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}
