/* Temperature Converter - Minimalist Dark Theme */

/* Container */
.converter-app-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

/* Header */

/* Input */
.input-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-section label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

#temperature-input {
  width: 100%;
  padding: 15px;
  background: transparent;
  border: 2px solid #333;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 1.5rem;
  text-align: center;
  transition: var(--transition-fast);
}

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

/* Selectors */
.selector-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.select-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.select-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

select {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid #444;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* Swap Button */
.swap-btn {
  background: transparent;
  border: 2px solid #444;
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px; /* Align with inputs */
  transition: all 0.2s;
}

.swap-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: rotate(180deg);
}

/* Result */
.result-display {
  text-align: center;
  margin-top: 1rem;
}

.result-value {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.result-unit {
  font-size: 2rem;
  color: var(--accent-color);
  margin-left: 10px;
}

/* Formula */
.formula-display {
  text-align: center;
  padding: 10px;
  border-top: 1px solid #222;
  width: 100%;
}

.formula-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}
