body {
    padding: 10px;
    background-color: #f0f8ff;
    line-height: 1.4;
    font-family: sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    color: #727272;
    height: calc(100vh - 60px);
}

.container {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: transparent !important;
    margin-top: 8px;
    padding-top: 8px;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: #1e90ff !important;
}

.navbar {
    background-color: #1e90ff !important;
    padding: 0.5rem 1rem;
}

.navbar-brand {
    font-family: 'Nanum Gothic', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #f7f6f5;
    margin-right: 1rem;
}

.navbar-brand:hover {
    color: #f7f6f5;
    opacity: 0.8;
}

#chatTerminal {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 70px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
}

#chatMessages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#messageContainer {
    display: flex;
    gap: 10px;
    align-items: center;
}

#inputMessage {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.sendButton {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background-color: #1e90ff;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30,144,255,0.10);
    position: relative;
}

.sendButton:hover {
    background-color: #187bcd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30,144,255,0.20);
}

.sendButton:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
}

@media (max-width: 600px) {
    #chatTerminal {
        padding: 15px;
        margin-top: 60px;
    }
    
    #inputMessage {
        font-size: 14px;
        padding: 8px;
    }
    
    .sendButton {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .sendButton:hover::after {
        font-size: 12px;
        bottom: -25px;
    }
}

.user-message {
    display: inline-block;
    margin-bottom: 10px;
    margin-top: 5px;
    color: #1e90ff;
    background-color: #f0f8ff;
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
    align-self: flex-end;
    line-height: 1.5;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(30,144,255,0.1);
}

.tutor-message {
    display: inline-block;
    margin-bottom: 10px;
    margin-top: 5px;
    color: #333;
    background-color: #f8f9fa;
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
    align-self: flex-start;
    line-height: 1.5;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 3px solid #1e90ff;
}


