/* ==================== 未来函数检测工具 插件样式 ==================== */
body {
    background-color: #eaeaea !important;
}
/* 面包屑导航样式，移除背景色 */
.breadcrumb-box{
    max-width:1200px;
    margin:0 auto 0px auto;
    padding:10px 15px;
    border-radius:6px;
    font-size:15px;
}
.breadcrumb-box a{
    color:#333;
    text-decoration:none;
}
.breadcrumb-box a:hover{
    color:#0066cc;
    text-decoration:underline;
}
.breadcrumb-box .split{
    margin:0 8px;
    color:#888;
}
.breadcrumb-box .current{
    color:#666;
}

.detector-wrapper {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding: 0 15px;
}
.detector-box {
    border: 1px solid #d0d7e5;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.detector-box table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.detector-box td {
    padding: 10px 12px;
    vertical-align: top;
}
.preview-block {
    background: #fafafa;
    border-radius: 6px;
    padding: 10px 14px;
    max-height: 120px;
    overflow-y: auto;
    font-family: Consolas, monospace;
    font-size: 13px;
    border: 1px solid #e8e8e8;
}
.stat-bar {
    padding: 6px 12px;
    background: #f5f7fa;
    font-size: 13px;
    color: #666;
    border-radius: 6px;
    margin: 6px 0;
}
.result-area {
    background: #f8faff;
    border-radius: 6px;
    padding: 12px 15px;
    min-height: 40px;
    border-left: 4px solid #4a90d9;
}
.result-area.success {
    border-left-color: #52c41a;
}
.result-area.danger {
    border-left-color: #f5222d;
}
.error-area {
    background: #fff2f0;
    border-left-color: #f5222d;
    color: #f5222d;
}
.detector-box textarea {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    padding: 8px 10px;
    transition: border-color 0.3s;
    width: 98%;
    box-sizing: border-box;
    resize: none;
}
.detector-box textarea:focus {
    border-color: #4a90d9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}
.detector-box .code-input {
    background: #1e1e1e;
    color: #d4d4d4;
}
.detector-box .code-input::placeholder {
    color: #6a6a6a;
}
.highlight {
    color: #ff4d4f;
    font-weight: bold;
    background: rgba(255, 77, 79, 0.08);
    padding: 0 2px;
    border-radius: 2px;
}
.btn {
    display: inline-block;
    padding: 8px 28px;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-primary {
    background: #4a90d9;
    color: #fff;
}
.btn-primary:hover {
    background: #3a7bc8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 217, 0.35);
}
.btn-secondary {
    background: #f0f0f0;
    color: #333;
    margin-left: 10px;
}
.btn-secondary:hover {
    background: #e0e0e0;
}
.label-tip {
    font-size: 13px;
    color: #888;
}
.word-count {
    display: inline-block;
    background: #f0f0f0;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
    margin-left:12px;
}
.detected-item {
    display: inline-block;
    background: #fff1f0;
    color: #f5222d;
    padding: 2px 12px;
    margin: 3px 4px 3px 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #ffccc7;
}
.desc-panel{
    margin-top:8px;
    max-height:260px;
    overflow-y:auto;
    background:#f7f8fa;
    border-radius:6px;
    padding:8px 10px;
    font-size:12px;
    border:1px solid #e8e8e8;
    color:#555;
    line-height:1.8;
}
.bottom-bar{
    text-align:center;
    background:#fafbfc;
    border-top:1px solid #e8e8e8;
    padding:16px;
}

/* VIP 权限提示 */
.vip-notice{
    display:inline-block;
    background:#fff3f3;
    color:#d93025;
    border:1px solid #f5c6c6;
    border-radius:6px;
    padding:6px 14px;
    font-size:13px;
    margin-bottom:12px;
}
.vip-notice.vip-free{
    background:#f0f9f0;
    color:#1e7e34;
    border-color:#bfe3bf;
}

/* ==================== 移动端自适应 ==================== */
@media (max-width: 768px) {
    .detector-box {
        padding: 12px;
    }
    .detector-box td {
        display: block;
        width: 100% !important;
        padding: 6px 0;
    }
    .detector-box textarea {
        width: 100%;
    }
    .bottom-bar {
        padding: 12px 4px;
    }
    .btn {
        display: block;
        width: 100%;
        margin: 6px 0;
        padding: 10px 0;
        text-align: center;
    }
    .btn-secondary {
        margin-left: 0;
    }
}
