/* Reset + base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
  background: #f6f7f9;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navigation */
header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  padding: 10px;
}

nav {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #0077FF;
}

/* Main widget container */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.widget-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  min-width: 320px;
}

/* Display / clock */
#timerDisplay,
#display,
#currentTime {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 20px 0;
}

/* Inputs */
input[type="number"],
input[type="time"] {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Buttons */
button {
  padding: 10px 18px;
  margin: 8px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  background: #0077ff;
  color: white;
  transition: background 0.2s;
}

button:hover {
  background: #005fd1;
}

/* Ads container */
.ad-container {
  margin-top: 25px;
  text-align: center;
  width: 100%;
}
