#search-assistant-wrapper {
    position: fixed;
    z-index: 10000;
    text-align: center;
    cursor: pointer;
    user-select: none;
}
@media (min-width: 768px) {
    #search-assistant-wrapper {
        top: 35%;
        right: 20px;
        transform: translateY(-50%);
    }
    #search-assistant-btn {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 10px;
    }
    .assistant-label {
        font-size: 13px !important;
    }
}
@media (max-width: 767px) {
    #search-assistant-wrapper {
        bottom: 90px !important;
        right: 16px;
    }
    #search-assistant-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        margin-bottom: 5px !important;
    }
    .assistant-label {
        font-size: 11px !important;
    }
}
/* ایکون قرمز */
#search-assistant-btn {
    background: linear-gradient(135deg, #ff3f3f, #ff3f3f);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(255, 63, 63, 0.4);
    transition: all 0.3s ease;
}
#search-assistant-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(255, 63, 63, 0.5);
}
/* متن زیر ایکون */
.assistant-label {
    color: #ff0000 !important;
    font-weight: 700 !important;
    text-shadow: none;
    display: block;
    line-height: 1.3;
}
#search-assistant-wrapper:hover .assistant-label {
    color: #ff3f3f !important;
}
/* باکس چت */
#chat-window {
    display: none;
    position: fixed;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    flex-direction: column;
    z-index: 10001;
    overflow: hidden;
    border: 1px solid #eee;
}
@media (min-width: 768px) {
    #chat-window {
        width: 340px !important;
        height: 500px !important;
        top: 35%;
        right: 20px !important;
        transform: translateY(-50%);
    }
}
@media (max-width: 767px) {
    #chat-window {
        width: 90vw !important;
        height: 70vh !important;
        max-width: 340px;
        max-height: 520px;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        border-radius: 16px;
    }
}
/* هدر چت قرمز */
#chat-header {
    background: linear-gradient(135deg, #ff3f3f, #ff3f3f);
    color: white;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(255, 63, 63, 0.2);
}
#close-chat {
    font-size: 40px;
    width: 55px;
    height: 55px;
}
#chat-messages {
    padding: 18px;
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
    overflow-y: auto;
    background: #f8f9fa;
}
#chat-input-area {
    padding: 14px;
    display: flex;
    flex-shrink: 0;
}
#chat-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 25px;
    border: 1px solid #ddd;
}
#chat-input-area button {
    margin-left: 10px;
    padding: 12px 22px;
    font-size: 14.5px;
    background: linear-gradient(135deg, #ff3f3f, #ff3f3f);
    border-radius: 25px;
    color: white;
    border: none;
}
/* کادر آهنگ‌ها */
.result-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    margin: 8px 0;
    padding: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.08);
    transition: all 0.3s;
}
.result-card:hover {
    box-shadow: 0 3px 10px rgba(255, 63, 63, 0.15);
    transform: translateY(-1px);
}
.result-card img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-left: 10px;
    flex-shrink: 0;
    background-color: #f0f0f0;
    object-fit: cover;
}
.result-card a {
    font-weight: bold;
    color: #3d82bf;
    text-decoration: none;
    font-size: 15.5px;
}
.result-card small {
    font-size: 13px;
    color: #666;
}
@media (max-width: 767px) {
    .result-card {
        padding: 9px;
        margin: 7px 0;
    }
    .result-card img {
        width: 45px;
        height: 45px;
    }
    .result-card a {
        font-size: 15px;
    }
}