/* 悬浮容器样式 - 默认立即显示 */
.ipat-floating-container {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 2147483647 !important; /* 最高层级 */
    background: #ffffff;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    border: 1px solid #eee;
}

/* 强制 Google 翻译条置底的样式基础 */
.goog-te-banner-frame {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 40px !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
}

/* 修复 Body 被 Google 强制添加的 top 偏移 */
body {
    top: 0px !important;
    position: static !important;
    padding-bottom: 40px !important;
}

/* 隐藏 Google 翻译生成的其他干扰元素 */
#goog-gt-tt, .goog-te-balloon-frame, .skiptranslate iframe {
    /* 不影响翻译条本身，只隐藏气泡提示 */
}

/* 选择框样式优化 */
#google_translate_element select {
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    min-width: 100px;
}
