body {
  background: #f5f7fa;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  justify-content: center;
  align-items: center;

}
header {
  background: linear-gradient(to right, #f5c45b, #FF8800);
  color: rgb(0, 0, 0);
  padding: 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* make sure it's on top of other content */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* optional shadow */
}
header a img {
  height: 50px;
}
.first-section {
  margin-top: 100px; /* space for fixed header */
}
.auth-links {
  margin-left: auto; /* push to the far right */
  display: flex;
  align-items: center;
  gap: 1rem;
}
.auth-links span {
  display: flex;
  align-items: center;
  font-weight: 500;
}
.auth-links a {
  text-decoration: none;
  font-weight: bold;
  color: black;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 6px;
  transition: background 0.3s;
}

.auth-links a:hover {
  background: #005fa3;
  color: white;
}
.container {
  max-width: 1200px;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
form input, form button, form select {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

#resultSection {
  display: none;
  margin: 2rem auto;
  padding: 2rem;
  background: #e3f2fd;
  border-radius: 12px;
  text-align: center;
  font-size: 1.2rem;
}

.metrics-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.metrics-row {
  display: table-row;
}
.metrics-cell {
  display: table-cell;
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  font-family: Arial, sans-serif;
}
.metrics-cell.header {
  font-weight: bold;
  background-color: #f9f9f9;
}

.input-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.input-row input {
  margin-right: 8px;
}
.input-row button {
  width: 2em;
  height: 2em;
  font-size: 1.2em;
  line-height: 1;
}
.input-row label {
  width: 100%;
}


.login-container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
  margin: 10rem auto;
}

.login-container h2 {
  margin-bottom: 1.5rem;
  color: #333;
}

.login-container form input {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}



.login-container form button:hover {
  background-color: #005fa3;
  color: white;
}

.login-container .footer-text {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.login-container .footer-text a {
  color: #FF8800;
  text-decoration: none;
}

.login-container .footer-text a:hover {
  text-decoration: underline;
}


.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;  /* Hide spinner initially */
}

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

/* Center the spinner */
.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
}

.hero {
  background: #f4f4f4;
  color: white;
  padding: 70px;
  text-align: center;
  /* animation removed */
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 30vh;;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  animation: zoomIn 15s infinite alternate;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/static/images/cleaning_panels.png");
  background-size: cover;
  background-position: center;
  transform-origin: center;
}
@keyframes zoomIn {
0% {
  transform: scale(1);
}
100% {
  transform: scale(1.2);
}
}
.hero h1 {
  margin-bottom: 10px;
}
.hero p {
  margin-bottom: 20px;
}
.my_btn {
  display: inline-block;
  padding: 10px 20px;
  background: #FE8800;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
  border: 1px solid #FF8800;

}
.my_btn2 {
display: inline-block;
padding: 10px 20px;
color:#FE8800;
text-decoration: none;
margin: 5px;
border: 1px solid #FF8800;
transition: background 0.3s ease;
}

.my_btn:hover  {
background: #005fa3;
border: 1px solid rgba(170, 255, 255, 0);
color: #ffffff;
}
.my_btn2:hover  {
color: #fff;
border: 1px solid rgba(170, 255, 255, 0);
background: #005fa3;
}

.section {
  padding: 30px 20px;
  max-width: 1000px;
  margin: auto;
}
.footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
  z-index: 1001;
  position: relative;
}

.section h2, .section h3 {
color: #333;
text-align: center;
}

.section-content {
display: flex;
flex-wrap: nowrap;
overflow-x: auto;
padding: 10px 0;
gap: 20px;
}

.card {
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
padding: 20px;
min-width: 280px;
flex: 0 0 auto;
text-align: center;
}

.card h3 {
color: #FF8800;
margin-bottom: 15px;
}

.card ul, .card ol {
list-style: none;
padding: 0;
text-align: left;
}

.card ul li, .card ol li {
margin: 10px 0;
position: relative;
padding-left: 25px;
}

.card ul li::before, .card ol li::before {
content: '✔';
color: #FF8800;
position: absolute;
left: 0;
}

.card ol li::before {
content: counter(item) '.';
counter-increment: item;
font-weight: bold;
color: #f5c45b;
}

.card ol {
counter-reset: item;
}

.summary-box {
background-color: #e7f3fe;
border-left: 5px solid #007bff;
padding: 20px;
margin: 20px auto;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
color: #333;
max-width: 800px;
border-radius: 6px;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.summary-box h3 {
margin-top: 0;
color: #0056b3;
font-size: 1.3em;
}

.summary-box ul {
margin: 10px 0 15px 20px;
padding: 0;
}

.summary-box ul li {
margin-bottom: 8px;
line-height: 1.5;
}
.plot-note {
background-color: #e7f3fe;
padding: 12px;
border-left: 4px solid #007bff;
margin-bottom: 15px;
font-size: 14px;
color: #333;
}

.plot-description {
font-size: 15px;
line-height: 1.6;
color: #444;
}
.plot-section {
margin-top: 40px;
padding: 25px;
background-color: #f9fcff;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
max-width: 800px;
}

.plot-section h2 {
font-size: 24px;
color: #004085;
margin-bottom: 15px;
border-left: 4px solid #007bff;
padding-left: 10px;
}

.plot-description {
font-size: 15px;
line-height: 1.6;
color: #333;
margin-bottom: 25px;
}
.plot-wrapper {
display: flex;
justify-content: center;
padding: 30px 0;
}