/* ====== 工作日志本地总结插件样式 ====== */

/* 导航栏图标 */
#wll-nav {
    list-style: none;
    cursor: pointer;
    border-radius: 8px;
    margin: 2px 4px;
    padding: 0;
}
#wll-nav:hover {
    background: rgba(52, 120, 246, 0.08);
}

/* 主面板 */
#wll-panel {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 440px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    background: #ffffff;
    animation: wll-slide-in 0.25s ease;
}
@keyframes wll-slide-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
#wll-panel:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* 头部 */
.wll-header {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e5e7;
}
.wll-header-title {
    font-weight: 700;
    font-size: 17px;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wll-header-close {
    background: #f0f0f0;
    border: none;
    color: #666;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.wll-header-close:hover {
    background: #e0e0e0;
    color: #333;
}

/* 内容区 */
.wll-body {
    padding: 16px 20px;
}
.wll-desc {
    color: #86868b;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 16px;
}

/* 按钮 */
.wll-btn-primary {
    width: 100%;
    height: 42px;
    background: linear-gradient(135deg, #3478F6, #2563EB);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}
.wll-btn-primary:hover {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    box-shadow: 0 4px 12px rgba(52, 120, 246, 0.3);
    transform: translateY(-1px);
}
.wll-btn-primary:active {
    transform: translateY(0);
}
.wll-btn-primary:disabled {
    background: #d0d0d0;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* 状态 */
.wll-status {
    margin-top: 12px;
    font-size: 13px;
    color: #86868b;
    text-align: center;
    min-height: 20px;
}
.wll-status.success {
    color: #34C759;
}
.wll-status.error {
    color: #FF3B30;
}
