#aisc-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 9999;
    overflow: hidden;
}

#aisc-chat-header {
    background: #0073aa;
    color: #fff;
    padding: 15px;
    font-weight: bold;
}

#aisc-chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
}

#aisc-chat-input-area {
    display: flex;
    border-top: 1px solid #ddd;
}

#aisc-user-message {
    flex: 1;
    padding: 10px;
    border: none;
}

#aisc-send-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}
.aisc-product-card {

    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.aisc-product-card img {

    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.aisc-product-card h3 {

    margin: 0 0 8px;
    font-size: 16px;
}

.aisc-product-card p {

    margin: 5px 0;
    color: #444;
}

.aisc-product-card a {

    display: inline-block;
    margin-top: 10px;
    background: #0073aa;
    color: #fff;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.aisc-product-card a:hover {

    background: #005177;
}
.aisc-ai-message {

    background: #4aadaa;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    line-height: 1.6;
    font-size: 14px;
}

.aisc-user-message {

    background: #0073aa;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: right;
}
/*
|--------------------------------------------------------------------------
| CHAT TOGGLE BUTTON
|--------------------------------------------------------------------------
*/

#aisc-chat-toggle {

    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #0073aa;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/*
|--------------------------------------------------------------------------
| CHAT WIDGET
|--------------------------------------------------------------------------
*/

#aisc-chat-widget {

    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 330px;
    height: 450px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 99999;

    display: none;

    flex-direction: column;
}

/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/

#aisc-chat-header {

    background: #0073aa;
    color: #fff;
    padding: 15px;
    font-weight: bold;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*
|--------------------------------------------------------------------------
| CLOSE BUTTON
|--------------------------------------------------------------------------
*/

#aisc-chat-close {

    cursor: pointer;
    font-size: 14px;
}

/*
|--------------------------------------------------------------------------
| CHAT MESSAGES
|--------------------------------------------------------------------------
*/

#aisc-chat-messages {

    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #f7f7f7;
}

/*
|--------------------------------------------------------------------------
| INPUT AREA
|--------------------------------------------------------------------------
*/

#aisc-chat-input-area {

    display: flex;
    border-top: 1px solid #ddd;
    background: #fff;
}

#aisc-user-message {

    flex: 1;
    border: none;
    padding: 12px;
    outline: none;
}

#aisc-send-btn {

    border: none;
    background: #0073aa;
    color: #fff;
    padding: 0 20px;
    cursor: pointer;
}
/*
|--------------------------------------------------------------------------
| ADMIN DASHBOARD CARDS
|--------------------------------------------------------------------------
*/

.aisc-dashboard-cards {

    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.aisc-card {

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.aisc-card h2 {

    margin: 0 0 10px;
    font-size: 18px;
}

.aisc-card p {

    font-size: 30px;
    font-weight: bold;
    margin: 0;
    color: #0073aa;
}
/*
|--------------------------------------------------------------------------
| CHAT ICON PULSE
|--------------------------------------------------------------------------
*/

@keyframes aiscPulse {

    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0,115,170,0.7);
    }

    40% {
        transform: scale(1.12);
        box-shadow: 0 0 0 15px rgba(0,115,170,0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0,115,170,0);
    }
}

.aisc-pulse {

    animation: aiscPulse 1.5s ease-out;
}
/*
|--------------------------------------------------------------------------
| HELP BUBBLE
|--------------------------------------------------------------------------
*/

#aisc-chat-help {

    position: fixed;
    bottom: 90px;
    right: 20px;

    background: #fff;

    padding: 10px 14px;

    border-radius: 12px;

    box-shadow: 0 3px 12px rgba(0,0,0,0.15);

    font-size: 13px;

    line-height: 1.4;

    z-index: 99998;

    display: none;

    animation: aiscFadeIn 0.4s ease;
}

#aisc-chat-help strong {

    color: #0073aa;
}

/*
|--------------------------------------------------------------------------
| FADE IN
|--------------------------------------------------------------------------
*/

@keyframes aiscFadeIn {

    from {

        opacity: 0;

        transform: translateY(10px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }
}