.lorem-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.lorem-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lorem-type-selector {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.lorem-type-option {
  flex: 1;
  min-width: 160px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lorem-type-option:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.lorem-type-option input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.lorem-type-option input[type="radio"]:checked + span {
  color: #3b82f6;
  font-weight: 600;
}

.lorem-type-option input[type="radio"]:checked {
  accent-color: #3b82f6;
}

.lorem-type-option span {
  color: #e0e6ed;
  font-size: 0.938rem;
  user-select: none;
}

.lorem-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .lorem-options {
    grid-template-columns: 1fr;
  }
}

.lorem-option-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lorem-label {
  color: #e0e6ed;
  font-size: 0.938rem;
}

.lorem-select,
.lorem-input {
  padding: 0.875rem 1rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #e0e6ed;
  outline: none;
  transition: all 0.2s;
}

.lorem-select:focus,
.lorem-input:focus {
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.08);
}

.lorem-select {
  cursor: pointer;
}

.lorem-select option {
  background: #0b0f14;
  color: #e0e6ed;
}

.lorem-extras {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}

.lorem-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: #e0e6ed;
  user-select: none;
}

.lorem-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.lorem-output-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lorem-output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lorem-output-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #e0e6ed;
}

.lorem-output-actions {
  display: flex;
  gap: 0.5rem;
}

.lorem-output {
  min-height: 300px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #e0e6ed;
  line-height: 1.8;
  font-size: 1rem;
  overflow-y: auto;
  max-height: 600px;
}

.lorem-output:focus {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
}

.lorem-output p {
  margin: 0 0 1.25rem 0;
}

.lorem-output p:last-child {
  margin-bottom: 0;
}

.lorem-placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.lorem-stats {
  display: flex;
  gap: 2rem;
  padding: 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 6px;
  font-size: 0.875rem;
  color: #93c5fd;
}

.lorem-stats span {
  display: flex;
  gap: 0.5rem;
}
