/* Style dla formularza i wyników */
.simple-quiz-form, .simple-quiz-results {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    background: #f9f9f9;
}

.sq-question, .sq-result-question {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sq-question p, .sq-result-question p {
    font-weight: bold;
    margin-bottom: 10px;
}

.sq-answers label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
}

.sq-email-field {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.sq-email-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.sq-email-field input[type="email"] {
    width: 100%;
    padding: 8px;
}

.simple-quiz-form .sq-submit-button {
    margin-top: 30px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

@media only screen and (max-width: 680px) {
    .simple-quiz-form .sq-submit-button {
    margin-top: 30px;
    padding: 20px 10px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}
} 

.sq-notice.sq-error {
    border-left: 4px solid #dc3545; /* Red */
    background-color: #f8d7da;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.sq-results-summary {
    text-align: center;
    font-size: 1.2em;
    padding: 20px;
    background-color: #e9f5ff;
    border: 1px solid #b3d7f1;
    border-radius: 5px;
    margin-bottom: 20px;
}

.sq-result-answer {
    display: block;
    padding: 8px;
    margin: 5px 0;
    border-radius: 3px;
    border-left: 5px solid transparent;
}

.sq-result-answer.correct {
    background-color: #d4edda; /* Green */
    border-left-color: #28a745;
    font-weight: bold;
}

.sq-result-answer.user-incorrect {
    background-color: #f8d7da; /* Red */
    border-left-color: #dc3545;
    text-decoration: line-through;
}

.sq-result-answer.user-choice::before {
    content: '➔ ';
    font-weight: bold;
    margin-right: 5px;
}

.sq-results-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 2em;
  margin: 4% 0;
}
.sq-results-actions .sq-submit-button {
  padding: 1em;
  background-color: #35405d;
  color: #ffffff;
  border-radius: 5px;
  border: 1px solid #ffffff; 
}
.sq-results-actions .sq-submit-button:hover {
  background-color: #ffffff;
  border: 1px solid #35405d;
  color: #35405d;
}