def style(): css = """ .submit-btn { padding: 10px 20px; color: #333; background-color: #face00; border: 1px solid #ddd; border-radius: 5px; margin-top: 20px; cursor: pointer; transition: all 0.3s ease; } .submit-btn.disabled { background-color: #cccccc; color: #666666; cursor: not-allowed; opacity: 0.7; } .validation-alert { background-color: #ffdddd; color: #990000; padding: 10px; margin-bottom: 15px; border-radius: 5px; font-weight: bold; text-align: center; animation: fadeIn 0.5s; } .invalid-question { border: 2px solid #ff0000; padding: 10px; border-radius: 5px; margin-bottom: 10px; } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } #result { display: none; margin: 0; padding-left: 20px; padding-bottom: 20px; color: #000000; background-color: darkviolet } input[type="text"] { width: 100%; padding: 10px; color: #333333; border-radius: 5px; } #quiz-answers { margin-top: 30px; padding: 20px; background-color: #dfdfdf; border: 1px solid #ddd; border-radius: 5px; } #quiz-answers summary { display: inline-block; padding-bottom: 5px; cursor: pointer; } #quiz-answers summary, #quiz-answers h2 { color: #383838; } .answers-container { display: flex; flex-direction: column; gap: 20px; } .answer-item { padding: 15px; background-color: #e1ece4; border: 2px solid lightgreen; border-radius: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .answer-item h3 { margin-top: 0; color: #333; font-size: 18px; } .answer-item p { margin-bottom: 0; color: #009214; font-size: 16px; font-weight: 500; } .answer-item p strong { color: #1636d5; } """ js = """ """ return css, js