
.smartfix-bot-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99999;
    font-family: 'Cairo', system-ui, sans-serif;
    direction: rtl;
    text-align: right;
}
.smartfix-bot-launcher {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b2545 0%, #00b4d8 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.45);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}
.smartfix-bot-launcher:hover {
    transform: scale(1.08);
}
.bot-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f77f00;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.smartfix-bot-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 480px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    animation: botFadeIn 0.3s ease-out;
}
@keyframes botFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.bot-header {
    background: #0b2545;
    color: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #00b4d8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}
.bot-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}
.bot-body {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}
.bot-msg {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 85%;
}
.bot-msg.incoming {
    background: #fff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    align-self: flex-start;
    border-bottom-right-radius: 2px;
}
.bot-msg.outgoing {
    background: #00b4d8;
    color: #fff;
    align-self: flex-end;
    border-bottom-left-radius: 2px;
}
.bot-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}
.bot-opt-btn {
    background: #fff;
    border: 1px solid #00b4d8;
    color: #0077b6;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-align: right;
    transition: all 0.2s ease;
}
.bot-opt-btn:hover {
    background: #00b4d8;
    color: #fff;
}
.bot-footer {
    display: flex;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    gap: 8px;
}
.bot-footer input {
    flex-grow: 1;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: inherit;
    font-size: 0.9rem;
}
.bot-footer button {
    background: #0b2545;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
}
