.icp-verification-wrap {
    max-width: 920px;
    margin: 0 auto;
    font-family: inherit;
}

.icp-verification-form {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.icp-verification-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
}

.icp-form-row {
    display: flex;
    gap: 12px;
}

.icp-form-row input {
    flex: 1;
    min-width: 0;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    text-transform: uppercase;
}

.icp-form-row input:focus {
    outline: 2px solid rgba(15, 118, 110, 0.2);
    border-color: #0f766e;
}

.icp-form-row button,
.icp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 22px;
    border: 0;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.icp-form-row button,
.icp-button-primary {
    background: #0f766e;
    color: #ffffff;
}

.icp-form-row button:hover,
.icp-button-primary:hover {
    background: #115e59;
    color: #ffffff;
}

.icp-help {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
}

.icp-result {
    margin-top: 24px;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid;
}

.icp-result-header,
.icp-not-found {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.icp-result-header {
    position: relative;
    padding-right: 90px;
}

.icp-result h3 {
    margin: 0 0 5px;
    font-size: 24px;
}

.icp-result p {
    margin-top: 0;
}

.icp-result-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 25px;
    font-weight: 800;
}

.icp-found {
    background: #f0fdf4;
    border-color: #86efac;
}

.icp-found .icp-result-icon {
    background: #16a34a;
    color: #ffffff;
}

.icp-not-found {
    background: #fff7ed;
    border-color: #fdba74;
}

.icp-not-found .icp-result-icon {
    background: #ea580c;
    color: #ffffff;
}

.icp-status-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 11px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.icp-status-expired {
    background: #fffbeb;
    border-color: #fcd34d;
}

.icp-status-expired .icp-status-badge {
    background: #fef3c7;
    color: #92400e;
}

.icp-status-suspended,
.icp-status-revoked {
    background: #fef2f2;
    border-color: #fca5a5;
}

.icp-status-suspended .icp-status-badge,
.icp-status-revoked .icp-status-badge {
    background: #fee2e2;
    color: #991b1b;
}

.icp-certificate-details {
    margin: 24px 0 0;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    overflow: hidden;
}

.icp-detail-row {
    display: grid;
    grid-template-columns: minmax(160px, 34%) 1fr;
    gap: 20px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.icp-detail-row:last-child {
    border-bottom: 0;
}

.icp-detail-row dt {
    font-weight: 700;
    color: #334155;
}

.icp-detail-row dd {
    margin: 0;
    color: #0f172a;
}

.icp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.icp-button-secondary {
    background: #ffffff;
    color: #0f766e;
    border: 1px solid #0f766e;
}

.icp-button-secondary:hover {
    background: #f0fdfa;
    color: #115e59;
}

.icp-file-message {
    margin: 20px 0 0 !important;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

@media (max-width: 640px) {
    .icp-verification-form,
    .icp-result {
        padding: 20px;
    }

    .icp-form-row,
    .icp-actions {
        flex-direction: column;
    }

    .icp-form-row button,
    .icp-button {
        width: 100%;
    }

    .icp-result-header {
        padding-right: 0;
    }

    .icp-status-badge {
        position: static;
        align-self: flex-start;
        margin-left: auto;
    }

    .icp-detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
