
.chat-main {
    width: 100%;
    max-width: 420px;
    min-width: 0;
    background: #fff;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    margin: auto;
    position: absolute;
    top: -20px;
    height: 100%;
    right: 20px;

}
#reply{
       padding: 0px;
    text-align: right;
    padding-right: 37px;
    color: #00b1ab;
}
.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 32px 12px 32px;
    border-bottom: 1px solid #e0f2f1;
    justify-content: center;
}
.chat-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}
.chat-title {
    font-size: 20px;
    color: #0097a7;
    font-weight: 700;
}

.chat-messages {
    flex: 1;
    padding: 32px 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: transparent;
    min-height: 180px;
}
.message {
    max-width: 90%;
    padding: 16px 20px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 2px 8px 0 #e0e0e0;
    word-break: break-word;
}
.user-message {
    background: linear-gradient(120deg, #b2ebf2 0%, #80deea 100%);
    color: #006064;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.bot-message {
    background: #fff;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.error-message {
    background: #ffebee;
    color: #c62828;
    align-self: center;
    border-radius: 12px;
}
.query-type {
    font-size: 13px;
    color: #0097a7;
    font-style: italic;
    font-weight: 600;
}
.chat-input {
    display: flex;
    gap: 12px;
    padding: 24px 24px;
    background: #fff;
    border-top: 1px solid #e0f2f1;
    border-radius: 0 0 24px 24px;
}
.chat-input input {
    flex: 1;
    padding: 14px 18px;
    border: 1.5px solid #b2ebf2;
    border-radius: 24px;
    font-size: 15px;
    outline: none;
    background: #f8fafc;
    transition: border 0.2s;
}
.chat-input input:focus {
    border-color: #0097a7;
}
.chat-input button {
    background: linear-gradient(120deg, #0097a7 0%, #00bfae 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
    box-shadow: 0 2px 8px 0 #b2ebf2;
}
.chat-input button:hover {
    background: linear-gradient(120deg, #00796b 0%, #0097a7 100%);
}

@media (max-width: 600px) {
    .chat-main {
        max-width: 100vw;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .chat-header, .chat-input {
        padding: 12px 8px;
    }
    .chat-messages {
        padding: 12px 8px;
    }
    .chat-logo {
        width: 28px;
        height: 28px;
    }
} 