/* Water Proof Checker — plugin styles (external file) */

.wpc-root .wpc-container {
    max-width: 920px;
    margin: 30px auto;
    padding: 24px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #1b2b3a;
}

.wpc-root .wpc-hero {
    text-align: center;
    padding: 28px 16px;
    background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(16,32,64,0.06);
}

.wpc-root .wpc-title {
    font-size: 34px;
    margin: 0 0 8px;
    color: #0f2b4a;
}

.wpc-root .wpc-sub {
    margin: 0 0 18px;
    color: #556;
}

.wpc-root .wpc-search {
    display:flex;
    gap:10px;
    justify-content:center;
    max-width:760px;
    margin: 0 auto;
}

.wpc-root .wpc-input {
    flex: 1;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #d7e3f0;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.wpc-root .wpc-btn {
    background:#1976d2;
    color:#fff;
    border:none;
    padding:12px 18px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    box-shadow: 0 6px 12px rgba(25,118,210,0.12);
}

.wpc-root .wpc-result { margin-top:20px; }

.wpc-root .wpc-list {
    display:flex;
    flex-direction:column;
    gap:16px;
}

.wpc-root .wpc-card {
    display:flex;
    gap:16px;
    align-items:center;
    border:1px solid #e6eef8;
    border-radius:12px;
    padding:16px;
    background:#fff;
}

.wpc-root .wpc-thumb img {
    width:96px;
    height:auto;
    border-radius:12px;
    object-fit:cover;
    display:block;
}

.wpc-root .wpc-card-body { flex:1; }

.wpc-root .wpc-phone-title {
    margin:0 0 6px;
    font-size:20px;
    color:#0b2a44;
}

.wpc-root .wpc-phone-title a { color: inherit; text-decoration: none; }
.wpc-root .wpc-phone-title a:hover { text-decoration: underline; }

.wpc-root .wpc-ip-badge {
    display:inline-block;
    background:#1fa17a;
    color:#fff;
    padding:6px 10px;
    border-radius:8px;
    font-weight:700;
    margin-bottom:8px;
}

.wpc-root .wpc-ip-badge.no-rating { background:#e05353; }

.wpc-root .wpc-desc { margin:10px 0 0; color:#425; }

.wpc-root .wpc-loading, .wpc-root .wpc-error, .wpc-root .wpc-notfound {
    padding:14px;
    border-radius:10px;
    text-align:center;
}

.wpc-root .wpc-loading {
    background:#fffbe6;
    border:1px solid #ffeaa7;
    color:#665;
}

.wpc-root .wpc-error {
    background:#fff0f0;
    border:1px solid #f6c0c0;
    color:#a00;
}

.wpc-root .wpc-faq details {
    margin-top:18px;
    background:#fff;
    padding:12px;
    border-radius:8px;
    border:1px solid #eef5fb;
}

@media (max-width: 600px) {
    .wpc-root .wpc-search { flex-direction:column; }
    .wpc-root .wpc-btn { width:100%; }
    .wpc-root .wpc-card { flex-direction:column; align-items:flex-start; }
    .wpc-root .wpc-thumb img { width:100%; max-width:220px; }
}
