/* TIP CALCULATOR — EASY TIPS THEME */

body {
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  padding: 3rem;
  background: linear-gradient(to right, #f1f8f6, #d3eaf5);
  color: #333;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #006f77;
}

/* Container */
.calculator-container {
  max-width: 450px;
  margin: auto;
  background-color: #ffffff;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  box-sizing: border-box;
}

label {
  text-align: left;
  font-size: 1rem;
  display: block;
  margin: 1rem 0 0.5rem;
  color: #006f77;
}

input[type="number"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #fafafa;
  transition: border-color 0.3s ease;
}

input[type="number"]:focus {
  outline: none;
  border-color: #42b0a3;
}

/* Results display */
.results {
  margin-top: 1.5rem;
}

.results p {
  font-size: 1.25rem;
  color: #006f77;
  font-weight: 600;
}

/* Button styling */
button {
  padding: 0.7rem 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  background-color: #42b0a3;
  color: white;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #006f77;
  transform: translateY(-3px);
}

button:active {
  transform: translateY(0);
}

/* Home button */
.home-button {
  display: block;
  margin: 1.5rem auto 0;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  background-color: #006f77;
  color: white;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.home-button:hover {
  background-color: #004d4f;
}
