/* Style specific to Random Password Generator */
@import url("../style.css");

.password-display-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.15));
  border-radius: var(--radius-md, 12px);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.password-text {
  font-family: var(--font-mono, "Courier New", monospace);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.05em;
  word-break: break-all;
  user-select: all;
}

.password-controls-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.strength-meter-container {
  margin-bottom: 1.75rem;
}

.strength-meter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.strength-label-text {
  font-weight: 600;
  color: #cbd5e1;
}

.strength-status-badge {
  font-weight: 700;
  color: #34d399;
  font-family: var(--font-mono);
}

.strength-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.strength-bar-fill {
  height: 100%;
  width: 80%;
  background: #34d399;
  border-radius: 999px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.slider-container {
  margin-bottom: 1.5rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.slider-val-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #c084fc;
  font-size: 1.1rem;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #a855f7;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
