.wshc-verification-portal {
    max-width: 900px;
    margin: 100px auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: center;
}

.portal-header h1 {
    font-size: 36px;
    color: #111;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.portal-header p {
    color: #666;
    font-size: 18px;
    margin-bottom: 60px;
}

.search-engine-container {
    margin-bottom: 60px;
}

.search-input-wrapper {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}

#wshc-serial-search {
    width: 100%;
    padding: 20px 0;
    font-size: 32px;
    border: none;
    border-bottom: 3px solid #eee;
    border-radius: 0;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    background: transparent;
    color: #000;
    font-weight: 600;
}

#wshc-serial-search::placeholder {
    color: #bbb;
    font-weight: 400;
}

#wshc-serial-search:focus {
    border-bottom-color: #007cba;
    transform: translateY(-2px);
}

.search-tip {
    font-size: 14px;
    color: #999;
    margin-top: 25px;
}

.results-display-area {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
}

.initial-placeholder {
    color: #ddd;
}

.initial-placeholder .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
}

/* Result Sheet Styling */
.verification-sheet {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.verification-badge {
    display: flex;
    align-items: center;
    background: #f0fdf4;
    color: #166534;
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 6px solid #22c55e;
}

.verification-badge .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    margin-right: 20px;
}

.badge-text h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.badge-text p {
    margin: 0;
    font-size: 15px;
    opacity: 0.8;
}

.warning-alert {
    background: #fffbeb;
    color: #92400e;
    border-left-color: #f59e0b;
}

.danger-alert {
    background: #fef2f2;
    color: #991b1b;
    border-left-color: #ef4444;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.info-item label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-item span {
    font-size: 18px;
    color: #222;
    font-weight: 700;
}

.full-width {
    grid-column: 1 / span 2;
}

/* Loading Spinner */
.wshc-loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide theme footer elements on the verification page */
body.page-template-default.page-id-verify footer,
body.page-template-default.page-id-verify .site-footer,
body.page-template-default.page-id-verify #colophon,
.wshc-verification-portal ~ footer,
.wshc-verification-portal ~ .site-footer {
    display: none !important;
}
