/* Imported from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Roboto', sans-serif;
  background-color: #eef5f9;
  color: #222;
  padding: 2rem;
}

/* Main Container */
.container {
  max-width: 550px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #c0d3db;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  padding: 2.5rem;
  position: relative;
}

/* Header Bar */
.header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.header::before {
  content: "✚";
  font-size: 1.5rem;
  color: #0ea5e9;
  margin-right: 0.6rem;
}

.header h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e3a8a;
}

/* Labels */
label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #374151;
}

/* Inputs */
input[type="number"], select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #b9cad3;
  background-color: #f0f8ff;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  transition: border-color 0.2s ease-in-out;
}

input:focus {
  outline: none;
  border-color: #0ea5e9;
  background: #fff;
}

/* Button */
button {
  background-color: #0ea5e9;
  color: white;
  border: none;
  padding: 0.8rem 1.3rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #0284c7;
}

/* Result Box */
.result {
  background: #d0f0fd;
  border-left: 5px solid #0ea5e9;
  padding: 1rem;
  margin-top: 2rem;
  border-radius: 6px;
  color: #075985;
  font-weight: 600;
}

/* Section Divider */
.section {
  border-top: 1px dashed #cbd5e1;
  margin: 2rem 0;
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 1.5rem;
  }

  .header h1 {
    font-size: 1.2rem;
  }
}
