/* Global Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 4px;
}

h1 {
  text-align: center;
}

/* Logo banner styling */
.logo-banner {
  display: block;
  max-width: 200px;
  margin: 0 auto 20px auto;
}

/* Controls */
.controls {
  text-align: center;
  margin: 10px 0;
}

/* Tooltip styling */
.tooltip {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  display: none;
  z-index: 1000;
}

/* Help icon styling */
.help-icon {
  background-color: #3498db;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.8em;
  cursor: pointer;
  margin-left: 4px;
  position: relative;
  z-index: 1001;
}

/* Results Container */
#resultsContainer {
  margin-top: 20px;
}

.image-result {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 15px;
  position: relative;
}

.image-result h3 {
  margin: 0 0 10px;
}

/* Line item styling with alternating colors */
.line {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  padding: 5px;
}
.line:nth-child(odd) {
  background-color: #fff;
  color: #000;
}
.line:nth-child(even) {
  background-color: #00b5de;
  color: #fff;
}
.line span {
  flex: 1;
}
.line select {
  margin-left: 10px;
}

/* Spinner Styles */
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Loading text styling */
.loading-text {
  text-align: center;
  margin-top: 5px;
  font-size: 0.9em;
  color: #555;
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 4px;
  width: 80%;
  max-width: 400px;
  text-align: center;
}

#quickTipsDesc li {
  margin-bottom: 1em;
}

