.eye-test-wrapper {
  --color-dark: #14231C;
  --color-accent: #EF4A3D;
  --color-light: #FFFDF7;
  font-family: inherit;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  box-sizing: border-box;
}

.eye-test-wrapper * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.eye-test-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.test-card {
  background-color: var(--color-light);
  border-radius: 24px;
  padding: 50px;
  text-align: center;
  color: var(--color-dark);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  min-height: 615px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  gap: 20px;
}

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

.dot {
  width: 24px;
  height: 4px;
  background-color: #E2DACD;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: var(--color-accent);
}

#custom-eye-test .slide-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--color-dark);
}

.slide-instructions {
  max-width: 80%;
  margin: 20px auto;
  line-height: 1.4;
}

.slide-instructions strong {
  color: var(--color-dark);
}

.slide-content {
  flex: 1;
  display: none;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.slide-content.active {
  display: flex;
}

.snellen-chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  user-select: none;
}

.snellen-line {
  font-weight: 900;
  letter-spacing: 0.3em;
  cursor: pointer;
  padding: 2px 5px;
  transition: background-color 0.2s;
  line-height: 1.1;
  
}

.line-1 { font-size: 4.5rem; }
.line-2 { font-size: 2.5rem; }
.line-3 { font-size: 1.5rem; }
.line-4 { font-size: 1.0rem; }
.line-5 { font-size: 0.8rem; }
.line-6 { font-size: 0.65rem; }
.line-7 { font-size: 0.5rem; }

.duochrome-box {
  display: flex;
  width: 100%;
  max-width: 400px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

.duochrome-half {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-weight: bold;
  color: #000;
}

.duochrome-red { background-color: #FF4D4D; }
.duochrome-green { background-color: #2ECC71; }

.astigmatism-wheel {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  background: repeating-conic-gradient(
    var(--color-dark) 0deg 1deg,
    transparent 1deg 15deg
  );
  margin-bottom: 15px;
}

.options-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}

#custom-eye-test .btn-option {
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

#custom-eye-test .btn-nav {
  padding: 8px 15px;
  border-radius: 150px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}

#custom-eye-test .btn-option,
#custom-eye-test .btn-nav {
  background-color: transparent;
  border: 1px solid var(--color-dark);
  color: var(--color-dark);
}

#custom-eye-test .btn-option:hover,
#custom-eye-test .btn-nav:hover {
  background-color: var(--color-dark);
  color: var(--color-light);
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}


#custom-eye-test .btn-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

#custom-eye-test .elementor-button {
  padding: 12px 24px;
}

.disclaimer-card {
  background-color: var(--color-light);
  border-radius: 16px;
  padding: 20px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.75rem;
  line-height: 1.3;
}

.disclaimer-icon {
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .test-card {
    padding: 20px;
    min-height: 420px;
  }
  .disclaimer-card {
    padding: 20px;
  }
  #custom-eye-test  .slide-title { 
    font-size: 1.4rem; 
  }

  .slide-instructions { 
    max-width: 95%;
  }

  .line-1 { 
    font-size: 1.8rem; 
  }
  .line-2 { 
    font-size: 1.4rem; 
  }
  .line-3 { 
    font-size: 1.1rem; 
  }
  .line-4 { 
    font-size: 0.9rem; 
  }
  .line-5 { 
    font-size: 0.75rem; 
  }
  .line-6 { 
    font-size: 0.6rem; 
  }
  .line-7 { 
    font-size: 0.45rem; 
  }
}