/* === Spacing Scale: 0.5rem (8px), 1rem (16px), 2rem (32px) === */
/* === Font Size Scale: 1rem (16px), 1.25rem (20px), 1.5rem (24px), 2rem (32px) === */

/* === Base Styles === */
body {
  min-height: 100dvh;
  background: #f8f8f8;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  margin: 0;
  font-size: 1rem;
  overflow-y: hidden;
}

/* === Layout === */
.container {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

/* === Converter Box === */
.converter {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.125rem 0.75rem rgba(0,0,0,0.07);
  padding: 2rem 1rem;
  width: 100%;
  max-width: 21.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 1rem;
}

/* === Titles === */
.box-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #222;
  margin-bottom: 1rem;
  margin-top: 0;
}

/* === Form Fields === */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
label {
  font-size: 1rem;
  color: #888;
  margin-bottom: 0.5rem;
}
.rate-info {
  font-size: 1rem;
  color: #888;
  font-weight: 400;
  margin-left: 0.5rem;
}

/* === Inputs === */
input[type="number"] {
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 1rem;
  background: #f4f4f4;
  outline: none;
  transition: border 0.2s;
  width: 100%;
  box-sizing: border-box;
  text-align: right;
}
input[type="number"]:focus {
  border: 1.5px solid #007aff;
  background: #fff;
}

/* === Arrow Section === */
.arrow-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2rem;
  margin: 1rem 0;
}
.arrow-svg {
  width: 2rem;
  height: 2rem;
  stroke: #bbb;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
} 