.cpvp-frontend-container {
    max-width: 900px;
    margin: 40px auto;
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
    color: #1e293b;
    line-height: 1.6;
}

.cpvp-search-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.cpvp-search-card h3 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    color: #2563eb;
}

.cpvp-search-card p { color: #64748b; margin-bottom: 25px; }

.cpvp-input-wrap {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.cpvp-input-wrap input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.cpvp-input-wrap input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.cpvp-btn-search {
    padding: 12px 25px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cpvp-btn-search:hover { background: #1d4ed8; }

.cpvp-status-alert {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.cpvp-status-error { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }

.cpvp-results-table-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 40px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.cpvp-results-header {
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
}

.cpvp-results-header h2 {
    margin: 10px 0 0;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: #0f172a;
}

.cpvp-badge-verified {
    display: inline-block;
    padding: 5px 15px;
    background: #dcfce7;
    color: #166534;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    border: 1px solid #bbf7d0;
}

.cpvp-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.cpvp-data-table th, .cpvp-data-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.cpvp-data-table th {
    text-align: left;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    background: #f8fafc;
}

.cpvp-data-table td { font-weight: 500; font-size: 1rem; color: #0f172a; }

.highlight-text { color: #2563eb; font-weight: 700 !important; }

.result-text { font-weight: 700 !important; color: #059669; }

.cpvp-printable-footer { text-align: center; color: #94a3b8; font-size: 0.85rem; }

.cpvp-btn-print {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.cpvp-btn-reset {
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    margin-left: 10px;
    display: inline-block;
}

@media (max-width: 600px) {
    .cpvp-input-wrap {
        flex-direction: column;
    }
    .cpvp-btn-search {
        width: 100%;
    }
    .cpvp-results-table-container {
        padding: 20px 15px;
    }
    .cpvp-data-table th, .cpvp-data-table td {
        display: block;
        width: 100% !important;
        text-align: left;
    }
    .cpvp-data-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }
    .cpvp-data-table td {
        padding-top: 5px;
        margin-bottom: 10px;
    }
}

@media print {
    .no-print, .cpvp-search-card { display: none !important; }
    .cpvp-results-table-container { border: 2px solid #000; box-shadow: none; margin: 0; padding: 20px; }
    .cpvp-data-table th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    body { background: white !important; }
}

.anim-fade-in { animation: fadeIn 0.4s ease-out; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
