.mtn-web-cloud-page .mwc-toolbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.mtn-web-cloud-page .mwc-toolbar h4 {
    margin: 0;
}

.mtn-web-cloud-page .mwc-toolbar-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.mtn-web-cloud-page .mwc-card {
    border-radius: 8px;
}

.mtn-web-cloud-page .mwc-tabs {
    margin-bottom: 16px;
}

.mtn-web-cloud-page .mwc-tab-content {
    margin-top: 0;
}

.mtn-web-cloud-page .mwc-sim-number {
    color: #161a1f;
    font-size: 1.35rem;
    font-weight: 700;
}

.mtn-web-cloud-page .mwc-sim-summary {
    background: #f8fafc;
    border: 1px solid #e6ebf1;
    border-radius: 8px;
    padding: 14px;
}

.mtn-web-cloud-page .mwc-sim-summary-top {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.mtn-web-cloud-page .mwc-sim-summary-top strong {
    color: #111827;
    display: block;
    font-size: 1.05rem;
    margin-top: 2px;
}

.mtn-web-cloud-page .mwc-status-pill {
    background: #e5e7eb;
    border-radius: 999px;
    color: #374151;
    flex: 0 0 auto;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
}

.mtn-web-cloud-page .mwc-status-pill.is-active {
    background: #dcfce7;
    color: #166534;
}

.mtn-web-cloud-page .mwc-status-pill.is-warning {
    background: #fef3c7;
    color: #92400e;
}

.mtn-web-cloud-page .mwc-status-pill.is-error {
    background: #fee2e2;
    color: #991b1b;
}

.mtn-web-cloud-page .mwc-sim-detail-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

.mtn-web-cloud-page .mwc-profile-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mtn-web-cloud-page .mwc-sim-detail-grid div,
.mtn-web-cloud-page .mwc-profile-grid div {
    background: #ffffff;
    border: 1px solid #edf0f3;
    border-radius: 8px;
    min-height: 58px;
    padding: 10px;
}

.mtn-web-cloud-page .mwc-detail-label {
    color: #6b7280;
    display: block;
    font-size: .76rem;
    margin-bottom: 4px;
}

.mtn-web-cloud-page .mwc-sim-detail-grid strong,
.mtn-web-cloud-page .mwc-profile-grid strong {
    color: #1f2933;
    display: block;
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.mtn-web-cloud-page .mwc-action-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mtn-web-cloud-page .mwc-product-stats {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mtn-web-cloud-page .mwc-product-stats div {
    background: #f8fafc;
    border: 1px solid #e6ebf1;
    border-radius: 8px;
    padding: 12px;
}

.mtn-web-cloud-page .mwc-product-stats strong {
    color: #111827;
    display: block;
    font-size: 1.25rem;
}

.mtn-web-cloud-page .mwc-product-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mtn-web-cloud-page .mwc-product-controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.mtn-web-cloud-page .mwc-product-group-chip {
    background: #eef2ff;
    border: 1px solid #dbe3ff;
    border-radius: 999px;
    color: #3730a3;
    font-size: .78rem;
    font-weight: 700;
    padding: 6px 10px;
}

.mtn-web-cloud-page .mwc-product-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mtn-web-cloud-page .mwc-product-card {
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 210px;
    padding: 14px;
    position: relative;
}

.mtn-web-cloud-page .mwc-product-card.is-new-data {
    background: #f0fdf4;
    border-color: #86efac;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, .2);
}

.mtn-web-cloud-page .mwc-product-title {
    color: #111827;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.mtn-web-cloud-page .mwc-product-description {
    color: #6b7280;
    font-size: .84rem;
    line-height: 1.4;
    margin: 0;
}

.mtn-web-cloud-page .mwc-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mtn-web-cloud-page .mwc-product-meta span,
.mtn-web-cloud-page .mwc-product-new-badge {
    background: #f3f4f6;
    border-radius: 999px;
    color: #374151;
    font-size: .72rem;
    font-weight: 700;
    padding: 5px 8px;
}

.mtn-web-cloud-page .mwc-product-new-badge {
    background: #16a34a;
    color: #ffffff;
}

.mtn-web-cloud-page .mwc-product-footer {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.mtn-web-cloud-page .mwc-product-price {
    color: #d61f69;
    font-size: 1.2rem;
    font-weight: 900;
}

.mtn-web-cloud-page .mwc-product-code {
    color: #6b7280;
    font-size: .78rem;
}

.mtn-web-cloud-page .mwc-product-copy {
    white-space: nowrap;
}

.mtn-web-cloud-page .mwc-product-table {
    border: 1px solid #e6ebf1;
}

.mtn-web-cloud-page .mwc-product-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: .78rem;
    text-transform: uppercase;
}

.mtn-web-cloud-page .mwc-product-table tbody tr.is-new-data {
    background: #f0fdf4;
}

.mtn-web-cloud-page .mwc-product-table td {
    vertical-align: middle;
}

.mtn-web-cloud-page .mwc-request-table {
    border: 1px solid #e6ebf1;
}

.mtn-web-cloud-page .mwc-request-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: .78rem;
    text-transform: uppercase;
}

.mtn-web-cloud-page .mwc-request-table td {
    vertical-align: middle;
}

.mtn-web-cloud-page .mwc-history-table {
    border: 1px solid #e6ebf1;
}

.mtn-web-cloud-page .mwc-history-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: .78rem;
    text-transform: uppercase;
}

.mtn-web-cloud-page .mwc-history-table td {
    vertical-align: middle;
}

.mtn-web-cloud-page .mwc-history-product {
    max-width: 300px;
    overflow-wrap: anywhere;
    white-space: normal;
}

.mtn-web-cloud-page .mwc-request-code,
.mtn-web-cloud-page .mwc-request-message {
    max-width: 260px;
    overflow-wrap: anywhere;
    white-space: normal;
}

.mtn-web-cloud-page .mwc-request-status {
    border-radius: 999px;
    display: inline-block;
    font-size: .74rem;
    font-weight: 800;
    padding: 5px 8px;
}

.mtn-web-cloud-page .mwc-request-status.is-success {
    background: #dcfce7;
    color: #166534;
}

.mtn-web-cloud-page .mwc-request-status.is-error {
    background: #fee2e2;
    color: #991b1b;
}

.mtn-web-cloud-page .mwc-request-status.is-pending {
    background: #fef3c7;
    color: #92400e;
}

.mtn-web-cloud-page .mwc-product-table th:first-child,
.mtn-web-cloud-page .mwc-product-table td:first-child {
    max-width: 360px;
    min-width: 260px;
    white-space: normal;
}

.mtn-web-cloud-page .mwc-product-table td:first-child .text-muted {
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: normal;
}

.mtn-web-cloud-page .mwc-product-empty {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    grid-column: 1 / -1;
    padding: 30px;
    text-align: center;
}

.mtn-web-cloud-page .mwc-inline-spinner {
    animation: mwc-spin .75s linear infinite;
    border: 2px solid #cbd5e1;
    border-radius: 999px;
    border-top-color: #d61f69;
    display: inline-block;
    height: 14px;
    margin-right: 8px;
    vertical-align: -2px;
    width: 14px;
}

@keyframes mwc-spin {
    to {
        transform: rotate(360deg);
    }
}

.mtn-web-cloud-page .mwc-response {
    background: #101418;
    border-radius: 8px;
    color: #d7e1ea;
    max-height: 420px;
    min-height: 180px;
    overflow: auto;
    padding: 14px;
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .mtn-web-cloud-page .mwc-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .mtn-web-cloud-page .mwc-toolbar-actions,
    .mtn-web-cloud-page .mwc-action-grid,
    .mtn-web-cloud-page .mwc-sim-detail-grid,
    .mtn-web-cloud-page .mwc-profile-grid,
    .mtn-web-cloud-page .mwc-product-stats,
    .mtn-web-cloud-page .mwc-product-grid {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
}

@media (min-width: 769px) and (max-width: 1180px) {
    .mtn-web-cloud-page .mwc-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
