* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f5f5f5;
  display: grid;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; /* Más moderna */
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  align-items: center;
}

header {
  background-color: #333;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 10px 40px;
}

main {
  text-align: center;
  margin: 0 auto;
}

.header-title {
  color: #d4aa02;
  font-size: 30px;
  font-family: "Courier New", monospace;
}

footer {
  background-color: #333;
  font-family: "Courier New", monospace;
  color: #fff;
  padding: 10px;
  text-align: center;
}

.header-logo {
  width: 40px;
}

h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 300;
  color: #555;
}

.timer {
  text-align: center;
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-bottom: 30px;
}

#status {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#display {
  font-size: 3.5rem;
  font-weight: 200;
  color: #333;
  margin-bottom: 30px;
  font-family: "Courier New", monospace;
}

button {
  background: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  margin: 0 5px;
}

button:hover {
  background: #555;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.secondary {
  background: white;
  color: #333;
  border: 1px solid #ddd;
}

.secondary:hover {
  background: #f5f5f5;
}

.progress {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-bottom: 20px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
}

.dot.active {
  background: #333;
}

.stats {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.stat span {
  display: block;
}

.stat .number {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.stat .label {
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
}

.settings {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  display: none;
}

.settings.show {
  display: block;
}

.error {
  background-color: #ff000062;
  color: #800f0f;
  border-radius: 10px 10px 0 0;
  padding: 10px;
  display: none;
}

.show {
  display: block;
}

.settings h3 {
  margin-bottom: 20px;
  font-weight: 400;
  color: #333;
}

.inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 5px;
}

input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

input:focus {
  outline: none;
  border-color: #333;
}

.controls {
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 500px) {
  body {
    padding: 20px 15px;
  }

  #display {
    font-size: 2.8rem;
  }

  .inputs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  button {
    display: block;
    width: 100%;
    margin: 5px 0;
  }
}

.icon_sound {
  vertical-align: middle;
  cursor: pointer;
  padding: 8px;
  margin: 0 5px;
  width: 40px;
}

.type-session {
  display: block;
  margin-bottom: 20px;
  font-size: 20px;
  color: tomato;
  font-weight: bold;
}