/* ===============================
   MAYRA GLOBALS AI BUTTON DESIGN
================================ */

#mayra-ai-btn {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff9a00, #ff2d55);
    color: #fff;
    padding: 14px 22px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    z-index: 9999;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#mayra-ai-btn::before {
    content: "🤖";
    font-size: 18px;
}

/* Hover Effect */
#mayra-ai-btn:hover {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    box-shadow: 0 12px 30px rgba(0,114,255,0.6);
    transform: translateY(-50%) scale(1.12) rotate(-2deg);
}


/* ===============================
   CHATBOT BOX DESIGN
================================ */

#mayra-chatbox {
    position: fixed;
    right: 90px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 360px;
    height: 480px;
    background: #0f172a;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    transition: all 0.4s ease;
}

#mayra-chatbox.open {
    transform: translateY(-50%) scale(1);
}

/* Header */
.mayra-header {
    background: linear-gradient(135deg, #ff2d55, #ff9a00);
    color: #fff;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.5px;
}

#mayra-close {
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

#mayra-close:hover {
    transform: rotate(90deg) scale(1.2);
    color: #000;
}

/* Messages Area */
.mayra-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: linear-gradient(180deg, #020617, #020617);
}

/* Bot Message */
.bot-msg {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #e2e8f0;
    padding: 10px 12px;
    border-radius: 14px 14px 14px 0;
    margin-bottom: 10px;
    max-width: 80%;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* User Message */
.user-msg {
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    color: #fff;
    padding: 10px 12px;
    border-radius: 14px 14px 0 14px;
    margin-bottom: 10px;
    margin-left: auto;
    max-width: 80%;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0,114,255,0.6);
}

/* Input Area */
.mayra-input {
    display: flex;
    padding: 10px;
    background: #020617;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mayra-input input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    border-radius: 25px;
    outline: none;
    background: #020617;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
}

.mayra-input input::placeholder {
    color: #94a3b8;
}

/* Send Button */
.mayra-input button {
    background: linear-gradient(135deg, #ff9a00, #ff2d55);
    color: #fff;
    border: none;
    padding: 0 18px;
    margin-left: 8px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.mayra-input button:hover {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    box-shadow: 0 0 15px rgba(0,114,255,0.8);
    transform: scale(1.1);
}
