/* ==================== MODERN CHATBOT UI/UX - FINAL VERSION ==================== */

#chatbot-wrapper {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
}

#chatbot-label {
    background: rgba(17, 17, 17, 0.9);
    color: #fff;
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
}

/* Floating Button */
#chatbot-button {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #f4c430, #ffaa00);
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(244, 196, 48, 0.45);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid white;
}

#chatbot-button:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 35px rgba(244, 196, 48, 0.5);
}

/* Chat Container */
#chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 370px;
    height: 540px;
    background: #ffffff;
    border-radius: 22px;
    display: none;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

/* Header */
#chatbot-header {
    background: linear-gradient(135deg, #f4c430, #ffaa00);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #111;
    font-size: 16.5px;
}

#chatbot-header::before {
    content: "🤖";
    margin-right: 10px;
    font-size: 22px;
}

#close-chat {
    background: rgba(255,255,255,0.25);
    color: #111;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.25s;
}

#close-chat:hover {
    background: rgba(255,255,255,0.5);
    transform: rotate(90deg);
}

/* Messages */
#chatbot-messages {
    flex: 1;
    padding: 22px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bot-message {
    background: #ffffff;
    padding: 13px 17px;
    border-radius: 20px 20px 20px 6px;
    max-width: 80%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    align-self: flex-start;
    font-size: 14.8px;
    line-height: 1.45;
}

.user-message {
    background: linear-gradient(135deg, #f4c430, #ffaa00);
    color: #111;
    padding: 13px 17px;
    border-radius: 20px 20px 6px 20px;
    max-width: 80%;
    align-self: flex-end;
    box-shadow: 0 3px 12px rgba(244, 196, 48, 0.35);
    font-size: 14.8px;
    line-height: 1.45;
}

/* ==================== PERFECT SEND BUTTON ==================== */

#chatbot-input-area {
    padding: 14px 16px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

#user-input {
    flex: 1;
    padding: 14px 20px;
    border: 1.5px solid #e0e0e0;
    border-radius: 50px;
    outline: none;
    font-size: 15px;
    background: #f9f9f9;
    transition: all 0.25s ease;
}

#user-input:focus {
    border-color: #f4c430;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(244, 196, 48, 0.15);
}

/* Perfect Send Button */
#send-btn {
    width: 48px;
    height: 48px;
    background: #111;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(17, 17, 17, 0.3);
}

#send-btn:hover {
    background: #f4c430;
    color: #111;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(244, 196, 48, 0.4);
}

#send-btn:active {
    transform: scale(0.92);
    background: #111;
    color: white;
}

/* Quick Options */
#quick-options {
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-btn {
    background: #f1f1f1;
    border: none;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-btn:hover {
    background: #f4c430;
    color: #111;
    transform: translateY(-2px);
}
