html {
  font-family: 'Fira Sans', sans-serif;
  font-size: 20px;
  letter-spacing: 0.8px;
  min-height: 100vh;
  color: #f4e6d3;
  background-image: url("assets/cafePhoto.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

h1 {
  margin: 0 auto 10px auto;
  color: #f4e6d3;
  text-shadow: 2px 2px 4px rgba(62, 39, 35, 0.8);
  font-weight: 700;
}

p {
  margin: 0;
}

.app-message {
  height: 20px;
  margin: 10px auto 20px auto;
}

.app-container {
  width: 250px;
  min-height: 500px;
  height: auto;
  margin: 40px auto;
  text-align: center;
  border-radius: 15px;
  padding: 20px;
  background: rgba(62, 39, 35, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid #8B4513;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.app-circle {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 20px auto;
}

.circle-shape {
  pointer-events: none;
}

.semi-circle {
  position: absolute;
  width: 100px;
  height: 200px;
  box-sizing: border-box;
  border: 6px solid;
}

.left-side {
  top: 0;
  left: 0;
  border-right: none;
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
  transform-origin: right center;
  transform: rotate(0deg);
  z-index: 2;
}

.right-side {
  top: 0;
  left: 100px;
  border-left: none;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
  transform-origin: left center;
  transform: rotate(0deg);
  z-index: 2;
}

.circle {
  border-color: #D2691E;
}

.circle-mask {
  border-color: #8B4513;
}

.app-counter-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Droid Sans Mono', monospace;
  font-size: 2rem;
  color: #f4e6d3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin: 0;
}


/* Input styling */
.time-input-container {
  margin: 15px 0;
  text-align: center;
}

.time-input-container label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #f4e6d3;
  font-weight: 500;
}

.time-input {
  background: rgba(210, 180, 140, 0.2);
  border: 2px solid #8B4513;
  border-radius: 8px;
  padding: 8px 12px;
  color: #f4e6d3;
  font-size: 16px;
  width: 70px;
  text-align: center;
  transition: all 0.3s ease;
}

.time-input:focus {
  outline: none;
  border-color: #D2691E;
  background: rgba(210, 180, 140, 0.3);
  box-shadow: 0 0 10px rgba(210, 105, 30, 0.3);
}

.time-input::placeholder {
  color: #CD853F;
}

/* Button styling */
.button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;  /* Added margin for spacing */
}

button {
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #8B4513;
  background: rgba(139, 69, 19, 0.3);
  outline: none;
  color: #f4e6d3;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

button:hover {
  color: #FFF8DC;
  background: rgba(139, 69, 19, 0.5);
  border-color: #D2691E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

button:disabled:hover {
  color: #f4e6d3;
  background: rgba(139, 69, 19, 0.3);
  border-color: #8B4513;
  transform: none;
  box-shadow: none;
}

.btn-start {
  background: rgba(160, 82, 45, 0.4);
  border-color: #A0522D;
}

.btn-start:hover {
  background: rgba(160, 82, 45, 0.6);
  border-color: #CD853F;
}

.btn-pause {
  background: rgba(210, 105, 30, 0.4);
  border-color: #D2691E;
}

.btn-pause:hover {
  background: rgba(210, 105, 30, 0.6);
  border-color: #FF8C00;
}

.btn-reset {
  background: rgba(139, 69, 19, 0.4);
  border-color: #8B4513;
}

.btn-reset:hover {
  background: rgba(139, 69, 19, 0.6);
  border-color: #A0522D;
}

.progress-container {
  margin-top: 20px;
  font-size: 14px;
  color: #f4e6d3;
  text-align: left;
}

.unlocked-recipes {
  margin-top: 10px;
  font-size: 14px;  /* Adjust font size to fit better */
}

.unlocked-recipes h3 {
  margin: 5px 0;
  font-size: 16px;
  color: #FFE4C4;
}

.unlocked-recipes ul {
  list-style-type: disc;
  padding-left: 20px;
}

.unlocked-recipes li {
  margin-bottom: 4px;
  color: #FFF8DC;
}

.recipe-link {
  display: block;
  margin-top: 10px;
  color: #FFE4C4;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
  overflow-wrap: break-word; /* Prevent long text from overflowing */
}

.recipe-link:hover {
  color: #FFD700;
}
