#quizDRPCIV .intro,
#quizDRPCIV .restart,
#quizDRPCIV h2 {
  margin-top: 3%;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 96%;
  max-width: 1200px;
  height: auto;
  min-height: 70px !important;
}
.answer-list h2 {
  display: flex !important;
}
#quizDRPCIV {
  max-width: 1200px;
  margin: 0 auto;
  font-family: Tahoma, Verdana, Arial, Sans-serif;
  padding: 30px;
  position: relative;
  min-height: 800px;
  height: auto;
  overflow: visible;
  width: 96%;
}

#quizDRPCIV .intro {
  top: 20px;
  margin: auto;
  display: grid;
  font-weight: 700;
  max-width: 500px;
  text-align: center;
}

#quizDRPCIV .intro .btn {
  display: inline-block;
  cursor: pointer;
  padding: 15px;
  border-radius: 3px;
  margin: 30px auto;
}

#quizDRPCIV .quizInfo {
  padding: 5px 15px 2px;
  background-color: #fff;
  border-bottom: 1px solid #cbcbcb;
  box-shadow: 0 -4px 32px 0 #fefefe inset;
  color: #040404;
  font-size: 13px;
  line-height: 150%;
  margin: 5px auto 2px;
  min-height: 20px;
  font-weight: 500;
  text-align: center;
}

#quizDRPCIV .quizInfo ul {
  list-style: none;
  margin: 0;
}

#quizDRPCIV .quizInfo ul > li {
  display: inline-block;
  width: 18%;
  margin: 0px 7px;
  border-right: 1px solid #ddd;
}

#quizDRPCIV .quizInfo ul > li #intGresite,
#quizDRPCIV .quizInfo ul > li #intInitiale,
#quizDRPCIV .quizInfo ul > li #intTimp {
  height: auto;
  margin: 30px;
  width: auto;
}

#quizDRPCIV .quizInfo ul > li #intInitiale {
  color: #1789ea;
  font-weight: 700;
}

#quizDRPCIV .quizInfo ul > li #intCorecte,
#quizDRPCIV .quizInfo ul > li #intRamase {
  color: #42832e;
  font-weight: 700;
  height: auto;
  margin-right: 8px;
  width: auto;
}

#quizDRPCIV .quizInfo ul > li #intGresite {
  color: red;
  font-weight: 700;
}

#quizDRPCIV .quizInfo ul > li #intTimp #timpContor {
  font-size: 30px;
  vertical-align: super;
}

#quizDRPCIV .disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#quizDRPCIV .answered .feedback {
  visibility: visible;
  opacity: 1;
  margin-top: 1px;
}

#quizDRPCIV .active,
#quizDRPCIV .inactive {
  transition: left 1.5s ease-in-out;
}

#quizDRPCIV .active {
  display: block;
}

#quizDRPCIV .questionContentSus {
  text-align: center;
  font-size: 15px;
  width: 97%;
  border: 1px solid #ddd;
  padding: 14px 0;
  margin: auto;
}

#quizDRPCIV .intrebariRas {
  background: #fff;
}

#quizDRPCIV .next {
  border: 2px solid #999;
  width: 98%;
  margin: 0 auto;
}

#quizDRPCIV .Rgresit {
  color: red;
  font-weight: 700;
}

#quizDRPCIV .Rcorect {
  color: #318003;
  font-weight: 700;
}

#quizDRPCIV .intrebarea,
.Rintrebare {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

#quizDRPCIV .wrongAns,
.corect_answer {
  border-radius: 7px;
  margin-bottom: 2%;
  padding: 3%;
}

#quizDRPCIV .wrongAns {
  border-right: 1px solid #ea4335;
  box-shadow: 3px 0 5px 0 #ea4335 inset;
}

.corect_answer {
  border-right: 1px solid #34a853;
  box-shadow: 3px 0 5px 0 #34a853 inset;
}

#quizDRPCIV .restart {
  color: #4c4c4c;
  padding: 40px 0 50px;
  font-size: 18px;
  border-radius: 5px;
  margin-top: 15px;
  box-shadow: 0 20px 35px 0 #fefefe inset;
  width: 100%;
  line-height: 35px;
  display: contents;
}

#quizDRPCIV .arata,
#quizDRPCIV .btnRestart {
  color: #fff;
  cursor: pointer;
  filter: none;
  font-weight: 600;
  padding: 15px;
  text-shadow: none;
  font-size: 17px;
}

#quizDRPCIV .arata {
  background: #34a853;
  border: 1px solid #dadada;
  border-radius: 5px;
  margin: 10px auto;
  box-shadow: 1px 1px 1px #a7a7a7;
  line-height: 30px;
  height: 30px;
  width: 275px;
}

#quizDRPCIV .btnRestart {
  background: #4285f4;
  border: 1px solid #dadada;
  border-radius: 5px;
  margin: 0 auto;
  box-shadow: 1px 1px 1px #a7a7a7;
  line-height: 30px;
  height: 30px;
  width: 275px;
}

#quizDRPCIV .respins {
  color: red;
}

#quizDRPCIV #intCorecteEnd,
#quizDRPCIV .admis {
  color: #42832e;
}

#quizDRPCIV #intInitialeEnd {
  color: #1789ea;
}

#quizDRPCIV #intGresiteEnd {
  color: red;
}

#quizDRPCIV .answerLabel p::first-letter {
  color: #2e2e2e;
  font-weight: 700;
  line-height: 200%;
  text-transform: uppercase;
}
.explanation h2 {
  display: flex !important;
  width: 96% !important; 
  height: auto !important;
  min-height: auto !important;
  justify-content: normal !important;
}

#quizDRPCIV #catEx {
  margin: 0 auto;
  padding: 50px 0;
  text-align: center;
}
#langSelect {
  filter: none;
  float: none;
  height: 165px;
  text-shadow: none;
  outline: 0;
  cursor: pointer;
}

#quizDRPCIV #langSelect {
  background: url(https://chestionare-az.ro/wp-content/uploads/2025/03/buton-steag.webp)
    no-repeat center center;
  background-size: 170px 170px;
  height: 160px;
  background-color: #ffffff;
  background-blend-mode: multiply;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3),
    -4px -4px 8px rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease-in-out;
  border-radius: 50%;
  margin: 15px auto;
  border: 0;
  color: #000;
  font-size: 135%;
  font-weight: 700;
  padding: 0 70px;
  width: 160px;
}

#quizDRPCIV .startQuiz {
  margin: 30px auto;
  width: 175px;
  height: 30px;
  padding: 20px;
  line-height: 30px;
  border-radius: 5px;
  display: inline-block;
  background-color: #065693;
  border: solid 1px #065693;
  box-shadow: 0px 8px 8px -6px rgb(6, 86, 147);
  color: #ffffff;
  font-family: Arial;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  text-decoration: none;
  filter: none;
  float: none;
  text-shadow: none;
  outline: 0;
  cursor: pointer;
}

#quizDRPCIV .et-social-icon a {
  display: inline-block;
  position: relative;
  color: #fff;
  font-size: 24px;
  text-align: center;
  text-decoration: none;
  transition: color 0.3s ease 0s;
}

#quizDRPCIV .distribuie {
  background: #365899;
  border: 1px solid #dadada;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  filter: none;
  font-weight: 600;
  margin: 10px auto;
  padding: 15px;
  text-shadow: none;
  font-size: 17px;
  box-shadow: 1px 1px 1px #a7a7a7;
  line-height: 30px;
  height: 30px;
  width: 275px;
}

.divInceput #categoria input {
  display: inline-block;
  margin: 15px;
}

.divInceput {
  max-width: 1200px;
  margin: 0 auto !important;
  text-align: center;
}

.divInceput .intrebariAC {
  max-width: 97%;
  margin: 0 auto;
}

.divInceput .g-recaptcha {
  width: 304px;
  margin: 20px auto 0;
}
#skipLink {
  margin-bottom: 60px;
}
#captchaError {
  display: block;
  color: red;
  border: 1px solid #ff0404;
  padding: 10px;
  max-width: 280px;
  margin: 15px auto;
  background-color: #ff000021;
  border-radius: 5px;
}
#startQuizEmpty2,
.divInceput #startQuizEmpty {
  border-radius: 5px;
  height: 30px;
  line-height: 30px;
  color: #ffffff;
  font-family: Arial;
  width: 175px;
  font-size: 18px;
  font-weight: 300;
  padding: 20px;
  background-color: #065693;
  border: solid #065693 1px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  box-shadow: 0px 8px 8px -6px rgb(6, 86, 147);
  filter: none;
  float: none;
  height: 165px;
  text-shadow: none;
  outline: 0;
  cursor: pointer;
}
#limbaEx {
  text-align: center;
}
#divChestionar,
.divInceput,
.intro {
  position: relative;
  display: grid;
  text-align: center;
  font-size: 18px;
}

.paragrafAntet {
  box-shadow: 0px 8px 8px -6px rgba(0, 0, 0, 0.14);
  padding: 20px;
}

.infoP {
  max-width: 370px;
  margin: 0 auto;
  margin-bottom: 30px;
  font-weight: 100;
}

.alegeCat {
  padding: 15px;
  border: 1px solid #065693;
  border-radius: 33px;
  display: inline-block;
  margin-right: 10px;
  margin-top: 15px;
  color: #065693;
  font-weight: 600;
  line-height: 20px;
}

#categoria-a:checked + label {
  background: #065693;
  color: #fff;
}

#categoria-b:checked + label {
  background: #065693;
  color: #fff;
}

#categoria-c:checked + label {
  background: #065693;
  color: #fff;
}

#categoria-d:checked + label {
  background: #065693;
  color: #fff;
}

#categoria-e:checked + label {
  background: #065693;
  color: #fff;
}

#categoria-r:checked + label {
  background: #065693;
  color: #fff;
}
#categoria-tr:checked + label {
  background: #065693;
  color: #fff;
}

.examinareBox {
  border: 1px solid #ddd;
  max-width: 300px;
  margin: 0 auto;
  color: #065693;
  border-radius: 5px;
  padding: 0px;
}
.examCategoriText {
  padding: 20px;
  background-color: #ccc;
  margin: 0;
  font-weight: 700;
}
.examinareBox div {
  font-weight: 700;
  font-size: 30px;
  display: flex;
  min-height: 150px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
  text-align: center;
  max-width: fit-content;
}
#quizDRPCIV,
.divInceput {
  padding: 0 10px 30px;
}
.quiz-question.questionImg {
  display: -webkit-box;
  display: -ms-flexbox;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: flex; 
  align-items: flex-start; 
  justify-content: space-between;
}
.question-name {
  width: 100%;
  line-height: 1.3em;
  font-size: 30px;
  line-height: 1.5em;
  margin-bottom: 1rem;
  text-transform: none;
  text-align: center;
}
.answer-list {
  margin-bottom: 20px;
  flex: 0 0 95%;
  max-width: 95%;
  padding: 0;
  margin: 0 auto;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 1;
  max-width: 870px;
  padding-right: 30px;
  text-align: left;
  margin-top: 30px;
}
.answer {
  cursor: pointer;
  max-width: 98%;
  height: auto;
  min-height: 7em;
  border: 1px solid #c7c9d7;
  background-color: #fff;
  border-radius: 5px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  margin-bottom: 1.25rem;
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  -webkit-transition: 0s;
  transition: 0s;
  min-width: 450px;
}
.corect {
  border: 3px solid green;
}
.answer-v {
  font-size: 36px;
  font-weight: 600;
  color: #454e68;
  width: 90px;
  height: 100%;
  background-color: #dde0e8;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: 0s;
  transition: 0s;
}
.answer-title {
  margin-left: 100px;
  -webkit-line-clamp: 7;
  line-height: 1.5em;
  font-weight: 400;
  color: #454e68;
  text-align: left !important;
  padding-right: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  width: 100%;
  font-size: 19px;
  justify-content: normal !important;
}
.answer-list .answer.checked {
  -webkit-box-shadow: inset 0px 7px 7px 0px rgba(198, 152, 9, 0.37);
  box-shadow: inset 0px 7px 7px 0px rgba(198, 152, 9, 0.37);
  background-color: #fee38c;
}

.answer-list .answer.checked .answer-v {
  -webkit-box-shadow: inset 0px 7px 7px 0px rgba(198, 152, 9, 0.37);
  box-shadow: inset 0px 7px 7px 0px rgba(198, 152, 9, 0.37);
  background-color: #f9cb3c;
}
.answer-button {
  margin-top: 3%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-top: 2px solid #d6dae4;
  border-bottom: 2px solid #d6dae4;
  padding: 0 15px;
  width: 96%;
  max-width: 1200px;
  height: auto;
  min-height: 120px;
}
.startQuizEmpty {
  margin: 30px auto;
  width: 175px;
  height: 30px;
  padding: 20px;
  line-height: 30px;
  border-radius: 5px;
  display: inline-block;
  background-color: #065693;
  border: solid 1px #065693;
  box-shadow: 0px 8px 8px -6px rgb(6, 86, 147);
  color: #ffffff;
  font-family: Arial;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  text-decoration: none;
  filter: none;
  float: none;
  text-shadow: none;
  outline: 0;
  cursor: pointer;
}
.btn {
  display: inline-block;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Fira Sans", sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  -webkit-transition: 0s;
}
.btn-later {
  color: #454e68;
  border: 1px solid #d6dae4;
  border-radius: 5px;
  background-color: #fff;
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  padding: 25px 40px;
  margin: 0 10px;
}

.btn.btn-later i {
  font-size: 18px;
  margin-right: 4px;
}
.btn i,
.btn span {
  display: inline-block;
  vertical-align: middle;
}
.reload-icon {
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.reload-icon:hover {
  transform: rotate(360deg);
}
.btn-later:disabled,
.btn-send:disabled,
.btn-change:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}
.btn-change {
  border: 1px solid #d6dae4;
  border-radius: 5px;
  background-color: #fff;
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  padding: 25px 40px;
  margin: 0 10px;
  color: #a52525;
  text-transform: uppercase;
}
.btn-change span {
  color: #a52525;
  text-transform: uppercase;
}

.btn.btn-change i {
  font-size: 18px;
  margin-right: 4px;
  color: #a52525;
}

.fa-circle-xmark {
  font-size: 24px;
  color: a52525;
  cursor: pointer;
}
.btn-send {
  border: 1px solid #d6dae4;
  border-radius: 5px;
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  padding: 25px 40px;
  margin: 0 10px;
  color: #fff;
  text-transform: uppercase;
  background-color: #59b359;
  border-color: #59b359;
}

.fa.fa-check-circle {
  font-size: 18px;
  color: #ffffff;
  cursor: pointer;
}

.btn-send span {
  color: #fff;
}
#question-number {
  text-align: center;
  font-size: 21px;
  width: 100%;
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
  margin: 4% auto 0;
}
.question-image {
  flex: 1;
  max-width: 50%;
  text-align: right;
  padding-left: 30px;
  object-fit: contain;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.question-image img {
  max-width: 100%;
  -webkit-box-shadow: 0 14px 13px -9px rgba(69, 78, 104, 0.8);
  box-shadow: 0 14px 13px -9px rgba(69, 78, 104, 0.8);
  display: block;
  margin-left: auto;
  margin-right: 0;
  height: auto;
}
.initial-questions {
  border-right: 1px solid #ccc;
  padding: 5px;
}
.ramase-questions {
  border-right: 1px solid #ccc;
  padding: 5px;
}
.corecte-answers {
  border-left: 1px solid #ccc;
  padding: 5px;
}
.gresite-answers {
  border-left: 1px solid #ccc;
  padding: 5px;
}
#showExamResults {
  text-align: center;
  padding: 70px 0;
  margin: 0 auto;
}
.explanation {
  margin-top: 3%;
  padding: 0 15px;
  width: 96%;
  max-width: 1200px;
  margin-bottom: 2%;
  text-align: left;
}
.user-answer {
  font-size: 17px;
  font-weight: 600;
  margin: 15px 0;
}
.incorrect {
  color: red;
  font-size: 17px;
  font-weight: 500;
  margin: 15px 0;
}
.correct {
  color: green;
  font-size: 17px;
  font-weight: 500;
  margin: 15px 0;
}

.finalButton {
  margin-top: 3%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 96%;
  max-width: 1200px;
  height: auto;
  min-height: 120px;
}
.butoaneNav {
  margin-top: 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 96%;
  max-width: 1200px;
  height: auto;
  margin-bottom: 3%;
  border-bottom: 2px solid #d6dae4;
  min-height: 95px;
}
#prevResponse i,
#nextResponse i {
  margin: 0 5px;
  font-size: 40px;
}

#showExamResults .linkTito {
  display: block;
  margin: 70px auto;
  max-width: 300px;
  height: auto;
}
.declaratRespins {
  color: #a52525;
  font-size: 30px;
  font-weight: 600;
  padding: 30px;
  line-height: 40px;
}
.declaratRespins i {
  color: #a52525;
  font-size: 50px;
  font-weight: 600;
}
.declaratRespins p {
  font-size: 30px !important;
}
.declaratAdmis {
  color: #59b359;
  font-size: 30px;
  font-weight: 600;
  padding: 30px;
  line-height: 40px;
}
.declaratAdmis i {
  color: #59b359 !important;
  font-size: 50px !important;
}
.declaratAdmis p {
  font-size: 30px !important;
}
#userResponsesSummary {
  margin-top: 3%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 96%;
  max-width: 1200px;
  height: auto;
  min-height: 120px;
}
#showExamResults #showSummary {
  border: 1px solid #d6dae4;
  border-radius: 5px;
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  padding: 25px 60px;
  margin: 0 10px;
  color: #fff;
  text-transform: uppercase;
  background-color: #0b50c1;
  border-color: #0b50c1;
}
#prevResponse,
#nextResponse {
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  color: #0b50c1;
  background-color: #fff;
  border-color: #0b50c1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6dae4;
  border-radius: 5px;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  padding: 25px 15px;
  margin: 0 15px;
  flex: none;
}


#showExamResults #restartExam {
  border: 1px solid #d6dae4;
  border-radius: 5px;
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  padding: 25px 40px;
  margin: 0 10px;
  color: #fff;
  text-transform: uppercase;
  background-color: #59b359;
  border-color: #59b359;
}
.rezultate {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px auto;
  min-height: 40px;
}

.rezultate p {
  margin: 0 15px;
  font-size: 20px;
  font-weight: 600;
}
@media (max-width: 991px) {
  .btn-later,
  .btn-change,
  .btn-send {
    width: 100%;
    font-size: 12px;
    max-height: 70px;
  }
  .quiz-question.questionImg {
    flex-direction: column;
  }
  .quiz-question.questionImg .question-image {
    order: 0; 
  }
  .quiz-question.questionImg .answer-list {
    order: 1; 
  }
  .question-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; 
    margin-bottom: 20px; 
    max-width: 450px;
    padding-left: 0;
    margin: auto;
  }
  .question-image img {
    width: 100%;
    height: auto;
    margin: 0;
  }
  .answer-list {
    padding-right: 0;
  }
  .answer-button {
    height: auto;
    padding: 15px;
    justify-content: center;
    max-width: 93%;
    margin: 0 auto;
    text-align: center;
    background-color: transparent;
    gap: 15px;
    width: 100%;
  }
  .btn-later,
  .btn-change,
  .btn-send {
    width: 100%;
    max-width: 250px;
    font-size: 12px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    min-height: 70px;
  }
}
@media (max-width: 768px) {
  #quizDRPCIV {
    min-height: 100vh;
    height: auto;
    padding: 15px;
  }

  .question-image {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    padding-left: 0;
    margin: 0 0 20px 0;
  }

  .answer-button {
    height: auto;
    padding: 15px;
    justify-content: center;
    max-width: 93%;
    margin: 0 auto;
    text-align: center;
    gap: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    min-height: auto;
    max-height: fit-content;
  }

  .answer {
    min-width: 280px;
    width: 100%;
    max-width: 98%;
    min-height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    height: auto;
  }

  .answer-list {
    margin: 0 auto;
    text-align: center;
    min-height: 600px;
    margin-bottom: 120px;
  }

  .answer-title {
    font-size: 14px;
    margin-left: 85px;
  }
  .answer-v {
    font-size: 30px;
    width: 75px;
  }
  .question-name {
    max-width: 100%;
    margin: 3% auto;
    text-align: center;
    font-size: 24px;
  }
  .finalButton{
    height: auto;
    justify-content: center;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    background-color: transparent;
    gap: 15px;
    width: 100%;
    min-height: 120px;
  }
  .butoaneNav {
    height: auto;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    gap: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    min-height: 95px;
    max-height: fit-content;
    border-top: 1px solid #ccc;
  }
  .btn {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 5px auto;
    text-align: center;
  }
  #showSummary,
  #restartExam {
    width: 100%;
    max-width: 250px;
    font-size: 12px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    min-height: 70px;
  }
  #prevResponse,
  #nextResponse {
    width: 100%;
    max-width: 90px;
    box-sizing: border-box;
    margin: 0 10px;
    padding: 10px;
    min-height: 65px;
    flex: none;
  }
  

  .declaratRespins {
    font-size: 20px;
    padding: 20px;
    line-height: 30px;
  }
  .declaratRespins i {
    font-size: 30px;
  }
  .declaratRespins p {
    font-size: 25px !important;
  }
  .declaratAdmis {
    font-size: 20px;
    padding: 20px;
    line-height: 30px;
  }
  .declaratAdmis i {
    font-size: 30px !important;
  }
  .declaratAdmis p {
    font-size: 25px !important;
  }
  .rezultate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0 0 15px auto;
  }

  .rezultate p {
    margin: 0 10px;
    font-size: 15px;
    font-weight: 700;
  }
  .divInceput {
    padding: 0 10px;
  }
}
@media (max-width: 540px) {
  #showSummary {
    min-height: 95px;
    width: auto;
    padding: 25px 40px !important;
  }
  #restartExam {
    min-height: 95px;
    width: auto;
    padding: 25px 40px !important;
  }
}
.progresDiv-content {
  max-width: 1200px;
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ccc;
}
.initial-questions,
.ramase-questions,
.corecte-answers {
  border-right: 1px solid #ccc;
}
.corecte-answers {
  border-left: 1px solid #ccc;
}
div#timp {
  order: 3;
  font-size: 30px;
  font-weight: 600;
}
div#corecte {
  order: 4;
}
div#ramase {
  order: 2;
}
div#initial {
  order: 1;
}
div#gresite {
  order: 5;
}

.progresDiv {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
}

.progresDiv-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 100%;
}
.timp-ramas div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #fff;
  margin: auto;
}
.initial-questions,
.ramase-questions,
.corecte-answers,
.gresite-answers {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #fff;
}
.progresDiv .progresDiv-content .corecte-answers span {
  color: #3fbf44;
}
.progresDiv .progresDiv-content .gresite-answers span {
  color: #a52525;
}
@media (max-width: 359px) {
  .initial-questions,
  .ramase-questions,
  .corecte-answers,
  .gresite-answers {
    width: 71px !important;
    font-size: 12px !important;
  }
}
@media (min-width: 360px) and (max-width: 374px) {
  .initial-questions,
  .ramase-questions,
  .corecte-answers,
  .gresite-answers {
    width: 75px !important;
    font-size: 13px !important;
  }
  .timp-ramas div {
    font-size: 25px !important;
    width: 100% !important;
    margin: 10px auto;
  }
}
@media (min-width: 375px) and (max-width: 389px) {
  .initial-questions,
  .ramase-questions,
  .corecte-answers,
  .gresite-answers {
    width: 75px !important;
    font-size: 12px !important;
  }
}
@media (min-width: 390px) and (max-width: 429px) {
  .initial-questions,
  .ramase-questions,
  .corecte-answers,
  .gresite-answers {
    width: 75px !important;
    font-size: 13px !important;
    padding: 0 3px !important;
  }
}
@media (min-width: 430px) and (max-width: 469px) {
  .initial-questions,
  .ramase-questions,
  .corecte-answers,
  .gresite-answers {
    width: 92px !important;
    font-size: 15px !important;
  }
}
@media (min-width: 470px) and (max-width: 574px) {
  .initial-questions,
  .ramase-questions,
  .corecte-answers,
  .gresite-answers {
    width: 100px !important;
    font-size: 15px !important;
  }
}
@media (min-width: 575px) and (max-width: 639px) {
  .initial-questions,
  .ramase-questions,
  .corecte-answers,
  .gresite-answers {
    width: 130px !important;
    font-size: 15px !important;
  }
}
@media (max-width: 640px) {
  .corecte-answers {
    border-left: none;
  }
  div#timp {
    order: 1;
    width: 100%;
  }
  .timp-ramas div {
    font-size: 25px !important;
    width: 100% !important;
    margin: 10px auto;
  }
  div#corecte {
    order: 4;
  }
  div#ramase {
    order: 3;
  }
  div#initial {
    order: 2;
  }
  div#gresite {
    order: 5;
  }

  .initial-questions,
  .ramase-questions,
  .corecte-answers,
  .gresite-answers {
    text-align: center;
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .initial-questions,
  .ramase-questions,
  .corecte-answers,
  .gresite-answers {
    text-align: center;
    padding: 0;
    width: 120px;
    font-size: 18px;
  }
}
.loader {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #065693; 
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
#quizDRPCIV {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  width: 96%;
}

#quizDRPCIV > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

#quizDRPCIV > div.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.image-container img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.ad-slot {
  min-height: 250px; 
}

.lazy-load-placeholder {
  width: 100%;
  height: 300px;
  background-color: #f3f3f3;
}
/* Aspect ratio doar pentru imaginile din întrebări */
.question-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

/* Reclama păstrează aspect ratio natural */
.linkTito {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* === WEB VITALS 2025 CLS OPTIMIZATION === */

/* Stabilitate pentru textul întrebării (lungime variabilă) */
.question-name {
  min-height: 80px;
}

/* Container imagini cu spațiu rezervat */
.question-image {
  min-height: 250px;
}

/* Când nu există imagine, container se micșorează natural */
.question-image:empty {
  min-height: 0;
}

/* Stabilitate pentru explicații (conținut variabil) */
.explanation {
  min-height: 60px;
}

/* Feedback utilizator stabil */
.user-answer {
  min-height: 30px;
}

/* Rezultate finale stabile */
#showExamResults {
  min-height: 300px;
}

/* Rezumatul răspunsurilor stabil */
#userResponsesSummary {
  min-height: 200px;
}

/* Container pentru butoanele de navigare */
.butoaneNav {
  min-height: 80px;
}

/* Progres bar stabil */
.progresDiv {
  min-height: 90px;
}

/* Container pentru rezultate */
.rezultate {
  min-height: 50px;
}

/* === STABILIZARE PENTRU RESTART CHESTIONAR === */

/* Stabilizare span-uri din progress bar */
.progresDiv-content span {
  min-width: 30px;
  display: inline-block;
  text-align: center;
}

/* Stabilizare pentru textele răspunsurilor */
.answer-title {
  min-height: 60px;
  transition: opacity 0.2s ease;
}

/* Stabilizare pentru textul întrebării la restart */
#examDiv .question-name {
  min-height: 100px;
  transition: opacity 0.2s ease;
}

/* Stabilizare pentru imaginile întrebărilor la restart */
#examDiv .question-image {
  min-height: 300px;
  transition: opacity 0.2s ease;
}

/* Smooth transition pentru schimbarea conținutului */
#examDiv .question-image:empty {
  min-height: 0;
  transition: min-height 0.3s ease;
}
/* === FULLSCREEN FUNCTIONALITY === */
.quiz-container {
  position: relative;
  background-color: #ffffff;
}

.fullscreen-btn {
  position: absolute;
  top: max(8px, env(safe-area-inset-top));
  right: max(8px, env(safe-area-inset-right));
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 1000;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.fullscreen-btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Fullscreen mode */
.quiz-container.fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 999999 !important;
  background: #ffffff !important;
  padding-top: env(safe-area-inset-top) !important;
  padding-bottom: env(safe-area-inset-bottom) !important;
  overflow-y: auto !important;
}

.quiz-container.fullscreen #quiz-wrapper {
  height: 100vh !important;
  min-height: 100vh !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Reset explicit la ieșirea din fullscreen */
.quiz-container:not(.fullscreen) {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  transition: none !important;
}

/* iOS fullscreen fixes */
body.is-fullscreen {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

@media (max-width: 768px) {
  .fullscreen-btn {
    top: max(6px, env(safe-area-inset-top));
    right: max(6px, env(safe-area-inset-right));
    padding: 10px 14px;
    font-size: 12px;
    min-height: 40px;
  }
}
