/* Isolated styles for the converter */
#unit-converter-app {
  font-family: 'Segoe UI', sans-serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.converter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.converter-header h1 {
  font-size: 24px;
  color: #222;
}

#fullscreen-btn {
  padding: 8px 15px;
  background: #ff9800;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}

.converter-card {
  margin: 15px 0;
  padding: 15px;
  border-radius: 15px;
  color: #fff;
}

.converter-card h2 {
  margin-bottom: 10px;
}

.converter-card input, 
.converter-card select {
  padding: 10px;
  margin: 5px;
  border-radius: 8px;
  border: none;
  min-width: 120px;
}

.result {
  margin-top: 10px;
  font-weight: bold;
  background: rgba(255,255,255,0.2);
  padding: 8px;
  border-radius: 8px;
}

/* Category Colors */
.length { background: #42a5f5; }
.mass { background: #66bb6a; }
.volume { background: #ab47bc; }
.temperature { background: #ef5350; }
.time { background: #ffa726; }
.current { background: #26a69a; }
.light { background: #ffca28; color: #222; }
.substance { background: #8d6e63; }

/* Responsive */
@media(max-width:600px){
  #unit-converter-app { padding: 10px; }
  .converter-card { padding: 10px; }
  .converter-card input, .converter-card select { min-width: 100px; }
}
