/* =========================
   Tip Calculator - CSS
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Card */
body > section {
  background: #ffffff;
  padding: 24px;
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Inputs */
input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  outline: none;
}

input::placeholder {
  color: #9ca3af;
}

input:focus {
  border-color: #2563eb;
}

/* Button */
button {
  width: 100%;
  padding: 10px;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 14px;
}

button:hover {
  background-color: #1d4ed8;
}

/* Result */
h2 {
  text-align: center;
  font-size: 1.2rem;
  color: #111827;
}

h2 span {
  color: #16a34a;
  font-weight: bold;
}
