/* =========================================
   NOT ON TRADERA - BULK PUBLISH
========================================= */

.tradera-bulk-toolbar[hidden] {
    display: none !important;
}

.tradera-bulk-toolbar {
    margin: 0 0 18px;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(56, 189, 248, .24);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(13, 43, 62, .82), rgba(8, 28, 43, .86));
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}

.tradera-bulk-toolbar-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tradera-bulk-toolbar-copy strong {
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .2px;
}

.tradera-bulk-toolbar-copy span {
    color: #7993a8;
    font-size: 11px;
    line-height: 1.45;
}

.tradera-bulk-publish-button {
    min-height: 46px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 14px;
    border: 1px solid rgba(52, 211, 153, .64);
    border-radius: 11px;
    background: rgba(6, 78, 59, .68);
    color: #b7f7dc;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .55px;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
    transition: .18s ease;
}

.tradera-bulk-publish-button:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(110, 231, 183, .95);
    background: rgba(7, 101, 76, .78);
    color: #e4fff4;
}

.tradera-bulk-publish-button:disabled {
    opacity: .52;
    cursor: not-allowed;
    transform: none;
}

.tradera-bulk-publish-icon {
    font-size: 14px;
}

.tradera-bulk-count {
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(167, 243, 208, .42);
    border-radius: 999px;
    background: rgba(0, 0, 0, .18);
    color: #d5fff0;
    font-size: 11px;
}

.tradera-bulk-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 9, 16, .82);
    backdrop-filter: blur(7px);
}

.tradera-bulk-panel {
    width: min(640px, 95vw);
    max-height: 88vh;
    overflow: auto;
    padding: 23px;
    border: 1px solid rgba(56, 189, 248, .38);
    border-radius: 17px;
    background: #0c1b29;
    color: #eaf7ff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .52);
}

.tradera-bulk-panel h2 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 22px;
}

.tradera-bulk-subtitle {
    margin: 0 0 18px;
    color: #86a4b8;
    font-size: 12px;
    line-height: 1.55;
}

.tradera-bulk-progress-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .075);
}

.tradera-bulk-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #38bdf8, #34d399);
    transition: width .2s ease;
}

.tradera-bulk-progress-text {
    margin-top: 9px;
    color: #b9cfdd;
    font-size: 12px;
}

.tradera-bulk-stats {
    margin: 18px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tradera-bulk-stat {
    padding: 11px;
    border: 1px solid rgba(56, 189, 248, .15);
    border-radius: 10px;
    background: rgba(3, 16, 27, .58);
    color: #8099aa;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
}

.tradera-bulk-stat strong {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 20px;
}

.tradera-bulk-log {
    max-height: 260px;
    overflow: auto;
    padding: 9px 11px;
    border: 1px solid rgba(56, 189, 248, .12);
    border-radius: 10px;
    background: rgba(3, 13, 22, .64);
    font-size: 11px;
}

.tradera-bulk-log-row {
    padding: 8px 2px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    line-height: 1.45;
}

.tradera-bulk-log-row:last-child {
    border-bottom: 0;
}

.tradera-bulk-log-success {
    color: #96efc1;
}

.tradera-bulk-log-error {
    color: #ffaaaa;
}

.tradera-bulk-close {
    width: 100%;
    margin-top: 16px;
    padding: 11px 14px;
    border: 1px solid rgba(56, 189, 248, .46);
    border-radius: 10px;
    background: #143249;
    color: #e3f7ff;
    font: inherit;
    font-weight: 900;
}

.tradera-bulk-close:disabled {
    opacity: .48;
    cursor: wait;
}

@media (max-width: 760px) {
    .tradera-bulk-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .tradera-bulk-publish-button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .tradera-bulk-stats {
        grid-template-columns: 1fr;
    }
}
