.gsmwci-wrap .gsmwci-actions,
.gsmwci-log-actions {
    margin: 16px 0;
}

.gsmwci-access {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 16px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left: 4px solid #8c8f94;
}

.gsmwci-access-blocked {
    border-left-color: #d63638;
}

.gsmwci-access-debug {
    border-left-color: #dba617;
}

.gsmwci-access-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #8c8f94;
}

.gsmwci-access-blocked .gsmwci-access-dot {
    background: #d63638;
}

.gsmwci-access-debug .gsmwci-access-dot {
    background: #dba617;
}

.gsmwci-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.gsmwci-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 14px;
}

.gsmwci-card span {
    display: block;
    color: #646970;
    margin-bottom: 8px;
}

.gsmwci-card strong {
    display: block;
    font-size: 26px;
    line-height: 1;
}

.gsmwci-filterbar,
.gsmwci-bulkbar,
.gsmwci-preset-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
}

.gsmwci-checkbox-list label {
    display: block;
    margin: 0 0 8px;
}

.gsmwci-filterbar input[type="search"] {
    min-width: 220px;
}

.gsmwci-progress {
    margin: 12px 0 18px;
    padding: 12px;
    background: #fff;
    border-left: 4px solid #72aee6;
    display: none;
    white-space: pre-line;
    line-height: 1.6;
}

.gsmwci-progress.is-error {
    border-left-color: #d63638;
}

.gsmwci-progress.is-success {
    border-left-color: #00a32a;
}

.gsmwci-progress-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.gsmwci-progress-bar,
.gsmwci-meter {
    height: 8px;
    overflow: hidden;
    background: #f0f0f1;
    border-radius: 4px;
}

.gsmwci-progress-bar span,
.gsmwci-meter span {
    display: block;
    height: 100%;
    background: #2271b1;
}

.gsmwci-progress-body {
    margin-top: 8px;
    white-space: normal;
}

.gsmwci-table td {
    vertical-align: middle;
}

.gsmwci-actions-cell {
    white-space: nowrap;
}

.gsmwci-status,
.gsmwci-log-level {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f0f0f1;
    font-size: 12px;
    font-weight: 600;
}

.gsmwci-status-imported,
.gsmwci-log-info {
    background: #d1e7dd;
    color: #0a4b2a;
}

.gsmwci-status-failed,
.gsmwci-log-error {
    background: #f8d7da;
    color: #8a2424;
}

.gsmwci-status-pending,
.gsmwci-status-paused {
    background: #fff3cd;
    color: #664d03;
}

.gsmwci-status-enabled {
    background: #d1e7dd;
    color: #0a4b2a;
}

.gsmwci-status-disabled {
    background: #f0f0f1;
    color: #50575e;
}

.gsmwci-status-running {
    background: #cfe2ff;
    color: #084298;
}

.gsmwci-status-done {
    background: #d1e7dd;
    color: #0a4b2a;
}

.gsmwci-log-warning {
    background: #fff3cd;
    color: #664d03;
}

.gsmwci-stat,
.gsmwci-statline span {
    display: inline-block;
    margin: 0 10px 4px 0;
    white-space: nowrap;
}

.gsmwci-summary {
    margin: 12px 0;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #c3c4c7;
}

.gsmwci-helper-box {
    margin: 14px 0;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #c3c4c7;
}

.gsmwci-helper-box h2 {
    margin-top: 0;
}

.gsmwci-meter {
    max-width: 320px;
    margin-bottom: 8px;
}

.gsmwci-phone-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.gsmwci-thumb {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 6px;
}

.gsmwci-thumb img {
    max-width: 48px;
    max-height: 48px;
}

.gsmwci-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 5px 12px;
    max-width: 760px;
}

.gsmwci-spec-grid span {
    color: #646970;
}

.gsmwci-spec-grid strong {
    color: #1d2327;
}

.gsmwci-frontend-specs {
    margin: 24px 0;
}

.gsmwci-full-specs {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.gsmwci-full-specs th,
.gsmwci-full-specs td {
    padding: 8px 10px;
    border-bottom: 1px solid #dcdcde;
    text-align: left;
    vertical-align: top;
}

.gsmwci-full-specs th {
    width: 130px;
    color: #d63638;
    font-weight: 700;
    text-transform: uppercase;
}

.gsmwci-full-specs .gsmwci-spec-label {
    width: 170px;
    font-weight: 600;
    color: #3c434a;
}

.gsmwci-error-text {
    margin: 8px 0 0;
    color: #b32d2e;
}

.gsmwci-row-mode {
    max-width: 94px;
    min-height: 28px;
    vertical-align: middle;
}

.gsmwci-logs-table pre {
    max-width: 520px;
    max-height: 180px;
    overflow: auto;
    margin: 8px 0 0;
    padding: 8px;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
}

.gsmwci-pagination .tablenav-pages {
    float: none;
    margin: 0;
}

@media (max-width: 782px) {
    .gsmwci-access,
    .gsmwci-filterbar,
    .gsmwci-preset-row {
        align-items: stretch;
        flex-direction: column;
    }

    .gsmwci-filterbar input[type="search"],
    .gsmwci-filterbar select,
    .gsmwci-filterbar .button,
    .gsmwci-access .button {
        width: 100%;
        max-width: none;
    }

    .gsmwci-phone-cell {
        align-items: flex-start;
    }
}

.gsmwci-frontend-specs {
    margin: 24px 0;
    padding: 18px;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: #fff;
}

.gsmwci-frontend-specs dl {
    display: grid;
    grid-template-columns: minmax(120px, 220px) 1fr;
    gap: 8px 16px;
    margin: 0;
}

.gsmwci-frontend-specs dt {
    font-weight: 700;
}

.gsmwci-frontend-specs dd {
    margin: 0;
}

.gsmwci-dashboard {
    max-width: 100%;
}

.gsmwci-dashboard-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin: 18px 0 16px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.gsmwci-dashboard-hero h1 {
    margin: 2px 0 8px;
    font-size: 28px;
    line-height: 1.2;
}

.gsmwci-eyebrow {
    margin: 0;
    color: #2271b1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 11px;
}

.gsmwci-hero-copy {
    max-width: 720px;
    margin: 0;
    color: #50575e;
    font-size: 14px;
}

.gsmwci-hero-progress {
    min-width: 210px;
    align-self: center;
    padding: 14px;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 6px;
}

.gsmwci-hero-progress span {
    display: block;
    color: #646970;
    margin-bottom: 4px;
}

.gsmwci-hero-progress strong {
    display: block;
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 1;
}

.gsmwci-dashboard .gsmwci-access {
    border-radius: 6px;
}

.gsmwci-dashboard .gsmwci-cards {
    grid-template-columns: repeat(5, minmax(145px, 1fr));
}

.gsmwci-dashboard .gsmwci-card {
    position: relative;
    overflow: hidden;
    min-height: 76px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.gsmwci-dashboard .gsmwci-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2271b1;
}

.gsmwci-dashboard .gsmwci-card-imported::before {
    background: #00a32a;
}

.gsmwci-dashboard .gsmwci-card-remaining::before {
    background: #dba617;
}

.gsmwci-dashboard .gsmwci-card-failed::before {
    background: #d63638;
}

.gsmwci-dashboard-panel {
    margin: 16px 0;
    padding: 18px;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.gsmwci-command-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.gsmwci-command-panel h2,
.gsmwci-section-head h2 {
    margin: 0 0 4px;
    font-size: 16px;
}

.gsmwci-command-panel p,
.gsmwci-section-head p {
    margin: 0;
    color: #646970;
}

.gsmwci-command-panel .gsmwci-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
}

.gsmwci-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.gsmwci-dashboard .gsmwci-filterbar {
    margin-top: 0;
    padding: 12px;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 6px;
}

.gsmwci-dashboard .gsmwci-table {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #dcdcde;
}

.gsmwci-dashboard .gsmwci-table thead th {
    background: #f6f7f7;
    font-weight: 700;
}

.gsmwci-dashboard .gsmwci-table tbody tr:hover td {
    background: #f0f6fc;
}

.gsmwci-dashboard .gsmwci-log-actions {
    margin-top: 0;
}

@media (max-width: 1200px) {
    .gsmwci-dashboard .gsmwci-cards {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }
}

@media (max-width: 782px) {
    .gsmwci-dashboard-hero,
    .gsmwci-command-panel,
    .gsmwci-section-head {
        flex-direction: column;
    }

    .gsmwci-hero-progress {
        width: 100%;
        box-sizing: border-box;
    }

    .gsmwci-command-panel .gsmwci-actions,
    .gsmwci-command-panel .button,
    .gsmwci-section-head .button {
        width: 100%;
    }
}
