@keyframes fade-slide-in {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.answering-form {
  margin-top: 3rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  animation: fade-slide-in 0.6s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.answering-form h2 {
  display: none !important;
}

.l-sidebar > fieldset.form-wrapper {
  display: none !important;
}

.answering-form .form-control:focus {
  box-shadow: none !important;
  border-color: #569b02;
}

@media only screen and (min-width: 767px) {
  .l-sidebar.has-aside {
    margin: 3rem auto;
    padding: 3rem;
    border-radius: 20px;
    max-width: 800px;
  }
}

@media only screen and (max-width: 767px) {
  .l-sidebar.has-aside {
    padding: 1.5rem 1rem;
    margin: 1rem;
  }
}

.l-sidebar.has-aside {
  background: linear-gradient(to bottom, #121212, #1e1e1e);
  color: #fff;
  text-align: center;
  padding-left: 3%;
  padding-right: 3%;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.l-sidebar.has-aside h1,
.l-sidebar.has-aside h2,
.l-sidebar.has-aside p,
.l-sidebar.has-aside th,
.l-sidebar.has-aside div {
  color: #fff;
}

.l-sidebar.has-aside .answering-form thead {
  display: none;
}

.l-sidebar.has-aside .answering-form tbody {
  width: 100%;
}

.l-sidebar.has-aside .answering-form tbody tr {
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: left;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1) inset;
  color: #fff;
  padding: 0.75rem 1rem;
  transition: background-color 0.2s ease-in-out;
  animation: fade-slide-in 0.5s ease-in-out;
  width: 100%;
}

.l-sidebar.has-aside .answering-form tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.l-sidebar.has-aside .answering-form tbody tr td {
  padding: 0 1rem;
  text-align: center;
}

#quiz-progress {
  color: transparent;
  width: 100%;
  margin-top: 0;
  display: none;
}

input[type="radio"] {
  accent-color: #569b02;
  transform: scale(1.5);
}

/* Estilos botones */
.answering-form input[type="submit"] {
  background-color: #569b02;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  border: none;
  /*font-size: 1rem;*/
  cursor: pointer;
  transition: background-color 0.3s ease;
  animation: fade-slide-in 0.6s ease-out;
  width: 190px;
}

.answering-form input[type="submit"]:hover {
  background-color: #3c6d00;
  color: #fff2eb;
}

/* Botones agrupados horizontalmente */
.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Otros botones */
.quiz-custom-result .quiz-retry-button .btn {
  background-color: #569b02;

  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  border: none;
  display: block;
  width: 100%;
  max-width: 210px;
  text-align: center;
  transition: background-color 0.3s ease;
  animation: fade-slide-in 0.6s ease-out;
      font-size: 0.75rem;
    margin: auto;
}

.quiz-custom-result .quiz-retry-button .btn:hover,
.btn.btn-primary.btn-lg:hover {
  background-color: #3c6d00;
  color: #fff2eb;
}

p.quiz-last-text {
  display: none;
}

.quiz-custom-result img {
  width: 100%;
  border-radius: 12px;
}

.answering-form table {
  margin-bottom: 2rem;
  width: 100%;
}

.answering-form input {
  height: auto !important;
}

.form-checkbox.form-control {
  height: 1.5rem;
}

.answering-form table p {
  margin-bottom: 0 !important;
}

.quiz-config-overview-table,
.quiz-custom-result {
  /*margin-top: 4rem;*/
}

.l-sidebar.has-aside > :first-child {
  width: 100%;
  text-align: center;
}

.l-sidebar h1 {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  animation: fade-slide-in 0.6s ease-out;
}

section.meta {
  margin-top: 2rem;
  text-align: center;
}

section.meta h3 {
  font-style: italic;
  color: #ccc;
}

.answering-form > div > div:first-child {
  display: none !important;
}


#intro-modal p {
    color: white;
}

.l-content .site-name {
    left: 300px;
}


/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { 
	.l-content .site-name {
    display: none;
}
	
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) { 
	
	.l-content .site-name {
    left: 0;
}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) { 
	.l-content .site-name {
    left: 0;
}
	
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) { 
	
		.l-content .site-name {
    left: 0;
}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1190px) and (max-width: 1600px) { 
		.l-content .site-name {
    left: 110px;
}
		
}

