/* ================================
   RAZET AI ASSISTANT
   ================================ */

.razet-ai-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: #111827;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.razet-ai-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.razet-ai-chat {
    position: fixed;
    right: 25px;
    bottom: 95px;
    width: 360px;
    max-width: calc(100vw - 30px);
    height: 520px;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    display: none;
    flex-direction: column;
    border: 1px solid #e5e7eb;
}

.razet-ai-chat.active {
    display: flex;
}

.razet-ai-header {
    padding: 18px;
    background: #111827;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.razet-ai-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.razet-ai-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.razet-ai-title {
    font-size: 16px;
    font-weight: 700;
}

.razet-ai-status {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 3px;
}

.razet-ai-close {
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
}

.razet-ai-messages {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    background: #f9fafb;
}

.razet-ai-message {
    max-width: 85%;
    padding: 11px 14px;
    margin-bottom: 12px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
}

.razet-ai-message.bot {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px;
}

.razet-ai-message.user {
    margin-left: auto;
    background: #111827;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.razet-ai-input-area {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.razet-ai-input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 14px;
    outline: none;
}

.razet-ai-input:focus {
    border-color: #111827;
}

.razet-ai-send {
    width: 45px;
    border: none;
    border-radius: 10px;
    background: #111827;
    color: #ffffff;
    cursor: pointer;
    font-size: 17px;
}

.razet-ai-send:hover {
    opacity: 0.9;
}

@media (max-width: 500px) {
    .razet-ai-button {
        right: 15px;
        bottom: 15px;
    }

    .razet-ai-chat {
        right: 15px;
        bottom: 85px;
        width: calc(100vw - 30px);
        height: 500px;
    }
}