.attenuation {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 1080px;
  margin: 3rem auto;
  transition: transform 0.3s ease;
}

.attenuation:hover {
  transform: translateY(-4px);
}

.attenuation h2 {
  text-align: center;
  color: #00588f;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  display: block;
  text-align: center;
}

input[type="number"],
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #ccc;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  box-sizing: border-box;
}

input[type="number"]:focus,
select:focus {
  border-color: #fd8301;
  box-shadow: 0 0 0 4px rgba(253, 131, 1, 0.15);
  outline: none;
}

hr.separator {
  border: none;
  border-top: 2px dashed #ccc;
  margin: 2rem 0;
}

.results {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  font-family: 'Poppins', sans-serif;
}

.results p {
  margin: 0;
  font-size: 1.2rem;
  color: #00588f;
}

.remark {
  max-width: 900px;
  margin: 2rem auto 4rem;
  padding: 1.5rem 2rem;
  background-color: #fff8f2;
  border-left: 5px solid #fd8301;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  font-family: 'Inter', sans-serif;
}

.remark p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
}

.remark-images {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.explanation {
  max-width: 900px;
  margin: 3rem auto 4rem;
  padding: 1.5rem 2rem;
  background-color: #ffffff;
  border-left: 6px solid #fd8301;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.explanation h3 {
  font-family: 'Poppins', sans-serif;
  color: #00588f;
  margin-top: 0;
  font-size: 1.4rem;
}

.explanation p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.zoom-container img {
  max-width: 300px;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.zoom-container {
  position: relative;
  display: inline-block;
  max-width: 300px;
}

.zoom-icon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  color: white;
  background: #fd8301;
  padding: 0.4rem;
  border-radius: 50%;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
}

.zoom-container:hover .zoom-icon {
  opacity: 1;
}

.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.zoom-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 1rem;
}

@media (max-width: 700px) {
  .results {
    flex-direction: column;
    gap: 1rem;
  }

  .remark-images {
    flex-direction: column;
    align-items: center;
  }

  .zoom-container img {
    max-width: 100%;
  }
}

.logout-button {
  background-color: #00588f;
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
  height: 100%;
}

.logout-button:hover {
  background-color: #e56f00;
  transform: translateY(-1px);
}