body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #fff7e6; /* cor mais próxima de massa frita */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #333;
}
.container {
  background-color: #fff2cc;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 30px;
  text-align: center;
  width: 90%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
h1 {
  color: #8b4513;
  margin-bottom: 25px;
  font-size: 2.8em;
}
h2 {
  color: #a0522d;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.8em;
  border-bottom: 2px solid #deb887;
  padding-bottom: 10px;
}
.section {
  background-color: #f8f9fa;
  border: 1px solid #441f0e;
  border-radius: 10px;
  padding: 25px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
}
#ingredients-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
#ingredients-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #ced4da;
  font-size: 1.1em;
  color: #555;
}
#ingredients-list li:last-child {
  border-bottom: none;
}

.step-display {
  background-color: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.step-number {
  font-size: 1.5em;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 10px;
}
.step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.step-text {
  font-size: 1.2em;
  line-height: 1.6;
  color: #333;
  text-align: center;
}
.step-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.timer-display {
  font-family: "monospace";
  font-size: 2.5em;
  font-weight: bold;
  color: #e74c3c;
  background-color: #ffe0b2;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: none;
}
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1.1em;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  color: #495057;
}
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}
.checkbox-container input:checked ~ .checkmark {
  background-color: #28a745;
  border-color: #28a745;
}
.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}
.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}
.checkbox-container .checkmark::after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.navigation-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.action-button {
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.1s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.action-button.primary {
  background-color: #007bff;
  color: white;
}
.action-button.primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.25);
}
.action-button.secondary {
  background-color: #6c757d;
  color: white;
}
.action-button.secondary:hover {
  background-color: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(108, 117, 125, 0.25);
}
.action-button.restart-button {
  background-color: #c5942a;
  color: white;
}
.action-button:disabled {
  background-color: #a0a0a0;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.modal{
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}
.modal-content{
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    text-align: center;
}
.modal-content p{
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #333;
}
.modal-content .action-button{
    background-color: #007bff;
    color: white;
    padding: 8px 20px;
    font-size: 1em;
    max-width: 100px;
    margin: 0 auto;
}
@media (max-width: 768px){
    .container{
        padding: 15px;
        width: 95%;
        gap: 20px;
    }
    h1{
        font-size: 2.2em;
    }
    h2{
        font-size: 1.6em;
    }
    .section{
        padding: 15px;
    }
    .step-number{
        font-size: 1.3em;
    }
    .step-text{
        font-size: 1em;
    }
    .timer-display{
        font-size: 2em;
        padding: 8px 15px;
    }
    .checkbox-container{
        font-size: 1em;
        padding-left: 30px;
    }
    .checkmark{
        height: 22px;
        width: 22px;
    }
    .checkmark:after{
        left: 8px;
        top: 4px;
        width: 4px;
        height: 8px;
    }
    .navigation-buttons{
        flex-direction:column;
        gap: 10px;
    }
    .action-button{
        width: 100%;
        padding: 10px 15px;
        font-size: 1em;
    }
    .modal-content{
        padding: 20px;
        width: 90%;
    }
}