/**
 * eBay Store Module Enterprise Styles
 */
.mls-ebay-store-dashboard {
    margin-top: 10px;
}

/* 顶部身份条 */
.eb-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bcf0da;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* 布局网格 */
.ebay-store-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: start;
}

/* 通用卡片 */
.eb-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.eb-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f1;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

/* 自动化开关 (Toggle Switch) */
.eb-switch-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.eb-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.eb-toggle input { opacity: 0; width: 0; height: 0; }

.eb-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.eb-slider:before {
    position: absolute;
    content: "";
    height: 14px; width: 14px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .eb-slider { background-color: #27ae60; }
input:checked + .eb-slider:before { transform: translateX(20px); }

/* 弹窗遮罩 */
.eb-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.eb-modal {
    background: #fff;
    width: 450px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* 日志样式 */
.eb-log-list {
    max-height: 450px;
    overflow-y: auto;
}

.eb-log-item {
    padding: 10px 0;
    border-bottom: 1px dotted #e2e8f0;
    font-size: 11px;
}

.status-success { color: #10b981; font-weight: bold; }