body {
    font-family: "Montserrat", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #2d2a5d;
}

.logo {
    position: absolute;
    top: 15px;
    left: 35px;
    width: 300px;
    height: auto;
    z-index: 1000;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hidden {
    display: none;
}

.chat-container {
    background-color: rgba(31, 27, 69, 0.9);
    width: 700px; 
    height: 750px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chat-header {
    background-color: #6c63ff;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #4c4a9c;
}

.bot-info {
    display: flex;
    align-items: center;
}

.bot-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    border: 1px dashed rgb(66, 0, 128);
}

.verified-icon img {
    width: 20px;
    height: 20px;
}

.clear-button {
    background-color: #ff4c4c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.clear-button:hover {
    background-color: #e04343;
}

.chat-box {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #222;
}

.chat-message {
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.bot-message {
    background-color: #4c4a9c;
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-align: left;
    line-height: 1.6;
    white-space: pre-wrap;
}

.user-message {
    background-color: #6c63ff;
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-align: right;
    line-height: 1.6;
}

.input-box {
    display: flex;
    padding: 15px;
    border-top: 1px solid #4c4a9c;
    background-color: #2d2a5d;
}

input {
    flex: 1;
    padding: 12px;
    border: 1px solid #4c4a9c;
    border-radius: 5px;
    background-color: #2d2a5d;
    color: white;
    margin-right: 10px;
    outline: none;
}

button {
    background-color: #6c63ff;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #5a57d1;
}

@media (max-width: 1200px) {
    .logo {
        width: 250px;
        top: 10px;
        left: 25px;
    }
}

@media (max-width: 992px) {
    .logo {
        width: 200px;
        top: 8px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 150px;
        top: 5px;
        left: 15px;
    }
}

@media (max-width: 576px) {
    .logo {
        width: 120px;
        top: 5px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 100px;
        top: 5px;
        left: 5px;
    }
}

@media (max-width: 320px) {
    .logo {
        display: none;
    }
}