/* generator.css */
.thecool-container {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  box-sizing: border-box;
}

.pmtc-input-container-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pmtc-input-container {
  position: relative; /* Keeping relative for simplicity */
  /* Theme: glassmorphism, gradient, rounded corners */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(230, 240, 255, 0.7));
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  z-index: 10;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.pmtc-input-container input {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  /* Theme: subtle border, rounded, light background */
  border: 1px solid rgba(0, 86, 179, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
}

.pmtc-input-container input:focus {
  border-color: #0056b3;
  box-shadow: 0 0 8px rgba(0, 86, 179, 0.3);
  background-color: rgba(255, 255, 255, 1);
}

.pmtc-size-container {
  width: 100%;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 0;
}

.pmtc-size-container label {
  margin-right: 15px;
  font-weight: 500;
  color: #003366;
}

.pmtc-size-container input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 250px;
  height: 6px;
  /* Theme: light gradient background */
  background: linear-gradient(90deg, rgba(200, 220, 255, 0.8) 0%, rgba(180, 200, 255, 0.8) 100%);
  outline: none;
  opacity: 0.9;
  transition: opacity 0.2s;
  border-radius: 8px;
  border: 1px solid rgba(0, 86, 179, 0.1);
}

.pmtc-size-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  /* Theme: primary color thumb */
  background: #0056b3;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pmtc-size-container input[type="range"]::-webkit-slider-thumb:hover {
  background-color: #003366;
  transform: scale(1.1);
}

/* Basic theme consistency for Mozilla */
.pmtc-size-container input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: #0056b3;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.pmtc-size-container input[type="range"]::-moz-range-track {
  height: 6px;
  background: linear-gradient(90deg, rgba(200, 220, 255, 0.8) 0%, rgba(180, 200, 255, 0.8) 100%);
  border-radius: 8px;
  border: 1px solid rgba(0, 86, 179, 0.1);
}

.pmtc-output-container {
  width: 100%;
  margin: 25px 0;
  padding: 25px;
  /* Theme: light background, soft shadow */
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.pmtc-font-label {
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #003366;
  font-size: 1.1em;
}

.pmtc-font-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border: 1px solid rgba(0, 86, 179, 0.1);
  border-radius: 10px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  /* Theme: light blueish background */
  background-color: rgba(240, 248, 255, 0.8);
  box-sizing: border-box;
  position: relative;
}

.pmtc-font-item:hover {
  box-shadow: 0 6px 16px rgba(0, 86, 179, 0.1);
  transform: translateY(-3px);
  background-color: rgba(220, 235, 255, 0.9);
  border-color: rgba(0, 86, 179, 0.2);
}

.pmtc-font-item span {
  font-size: 18px;
  flex: 1;
  margin-right: 15px;
  color: #333333;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

/* Theme the 'Copy' button */
.pmtc-font-item::after {
  content: "Copy";
  padding: 8px 18px;
  /* Theme: gradient button */
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pmtc-font-item:hover::after {
  background: linear-gradient(135deg, #0069d9 0%, #004085 100%);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.15);
}

/* Theme the 'Copied' state */
.pmtc-font-item.copied::after {
  content: "Copied";
  background: linear-gradient(135deg, #28a745 0%, #218838 100%); /* Green gradient for success */
}

/* Dark mode adjustments for generator */
@media (prefers-color-scheme: dark) {
  .pmtc-input-container {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.7), rgba(15, 52, 96, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .pmtc-input-container input {
    background-color: rgba(26, 26, 46, 0.8); /* Dark input bg */
    color: #e6e6e6;
    border-color: rgba(67, 97, 238, 0.3);
  }
  .pmtc-input-container input:focus {
    border-color: #4361ee;
    box-shadow: 0 0 8px rgba(67, 97, 238, 0.4);
    background-color: rgba(26, 26, 46, 1);
  }
  .pmtc-size-container label {
    color: #cce0ff;
  }
  .pmtc-size-container input[type="range"] {
    background: linear-gradient(90deg, rgba(67, 97, 238, 0.3) 0%, rgba(58, 12, 163, 0.3) 100%);
    border: 1px solid rgba(67, 97, 238, 0.2);
  }
  .pmtc-size-container input[type="range"]::-webkit-slider-thumb {
    background: #4361ee; /* Dark theme accent */
    border: 2px solid #1a1a2e; /* Dark background border */
  }
   .pmtc-size-container input[type="range"]::-moz-range-thumb {
     background: #4361ee;
     border: 2px solid #1a1a2e;
  }
   .pmtc-size-container input[type="range"]::-moz-range-track {
    background: linear-gradient(90deg, rgba(67, 97, 238, 0.3) 0%, rgba(58, 12, 163, 0.3) 100%);
    border: 1px solid rgba(67, 97, 238, 0.2);
  }
  .pmtc-output-container {
    background: rgba(15, 52, 96, 0.6); /* Darker container */
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  .pmtc-font-label {
    color: #90b0ff; /* Lighter label */
  }
  .pmtc-font-item {
    background-color: rgba(31, 64, 104, 0.8); /* Darker item bg */
    border: 1px solid rgba(67, 97, 238, 0.2);
  }
  .pmtc-font-item:hover {
    background-color: rgba(45, 90, 136, 0.9);
    border-color: rgba(67, 97, 238, 0.3);
  }
  .pmtc-font-item span {
    color: #e6e6e6;
  }
  .pmtc-font-item::after {
    /* Button in dark mode */
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  }
  .pmtc-font-item:hover::after {
    background: linear-gradient(135deg, #5a75f5 0%, #4e1ec4 100%);
  }
  .pmtc-font-item.copied::after {
    /* Copied button in dark mode */
    background: linear-gradient(135deg, #34c759 0%, #2fa149 100%);
  }
}
