/* Základní styly kontejneru */
.eb-quiz-container {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Styly pro nadpisy */
.eb-quiz-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.eb-quiz-result-title,
.eb-quiz-answers-title,
.eb-quiz-stats-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Styly pro otázky a odpovědi */
.eb-quiz-question-container {
    margin-bottom: 30px;
}

.eb-quiz-question-number {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
}

.eb-quiz-question-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.eb-quiz-question-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.eb-quiz-answers-container {
    margin-bottom: 20px;
}

.eb-quiz-answer {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.eb-quiz-answer:hover {
    background-color: #f0f0f0;
}

.eb-quiz-answer.selected {
    background-color: #3498db;
    color: white;
    border-color: #2980b9;
}

/* Styly pro výsledky */
.eb-quiz-result {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.eb-quiz-score {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2492ff;
}

.eb-quiz-feedback {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}

.eb-quiz-feedback-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

.eb-quiz-question-review {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #3498db;
}

.eb-quiz-user-answer {
    margin-top: 5px;
}

.eb-quiz-user-answer.correct {
    color: #2ecc71;
    
}

.eb-quiz-user-answer.incorrect {
    color: #e74c3c;
    
}

.eb-quiz-correct-answer {
    color: #2ecc71;

    margin-top: 5px;
}

/* Styly pro tlačítka */
.eb-quiz-button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}


.eb-quiz-button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s;
    flex: 1 1 auto;
    min-width: 120px;
    max-width: 200px;
    background-color: #049aff;
    font-size:1rem;
}



.eb-quiz-button:hover {
    background-color: #058be5;
    color:white;   
    transition: all 0.5s;
}


.eb-quiz-restart-button {
    background-color: #e74c3c;
    color: white;
}

.eb-quiz-restart-button:hover {
    background-color: #c0392b;
}

.eb-quiz-share-facebook {
    background-color: #3b5998;
    color: white;
}

.eb-quiz-share-facebook:hover {
    background-color: #2d4373;
}

.eb-quiz-share-twitter {
    background-color: #1da1f2;
    color: white;
}

.eb-quiz-share-twitter:hover {
    background-color: #0c85d0;
}

/* Styly pro statistiky */
.eb-quiz-stats {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.eb-quiz-chart-container {
    width: 100%;
    height: 300px;
    margin-top: 20px;
}

.eb-quiz-stats-error {
    color: #e74c3c;
    font-style: italic;
    text-align: center;
    margin-top: 20px;
}

/* Responsivní design */
@media screen and (max-width: 600px) {
    .eb-quiz-container {
        padding: 15px;
    }

    .eb-quiz-title {
        font-size: 20px;
    }

    .eb-quiz-button-container {
        flex-direction: column;
    }

    .eb-quiz-button {
        max-width: none;
    }
}

/* Dodatečné styly pro vylepšení čitelnosti a konzistence */
.eb-quiz-stats-subtitle {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.eb-quiz-intro-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 4px;
}

.eb-quiz-start-button {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.eb-quiz-start-button:hover {
    background-color: #2980b9;
}

.eb-quiz-answer-input
{
    width: 1rem;
    height: 1rem;
    margin-right: 10px;

}

@media screen and (max-width: 600px) {
    .eb-quiz-answer-input {
 
        font-size: 42px;
        width: 20px;
        height: 20px;
        margin-right: 8px;
 
    }
  }


  @media screen and (max-width: 600px) {
    .eb-quiz-start-button {
 
    font-size: 2rem;
    width: 70%;
    padding: 20px;   
 
    }
  }

  @media screen and (max-width: 600px) {
    .eb-quiz-title {
 
        font-size: 2rem;
    
 
    }
  }

  @media screen and (max-width: 600px) {
    .eb-quiz-answer {
 
  font-size:1.3rem;
 
    }
  }
  
  
  @media screen and (max-width: 600px) {
    .eb-quiz-button {
 
  font-size:1.5rem;
 
    }
  }

  @media screen and (max-width: 600px) {
    .eb-quiz-question-text {
 
  font-size:1.5rem;
 
    }
  }


  @media screen and (max-width: 600px) {
    .eb-quiz-title {
 
  text-align: left;
 
    }
  }


  @media screen and (max-width: 600px) {
    p {
 
        font-size:1.2rem;
 
    }
  }


