#profhoot-wrapper .chat-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}
#profhoot-wrapper .restart, #profhoot-wrapper .close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
#profhoot-wrapper .restart img, #profhoot-wrapper .close img { 
    width: 25px;
    height: 25px;
}
#chat-icon {
    position: fixed;
    bottom: 10px;
    right: 15px;
    z-index: 9999;
}
#chat-icon img {
    border-radius: 50%;
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: transform 0.3s;
}
.hello-text {
    position: absolute;
    z-index: 1;
    bottom: 90px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 30px;
    border-radius: 20px 20px 5px;
    background: linear-gradient(90deg,rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 75%, rgba(252, 176, 69, 1) 100%);
    color: white;
    font-size: 16px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

#profhoot-wrapper{
    max-height: 80vh;
    bottom: 100px;
    right: 20px;
    width: 380px;
    position: absolute;
    z-index: 9999;
    flex-direction: column;
}

#profhoot-wrapper #chat-container {
    position: fixed;
    bottom: 100px;
    right: 5px;
    width: 380px;
    max-height: 80vh;
    min-height: 500px;
    background: #fcfcfc;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9998;
    animation: slideIn 0.4s ease forwards;
}

@keyframes slideIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.chat-header {
    background: linear-gradient(90deg, rgb(208 137 255) 0%, rgba(253, 29, 29, 1) 75%, rgba(252, 176, 69, 1) 100%);
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.chatbox {
    padding: 15px;
    overflow-y: auto;
    flex-grow: 1;
    background: #fcfcfc;
}

.message, .result {
    margin: 10px 0;
    padding-bottom: 20px;
}

.result {
    text-align: center;
}

.result .thank-you{
    color:#17AB2E;
    padding:30px;
}

.message.bot {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    gap: 10px;
    flex-wrap: wrap;
}

.question::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 50px;
    background-image: url('../images/profhoot_head.webp');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0px;
    vertical-align: middle;
}

.pa-bot-user::before {
    content: "";
    display: inline-block;
    width: 35px;
    height: 35px;
    background-image: url('../images/pa-chat-bot-user.webp');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0px;
    vertical-align: middle;
}

.message.user {
    display: flex;
    justify-content: flex-end;
}

.message.user span {
    background: #ffdb77;
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 14px;
}

.message.bot span {
    background: linear-gradient(90deg, rgb(232 3 113) 0%, rgb(255 0 0) 75%, rgb(255 0 0) 100%);
    border-radius: 10px;
    padding: 5px 10px;
    color:#fff;
    width: 80%;
}

.message.bot.bounce {
    animation: bounce 1s;
}

#profhoot-wrapper .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

#profhoot-wrapper .btn {
    font-size: 14px;
    padding: 8px 14px;
    color: #ff0000;
    border: 1px solid #e80370;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

#profhoot-wrapper .btn:hover {
    transform: scale(1.05);
}

#profhoot-wrapper form input[type='text'],#profhoot-wrapper form input[type='tel'], #profhoot-wrapper form input[type='email'] { 
    width: 80%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 6px;
    font-size: 14px;
}

.typing-indicator {
    font-style: italic;
    color: #888;
}

.question {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap!important;
}

#profhoot-wrapper .submit{
    background: linear-gradient(90deg, rgb(232 3 113) 0%, rgb(255 0 0) 75%, rgb(255 0 0) 100%);
    border: 0;
    color: #fff;
    cursor: pointer;
    margin: 20px 0 0 0;
    border-radius: 6px;
    font-size: 14px;
    display: inline;
    padding: 5px 25px;
}
#chat-icon.fly-to-top-left img {
    animation: fly 1.6s forwards ease-in-out;
    z-index: 99999;
    position: relative;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

#chat-icon img {
    animation: bounce 2s infinite;
}
.chat-header .chat-icon img{
    height: 40px;
}
.red{
    color: #8B1313;
}