/* pedagogy.css */

/* Basic styling for the chat interface */

#chatbox1{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

#messages {
    border: 1px solid #ccc;
    padding: 10px;
    height: 400px;
    overflow-y: scroll;
    background-color: azure;
    height: calc(100% - 50px);
}

.message {
    margin-bottom: 10px;
    padding: 0px;
    border-radius: 5px;
}

.user {
    text-align: right;
    background-color: #e0f7fa;
}

.assistant {
    text-align: left;
    background-color: #f1f8e9;
    border: #dff1ab;
    border-radius: 3;
    border-color: #e0f7fa;
    border-width: 1px;
    border-style: solid;
    padding: 5px;
}

#inputArea {
    margin-top: 10px;
}

#userInput {
    width: calc(100% - 60px);
}

#sendButton {
    width: 50px;
}

#parameterSelection {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-top: 10px;
}

.checkbox-group {
    margin-left: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 5px;
}
.thecheckbox-item{
    border-radius: 3px;
    border-color: #ccc;
    border-width: 1px;
    border-style: solid;
    width: 300px;
    height: fit-content;
    padding: 5px;
    background-color: blanchedalmond;
}

.theexpplanationContainer{
    padding: 20px;
    width: 100%;
    background-color:azure;
    max-height: 300px;
    overflow-y: auto;
}

button {
    margin-top: 10px;
}

#analysisContainer {
    margin-top: 20px;
}

/* Styles for pedagogy cards */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.pedagogy-card {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    width: calc(33% - 20px);
    box-sizing: border-box;
    background-color: #fafafa;
    position: relative;
}

.pedagogy-card h4 {
    margin-top: 0;
}

.pedagogy-card button {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.pedagogy-card.selected {
    border-color: #4caf50;
    background-color: #e8f5e9;
}

/* Responsive design for smaller screens */
@media (max-width: 800px) {
    .pedagogy-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 500px) {
    .pedagogy-card {
        width: 100%;
    }
}
.misconception-container{
    display: absolute;
    top: 5px;
    bottom:0px;
    right: 0px;
    left: 0px;
    padding: 20px;
    background-color: #e0f7fa;
}
.chatbox{
    padding: 10px;
    border-radius: 10px;
    border-color: #4caf50;
    border-style: solid;
    border-width: 1px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #dff1ab;
    width: calc(100% - 600px);
}
.theMissconceptionWrapper{
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    top: 0px;
    bottom: 0px;
    left: 0px;
    position: absolute;
    background-color: #e0f7fa;
    padding: 20px;
    z-index: 100;
}
.theMisconceptions{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    bottom: 0px;
    top: 50px;
    left: 0px;
    background-color: #e0f7fa;
    padding: 30px;
    overflow: auto;
    display: none;
}
.theTypeofConfusion{
    font-weight: bold;
    font-style: italic;
}
.theExplanantion{
    font-size: smaller;
    font-variant: small-caps;
}
.tryThisBtn{
    border-radius: 50%;
    position: absolute;
    width: 48px;
    height: 48px;
    right:-5px;
    top: -5px;
    background-image: url("/img/finditout.png");
}