/* General Reset */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 600px;
  margin: auto;
  margin-top: 50px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

h1 {
  margin-bottom: 10px;
  color: #4a47a3;
}

p {
  margin-bottom: 20px;
  color: #555;
}

/* Form */
.form-box {
  margin: 20px 0;
}

input[type="date"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

button {
  padding: 12px 20px;
  margin-left: 10px;
  background: #4a47a3;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #372f80;
}

/* Result Box */
.result-box {
  margin-top: 20px;
  padding: 20px;
  background: #f9f9ff;
  border-radius: 10px;
  font-size: 18px;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  margin-top: auto;
  background: #222;
  color: #bbb;
  font-size: 14px;
  border-top: 2px solid #444;
}

/* Responsive */
@media (max-width: 768px) {
  .container { margin: 20px; padding: 20px; }
  input[type="date"] { width: 100%; margin-bottom: 10px; }
  button { width: 100%; margin: 5px 0; }
}