.wnc-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* Header */
.wnc-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 60%, #25D366 100%);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
}
.wnc-header-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wnc-title {
    margin: 0 0 4px 0 !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.2 !important;
}
.wnc-subtitle {
    margin: 0 !important;
    font-size: 0.88rem !important;
    color: rgba(255,255,255,0.82) !important;
}

/* Body */
.wnc-body {
    padding: 28px 32px;
    background: #f7faf7;
}

/* Number rows */
.wnc-numbers-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}
.wnc-number-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.wnc-flag-select {
    flex-shrink: 0;
}
.wnc-country-code {
    height: 46px;
    padding: 0 8px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-size: 0.9rem;
    color: #222;
    cursor: pointer;
    transition: border-color .2s;
    appearance: none;
    -webkit-appearance: none;
    min-width: 110px;
}
.wnc-country-code:focus {
    outline: none;
    border-color: #25D366;
}
.wnc-number-input {
    flex: 1;
    height: 46px;
    padding: 0 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    color: #222;
    background: #fff;
    transition: border-color .2s;
    box-sizing: border-box;
}
.wnc-number-input:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37,211,102,0.13);
}
.wnc-number-input::placeholder { color: #bbb; }
.wnc-remove-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #ffe0e0;
    color: #c0392b;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s;
}
.wnc-remove-btn:hover { background: #ffb3b3; }

/* Actions */
.wnc-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.wnc-add-btn {
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #25D366;
    color: #128C7E;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.wnc-add-btn:hover {
    background: #f0fff5;
}
.wnc-check-btn {
    padding: 10px 28px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity .2s;
}
.wnc-check-btn:hover { opacity: 0.88; }
.wnc-check-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.wnc-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wncSpin .7s linear infinite;
}
@keyframes wncSpin { to { transform: rotate(360deg); } }

/* Results */
.wnc-results {
    margin-top: 8px;
}
.wnc-summary {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.wnc-stat {
    flex: 1;
    min-width: 110px;
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.wnc-stat-num {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}
.wnc-stat-label {
    font-size: 0.78rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.wnc-stat.green .wnc-stat-num  { color: #25D366; }
.wnc-stat.red .wnc-stat-num    { color: #e53e3e; }
.wnc-stat.blue .wnc-stat-num   { color: #128C7E; }
.wnc-stat.grey .wnc-stat-num   { color: #888; }

/* Table */
.wnc-table-wrap { overflow-x: auto; margin-bottom: 16px; }
.wnc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 0.93rem;
}
.wnc-table thead tr {
    background: linear-gradient(135deg, #075E54, #128C7E);
    color: #fff;
}
.wnc-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.wnc-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}
.wnc-table tbody tr:last-child td { border-bottom: none; }
.wnc-table tbody tr:hover { background: #f9fffb; }

.wnc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.83rem;
    font-weight: 700;
}
.wnc-badge.registered   { background: #d4edda; color: #155724; }
.wnc-badge.not-reg      { background: #ffe0e0; color: #721c24; }
.wnc-badge.invalid      { background: #fff3cd; color: #856404; }
.wnc-badge.error        { background: #f0f0f0; color: #555; }

.wnc-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #25D366;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.88rem;
    padding: 4px 10px;
    border: 1.5px solid #25D366;
    border-radius: 8px;
    transition: all .2s;
}
.wnc-wa-link:hover {
    background: #25D366;
    color: #fff;
    text-decoration: none;
}

/* Copy btn */
.wnc-copy-btn {
    padding: 9px 22px;
    background: #fff;
    border: 2px solid #128C7E;
    color: #128C7E;
    border-radius: 9px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.wnc-copy-btn:hover { background: #128C7E; color: #fff; }

/* Error */
.wnc-error {
    margin-top: 12px;
    padding: 14px 18px;
    background: #ffe0e0;
    border-left: 4px solid #e53e3e;
    border-radius: 8px;
    color: #7b1a1a;
    font-size: 0.92rem;
}

/* Note */
.wnc-note {
    margin-top: 20px;
    padding: 12px 16px;
    background: #fffde7;
    border-left: 4px solid #f9a825;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #5d4037;
}

/* Responsive */
@media (max-width: 540px) {
    .wnc-header { padding: 20px 18px; }
    .wnc-body   { padding: 18px 14px; }
    .wnc-number-row { flex-wrap: wrap; }
    .wnc-country-code { min-width: 90px; }
    .wnc-stat { min-width: 80px; }
}
