body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#question {
    font-size: 20px;
    margin-bottom: 20px;
}

#options {
    margin-bottom: 20px;
    margin-right: 20px;
}

#answers {
    margin-bottom: 20px;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#buttons {
    text-align: right;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#back:disabled, #next:disabled {
    background-color: #cccccc; 
    color: #666666; 
    cursor: not-allowed;
}

#back:disabled:hover, #next:disabled:hover {
    background-color: #cccccc;
    color: #666666; 
}

#textInput {
    cursor: default; /* Remove cursor */
  }
  
.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite; /* CSS animation */
    display: none; /* Hide initially */
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.question-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}
.submit-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}
.response-container {
    margin-top: 20px;
}
.reference-list {
    list-style-type: none;
    padding: 0;
}
.reference-item {
    margin-bottom: 10px;
}
.reference-link {
    color: #007bff;
    text-decoration: none;
}


  
  