.pushblitz-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 900px;
    margin: 40px auto;
}

.pushblitz-welcome-container {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 0;
    overflow: hidden;
}

.pb-header {
    background: #10151f;
    /* A dark tech aesthetic matching SaaS themes */
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.pb-header h1 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 600;
}

.pb-header p {
    color: #aeb5be;
    font-size: 16px;
    margin: 0;
}

.pb-split-panels {
    display: flex;
    flex-direction: row;
    position: relative;
}

.pb-panel {
    flex: 1;
    padding: 40px 30px;
}

.pb-panel h2 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
    color: #1d2327;
}

.pb-panel p {
    font-size: 14px;
    color: #50575e;
    line-height: 1.5;
    margin-bottom: 25px;
}

.pb-or-divider {
    width: 1px;
    background: #ccd0d4;
    position: relative;
    margin: 40px 0;
}

.pb-or-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 10px;
    color: #8c8f94;
    font-weight: 600;
    font-size: 13px;
    border-radius: 50%;
    border: 1px solid #ccd0d4;
}

.pb-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    width: 100%;
}

.pb-btn-primary {
    background: #2563eb;
    color: #fff;
}

.pb-btn-primary:hover {
    background: #1d4ed8;
    color: #fff;
}

.pb-btn-secondary {
    background: #f0f0f1;
    color: #2c3338;
    border: 1px solid #8c8f94;
}

.pb-btn-secondary:hover {
    background: #dcdcde;
    color: #2c3338;
}

.pb-form-group {
    margin-bottom: 20px;
}

.pb-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3338;
}

.pb-form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    font-size: 14px;
}

#pb-loading-1click {
    margin-top: 15px;
    color: #2563eb;
    font-weight: 500;
    text-align: center;
    display: none;
}

#pb-loading-1click.pb-visible {
    display: block;
}

#pb-manual-status {
    margin-top: 15px;
    font-weight: 500;
    text-align: center;
}

.pb-error {
    color: #d63638;
}

.pb-success {
    color: #00a32a;
}

/* Settings UI & Toggles */
.pb-settings-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pb-settings-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #1d2327;
    border-bottom: 1px solid #f0f0f1;
    padding-bottom: 12px;
}

.pb-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f1;
}

.pb-setting-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pb-setting-info {
    flex: 1;
    padding-right: 20px;
}

.pb-setting-info strong {
    display: block;
    font-size: 15px;
    color: #2c3338;
    margin-bottom: 4px;
}

.pb-setting-info p {
    margin: 0;
    font-size: 13px;
    color: #646970;
}

/* iOS Toggle Switch */
.pb-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.pb-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pb-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccd0d4;
    transition: .3s;
    border-radius: 26px;
}

.pb-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

input:checked+.pb-slider {
    background-color: #00a32a;
}

input:focus+.pb-slider {
    box-shadow: 0 0 1px #00a32a;
}

input:checked+.pb-slider:before {
    transform: translateX(22px);
}

/* =========================================
   Table Styles (Notifications / Stats)
   ========================================= */
.pb-notification-table {
    width: 100%;
    border-collapse: collapse;
}

.pb-notification-table th,
.pb-notification-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
    color: #333;
    vertical-align: middle;
}

.pb-notification-table th {
    background-color: #fafafa;
    font-weight: 600;
    color: #777;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-top: 1px solid #eaeaea;
}

.pb-notification-table tr:first-child th {
    border-top: none;
}

.pb-notification-table tr:last-child td {
    border-bottom: none;
}

.pb-notif-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pb-notif-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f1f1;
    flex-shrink: 0;
}

.pb-notif-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-notif-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pb-notif-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.pb-notif-text span {
    font-size: 13px;
    color: #777;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status Badges */
.pb-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.pb-status-sent {
    background-color: #e6f6ee;
    color: #0d8246;
}

.pb-status-pending {
    background-color: #fef5e5;
    color: #b37e00;
}

.pb-status-failed {
    background-color: #fbe9e9;
    color: #c92a2a;
}

/* =========================================
   Stats Overview Dashboard
   ========================================= */
.pb-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media screen and (max-width: 782px) {
    .pb-stats-grid {
        grid-template-columns: 1fr;
    }
}

.pb-stat-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pb-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pb-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pb-stat-content {
    display: flex;
    flex-direction: column;
}

.pb-stat-label {
    font-size: 13px;
    color: #646970;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.pb-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1d2327;
    line-height: 1;
}