/* ======= Modern Public Verification Portal Card ======= */
.cpm-verify-box {
    background: #fff;
    max-width: 460px;
    margin: 40px auto 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 36px 0 rgba(17,50,80,.14);
    overflow: hidden;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    border: none;
}
.cpm-verify-header {
    background: linear-gradient(90deg, #03597d 70%, #0e7cab 100%);
    padding: 24px 16px 16px 16px;
    text-align: center;
    color: #fff;
}
.cpm-verify-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 0.1em;
}
.cpm-verify-subtitle {
    font-size: 1.15rem;
    opacity: 0.93;
    font-weight: 400;
    letter-spacing: .1px;
    margin-bottom: 0;
}
.cpm-search-form {
    padding: 22px 20px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: none;
    margin: 0;
}
.cpm-search-label {
    font-size: 1rem;
    margin-bottom: 2px;
    color: #163549;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.cpm-search-input {
    padding: 14px 18px;
    border: 2px solid #d3e4ef;
    border-radius: 8px;
    font-size: 1.14rem;
    font-weight: 400;
    transition: border-color .23s, box-shadow .23s;
    background: #fafdff;
    color: #143142;
    box-shadow: none;
}
.cpm-search-input:focus {
    border-color: #187fbf;
    outline: none;
    box-shadow: 0 2px 12px 0 rgba(16,104,183,0.10);
    background: #fff;
}
.cpm-search-input.cpm-error {
    border-color: #D32F2F !important;
    background: #fff8f8 !important;
    animation: cpm-shake 0.22s linear 1;
}
.cpm-search-input.cpm-success {
    border-color: #13b25e !important;
    background: #f3fff7 !important;
}
@keyframes cpm-shake {
    10%, 90% { transform: translateX(-2px); }
    20%, 80% { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-8px); }
    40%, 60% { transform: translateX(8px); }
}
.cpm-search-button {
    background: linear-gradient(90deg, #03597d 60%, #2296d6 100%);
    color: #fff;
    border: none;
    padding: 14px 0;
    border-radius: 9px;
    font-size: 1.23rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    transition: background .21s, box-shadow .16s;
    box-shadow: 0 2px 6px 0 rgba(4,48,94,.07);
}
.cpm-search-button:hover,
.cpm-search-button:focus {
    background: linear-gradient(90deg, #066da4 60%, #3bb4ea 100%);
    outline: none;
    box-shadow: 0 4px 12px 0 rgba(16,104,183,0.12);
}
.cpm-search-result {
    min-height: 28px;
    padding: 10px 20px 4px 20px;
    font-size: 1.09rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    color: #17649e;
}
.cpm-search-result .cpm-error-message {
    color: #D32F2F;
    font-weight: 600;
}
.cpm-result-icon {
    margin-right: 4px;
    vertical-align: middle;
    font-size: 1.3em;
}
.cpm-hr {
    border: none;
    border-top: 1.5px solid #e0e4e7;
    margin: 18px 0 8px 0;
}
.cpm-verify-help {
    color: #1c3347;
    font-size: 1.02rem;
    padding: 0 20px 12px 20px;
}
.cpm-verify-footer {
    background: #f8fafd;
    border-top: 1.5px solid #e1e5e7;
    padding: 15px 18px 12px 18px;
    text-align: center;
    color: #313a43;
    font-size: 1.01rem;
    border-radius: 0 0 12px 12px;
}
.cpm-verify-footer a { color: #0d5c7c; text-decoration: underline; }
@media (max-width:600px) {
    .cpm-verify-box { max-width:97vw; margin:12px 1vw;}
    .cpm-verify-header { padding:16px 6px 10px 6px;}
    .cpm-search-form, .cpm-verify-help { padding-left: 7px; padding-right: 7px;}
}

/* ======= Admin Styles ======= */
.cpm-admin-form .form-table th {
    min-width: 120px;
}
.cpm-admin-form input[type="text"],
.cpm-admin-form input[type="number"],
.cpm-admin-form select {
    width: 97%;
    padding: 8px 10px;
    border-radius: 3px;
    border: 1.1px solid #b8d1e6;
    margin-bottom: 4px;
    font-size: 1rem;
    background: #fafdff;
    transition: border-color .2s;
}
.cpm-admin-form input[type="text"]:focus,
.cpm-admin-form input[type="number"]:focus,
.cpm-admin-form select:focus {
    border-color: #0073aa;
    background: #f8fcff;
    outline: none;
}
.cpm-admin-wrap table.wp-list-table td,
.cpm-admin-wrap table.wp-list-table th {
    font-size: 15px;
}
.cpm-admin-wrap .tablenav .button.current {
    background: #0073aa;
    color: #fff;
    font-weight: 600;
}
.cpm-admin-wrap .tablenav .button {
    margin-right: 3px;
}
.cpm-admin-wrap table.wp-list-table {
    margin-top: 10px;
    border-radius: 7px;
    overflow: hidden;
    background: #fcfdff;
    box-shadow: 0 1px 7px 0 rgba(4,48,94,.04);
}
.cpm-admin-wrap table.wp-list-table thead th {
    background: #e8f1fa;
    font-weight: 600;
    border-bottom: 2px solid #e1e5e7;
}
.cpm-admin-wrap table.wp-list-table tr:nth-child(even) td {
    background: #f6fbff;
}
.cpm-admin-form input[readonly], .cpm-admin-form input[disabled] {
    background: #f0f2f5;
    color: #8ca1bb;
}
