/* General custom verifier styles */
.cv-verifier-wrapper {
    font-family: 'Poppins', 'Inter', -apple-system, sans-serif;
    color: #1e293b;
    margin: 20px auto;
    max-width: 650px;
}

/* Cards */
.cv-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cv-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cv-search-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}
.cv-search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
}

.cv-title {
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px;
    color: #0f172a;
}
.cv-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

/* Inputs & Form */
.cv-input-group {
    display: flex;
    gap: 12px;
}
.cv-input-group input[type="text"] {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cv-input-group input[type="text"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Buttons */
.cv-btn {
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.cv-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
}
.cv-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
}
.cv-btn-secondary {
    background-color: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    text-decoration: none;
}
.cv-btn-secondary:hover {
    background-color: #e2e8f0;
}
.cv-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
}
.cv-btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
}
.cv-btn-full {
    width: 100%;
}

/* Loaders */
.cv-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: cv-spin 0.8s linear infinite;
    display: inline-block;
}
@keyframes cv-spin {
    to { transform: rotate(360deg); }
}

/* Results Grid */
.cv-result-card {
    border-left: 5px solid #10b981;
    animation: cv-fade-in 0.4s ease-out;
}
@keyframes cv-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.cv-result-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 24px;
}
.cv-result-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.cv-result-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.cv-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 4px;
}
.cv-value {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

/* Badges */
.cv-status-badge {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.cv-badge-active {
    background-color: #d1fae5;
    color: #065f46;
}
.cv-badge-expired {
    background-color: #fee2e2;
    color: #991b1b;
}
.cv-badge-suspended {
    background-color: #fef3c7;
    color: #92400e;
}

/* Modals */
.cv-modal {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
}
.cv-modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: cv-modal-open 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cv-modal-open {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.cv-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
}
.cv-modal-close:hover {
    color: #334155;
}

/* Modal Form Fields */
.cv-form-field {
    margin-bottom: 20px;
    text-align: left;
}
.cv-form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
}
.cv-form-field input[type="text"],
.cv-form-field input[type="email"],
.cv-form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.cv-form-field input:focus,
.cv-form-field textarea:focus {
    border-color: #3b82f6;
}
.cv-form-field label span.required {
    color: #ef4444;
}

/* Actions Row */
.cv-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

/* Alerts */
.cv-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 15px;
    text-align: left;
}
.cv-alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.cv-alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* WP Admin Styling Integration */
.wp-list-table .badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.wp-list-table .badge.active {
    background-color: #d1fae5;
    color: #065f46;
}
.wp-list-table .badge.suspended {
    background-color: #fef3c7;
    color: #92400e;
}
.wp-list-table .badge.pending {
    background-color: #dbeafe;
    color: #1e40af;
}
.wp-list-table .badge.processed {
    background-color: #e2e8f0;
    color: #334155;
}
.wp-list-table .badge.expired {
    background-color: #fee2e2;
    color: #991b1b;
}
