.wdv-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 28px rgba(0,0,0,0.11);
}

/* Header */
.wdv-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 55%, #25D366 100%);
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
}
.wdv-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;
}
.wdv-title {
    margin: 0 0 4px !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.2 !important;
}
.wdv-subtitle {
    margin: 0 !important;
    font-size: 0.88rem !important;
    color: rgba(255,255,255,0.82) !important;
}

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

/* Input row */
.wdv-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.wdv-country-select {
    height: 48px;
    padding: 0 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-size: 0.9rem;
    color: #222;
    cursor: pointer;
    min-width: 110px;
    transition: border-color .2s;
    appearance: none;
    -webkit-appearance: none;
}
.wdv-country-select:focus { outline: none; border-color: #25D366; }

.wdv-number-input {
    flex: 1;
    min-width: 180px;
    height: 48px;
    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;
}
.wdv-number-input:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37,211,102,0.13);
}
.wdv-number-input::placeholder { color: #bbb; }

.wdv-view-btn {
    height: 48px;
    padding: 0 26px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.97rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity .2s;
    white-space: nowrap;
}
.wdv-view-btn:hover    { opacity: 0.88; }
.wdv-view-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.wdv-spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wdvSpin .7s linear infinite;
}
@keyframes wdvSpin { to { transform: rotate(360deg); } }

/* Error */
.wdv-error {
    margin-bottom: 16px;
    padding: 13px 16px;
    background: #ffe0e0;
    border-left: 4px solid #e53e3e;
    border-radius: 8px;
    color: #7b1a1a;
    font-size: 0.92rem;
}

/* Result card */
.wdv-result { margin-bottom: 16px; }
.wdv-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,0.08);
    display: flex;
    gap: 0;
    flex-direction: column;
}

/* Image area */
.wdv-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 360px;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.wdv-dp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wdv-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Info area */
.wdv-info {
    padding: 20px 24px;
}
.wdv-phone {
    font-size: 1.25rem;
    font-weight: 800;
    color: #075E54;
    margin-bottom: 12px;
}
.wdv-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.wdv-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
}
.wdv-badge.green  { background: #d4edda; color: #155724; }
.wdv-badge.blue   { background: #d1ecf1; color: #0c5460; }
.wdv-badge.grey   { background: #f0f0f0; color: #555; }
.wdv-badge.orange { background: #fff3cd; color: #856404; }

/* Action buttons */
.wdv-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.wdv-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 10px;
    font-size: 0.93rem;
    font-weight: 700;
    transition: opacity .2s;
}
.wdv-btn-download:hover { opacity: 0.87; text-decoration: none !important; }

.wdv-btn-chat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #25D366;
    color: #128C7E !important;
    text-decoration: none !important;
    border-radius: 10px;
    font-size: 0.93rem;
    font-weight: 700;
    transition: all .2s;
}
.wdv-btn-chat:hover {
    background: #25D366;
    color: #fff !important;
    text-decoration: none !important;
}

/* Note */
.wdv-note {
    padding: 11px 16px;
    background: #fffde7;
    border-left: 4px solid #f9a825;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #5d4037;
    line-height: 1.5;
}

/* Responsive */
@media (min-width: 500px) {
    .wdv-card {
        flex-direction: row;
        align-items: stretch;
    }
    .wdv-image-wrap {
        width: 260px;
        min-width: 260px;
        max-height: none;
        aspect-ratio: unset;
    }
    .wdv-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wdv-header { padding: 20px 18px; }
    .wdv-body   { padding: 18px 14px; }
    .wdv-number-input { min-width: 130px; }
}
