.converter-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-col {
  flex: 1;
  min-width: 200px;
}

select,
input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

input:focus,
select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.swap-btn {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.swap-btn button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.swap-btn button:hover {
  transform: translateY(-2px);
}

.result-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 5px;
  text-align: center;
}

.result-section h3 {
  margin-bottom: 1rem;
  color: #333;
}

.result-value {
  font-size: 2rem;
  font-weight: bold;
  color: #667eea;
  margin: 1rem 0;
}

.conversion-info {
  color: #666;
  font-size: 0.9rem;
}

.popular-conversions {
  margin-top: 2rem;
}

.popular-conversions h3 {
  margin-bottom: 1rem;
  text-align: center;
}

.conversion-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.conversion-item {
  background: #f0f0f0;
  padding: 0.75rem;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.conversion-item:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: transform 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .converter-container {
    padding: 1rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  header h1 {
    font-size: 2rem;
  }

  .result-value {
    font-size: 1.5rem;
  }
}
