/* +----------------------------------------------------------------------
/* | Static Plugin for ThinkAdmin
/* +----------------------------------------------------------------------
/* | 官方网站: https://thinkadmin.top
/* +----------------------------------------------------------------------
/* | 版权所有 2014~2025 ThinkAdmin [ thinkadmin.top ]
/* +----------------------------------------------------------------------
/* | 开源协议 ( https://mit-license.org )
/* | 免责声明 ( https://thinkadmin.top/disclaimer )
/* +----------------------------------------------------------------------
/* | gitee 代码仓库：https://gitee.com/zoujingli/think-plugs-static
/* | github 代码仓库：https://github.com/zoujingli/think-plugs-static
/* +----------------------------------------------------------------------
/* | 自定义后台扩展样式，需要在加载 console.css 后载入
/* | 使用 composer require zoujingli/think-plugs-static 时不会更新此文件
/* +---------------------------------------------------------------------- */

/* 消息铃铛样式 */
#messageBellItem {
    position: relative;
}

#messageBellItem a {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    height: 55px;
    line-height: 55px;
    transition: background-color 0.3s;
}

#messageBellItem a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

#messageBellItem .layui-icon {
    font-size: 18px;
    color: #333;
}

#messageBadge {
    position: absolute;
    top: 12px;
    right: 8px;
    display: none;
    background-color: #ff5722;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

#messageCount {
    position: absolute;
    top: 6px;
    right: 4px;
    display: none;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 5px;
    font-size: 11px;
    background-color: #ff5722;
    border-radius: 9px;
    color: #fff;
    text-align: center;
}

#messagePanel {
    position: fixed;
    top: 55px;
    right: 20px;
    width: 400px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s;
}

.message-item:hover {
    background-color: #fffbe6;
}

.message-item.unread-message {
    background-color: #fff7e6;
}

.message-item.unread-message:hover {
    background-color: #fffbe6;
}

/* 消息铃铛样式 */
#messageBellItem {
    position: relative;
}

#messageBellItem a {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    height: 55px;
    line-height: 55px;
    transition: background-color 0.3s;
}

#messageBellItem a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

#messageBellItem .layui-icon {
    font-size: 18px;
    color: #333;
}

#messageBadge {
    position: absolute;
    top: 12px;
    right: 8px;
    display: none;
    background-color: #ff5722;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

#messageCount {
    position: absolute;
    top: 6px;
    right: 4px;
    display: none;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 5px;
    font-size: 11px;
    background-color: #ff5722;
    border-radius: 9px;
    color: #fff;
    text-align: center;
}

#messagePanel {
    position: fixed;
    top: 55px;
    right: 20px;
    width: 400px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s;
}

.message-item:hover {
    background-color: #fffbe6;
}

.message-item.unread-message {
    background-color: #fff7e6;
}

.message-item.unread-message:hover {
    background-color: #fffbe6;
}
