/* Password Generator specific styles */

.options-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.option-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.option-row:last-child {
  border-bottom: none;
}

.option-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  display: block;
  margin-bottom: 12px;
}

.length-control {
  display: flex;
  align-items: center;
  gap: 16px;
}

#length-slider {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--color-border);
  border-radius: 3px;
  cursor: pointer;
}

#length-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  cursor: pointer;
}

#length-input {
  width: 70px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  text-align: center;
  font-family: var(--font-mono);
}

#length-input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-accent);
}

.generate-section {
  margin-bottom: 24px;
}

.generate-row {
  display: flex;
  gap: 12px;
}

.btn-generate {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: var(--radius-sm);
  background-color: var(--color-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition);
}

.btn-generate:hover {
  background-color: #1d4ed8;
}

.btn-generate-bulk {
  padding: 16px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-surface);
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-generate-bulk:hover {
  background-color: var(--color-bg);
  border-color: var(--color-accent);
}

.passwords-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.passwords-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}

.passwords-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-copy-all {
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-copy-all:hover {
  background: var(--color-bg);
  border-color: var(--color-accent);
}

.passwords-output {
  width: 100%;
  padding: 16px;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.8;
  resize: vertical;
  background: var(--color-surface);
  color: var(--color-text);
}

.passwords-output:focus {
  outline: none;
}

/* Password list (10個生成用) */
.passwords-list {
  padding: 8px;
}

.password-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.password-item:last-child {
  margin-bottom: 0;
}

.password-value {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--color-text);
  word-break: break-all;
}

.btn-copy-single {
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-copy-single:hover {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-accent);
}
