body {
    background: aliceblue;
    margin: 0;
}

a {
    text-decoration: none;
}


.user-courses {
    padding: 0 30px;
}

.user-courses .element {
    border-radius: 5px;
    border-style: outset;
    padding: 10px;
    background: white;
    overflow: auto;
    min-width: 500px;
}

#test-name {
    padding: 0 0 20px 40px;
}

.submit-button {
    visibility: visible;
    display: flex;
    justify-content: center;
}


.page-span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 2px ridge #ccc;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    margin-right: 10px;
}

.page-span:hover {
    background-color: #f0f0f0;
    color: #000;
    border-color: #888;
}

.page-span.answered {
    background-color: darkgray;
}

.page-span.unanswered {
    background-color: white;
}

.correct {
    background-color: lightgreen;
}

.incorrect {
    background-color: indianred;
}

.not-checked {
    background-color: white;
}

.ql-ui {
    display: none !important;
}

li[data-list="bullet"] {
    list-style-type: disc;
    list-style-position: inside;
}

li[data-list="ordered"] {
    list-style-type: decimal;
    list-style-position: inside;
}

.ql-align-justify{
    text-align: justify;
}
.ql-align-right{
    text-align: right;
}

.ql-align-center{
    text-align: center;
}

.ql-align-left{
    text-align: left;
}

.ql-size-small {
    font-size: 0.75em;
}

.ql-size-large {
    font-size: 1.5em;
}

.ql-size-huge {
    font-size: 2.5em;
}

.ql-font-monospace{
    font-family: monospace;
}

.ql-font-serif {
    font-family: serif;
}

blockquote {
    border-left: 4px solid #ccc;
    padding-left: 1em;
    margin-left: 0;
    color: #666;
    font-style: italic;
}


.element table {
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background-color: white;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.element th, .element td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    vertical-align: middle;
    text-align: center;
}

.element thead {
    font-weight: bold;
}

.element th {
    background-color: #f1f3f5;
    font-weight: 600;
    color: #495057;
}

.element tr:nth-child(even) td {
    background-color: #f9f9f9;
}

.element tr:hover td {
    background-color: #e7f1ff;
    transition: background-color 0.2s ease-in-out;
}

.element .user-settings-label {
    padding: 3px;
    border-style: solid;
    border-width: 1px;
}

.icon-edit i {
    color: gold;
}

.icon-remove i {
    color: darkred;
}

.icon-message i {
    color: wheat;
}

.element .change-pass {
    padding: 3px;
    border-style: solid;
    border-width: 1px;
}

.test-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}


.action-button {
    margin-left: auto;
}

.module-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.module-row span {
    padding-right: 7px;
}

.module-row span,
.test-row span,
.item-row span {
    font-weight: bold;
}

.test-attempt-button {
    visibility: visible;
    display: flex;
    justify-content: center;
    gap: 15px;
}


#editor {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    min-height: 200px;
    background-color: white;
    margin-bottom: 1rem;
}


.answer-edit {
    border-top: 1px solid;
    padding: 10px 0;
}

.answer-edit input[type="text"] {
    width: 100%;
}

.answers {
    display: flex;
    align-items: center;
    gap: 10px;
}

.answers-overview {
    display: flex;
    align-items: center;
    gap: 10px;
}

.answer-check-input {
    margin-bottom: 11px;
}

.answers label:hover {
    background-color: lightgrey;
}

.answers:hover label {
    background-color: lightgrey;
}


.alert {
    min-width: 500px;
}

.email-input {
    width: 100%;
}

.test-info-element {
    flex: 1;
    border: 1px solid darkblue;
    border-radius: 12px;
    padding: 20px;
    margin: 10px;
    text-align: center;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}


.test-info-element p {
    font-weight: bold;
}

@media (max-width: 500px) {
    .test-info-wrapper .element {
        flex-wrap: wrap;
    }

    .test-info-wrapper .test-info-element {
        flex: 1 1 100%;
    }
}

.test-summary {
    font-weight: bold;
    text-align: center;
}

.login-info p{
    text-align: justify;
}


